Dear friends!
Sharing one experience for your using FBoxLib:
When error appears as:
"can't open included file 'mpif.h' " for FBoxLib/Src/BaseLib/parallel.f90
We can edit the file:
$FBOXLIB_HOME/Tools/F_mk/GMakedefs.mk
with lines about mpi,such as:
"mpi_include_dir="
"mpi_lib_dir="
...
to set them for your own mpi environment.
Best wishes!
Note:some mpich's libmpich.a will NOT work and so you have to try to build another mich with different version.