I m just sharing a solution that works for me
If you are unable to compile using:
#define NC4PAR
#define AGRIF
#define AGRIF_2WAY
change “mpif.h” to ‘mpif.h’ in def_his.F and def_rst.h
It works for me !
(Note that “mpif.h” works if not using AGRIF and AGRIF_2WAY)
V.