can't find mpif.h compiling error? <p>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 </p> <pre><code>Can't find file: mpif.h </code></pre> <p>i have looked for the file by "which mpif.h" and it returns nothing so i set the PATH as follow :</p> <pre><code>PATH=/home/hamid/edpacks/mpich-install/bin:$PATH export PATH </code></pre> <p>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? </p>