i have download a big ecosystem model (Ecosystem Demography) which must e compiled in linux and it uses MPI and hdf5. i have installed the mpich (on centOS 7) to compile the ED model with Gfortran compiler. but it gives me the famous error
Can't find file: mpif.h
i have looked for the file by "which mpif.h" and it returns nothing so i set the PATH as follow :
PATH=/home/hamid/edpacks/mpich-install/bin:$PATH
export PATH
now which mpif.h returns the path to the file but again when i try to ./install the model it give me the same error. problem is i don't know how to set this path and also path to mpich from inside the model. Do i have to set the path from include file or makefile?