Compiling Delft3D and mpich2
One of the prerequisites for a package that I want to use, Delft3D, is mpich2 but for everything to work correctly Delft3D and mpich2 both need to be compiled with the same compiler, in this case Intel Fortran Compiler v12.
The instructions in the readme file included with the MPICH2-1.4.1p1 release were followed and completed without error but compiling Delft3D fails, see attached file for mpich installation commands.
The readme file includes instructions on how to disable Fortran support but not on how to specify a particular Fortran compiler to use.
Please indicate how to compile mpich2 using Intel Fortran compiler v12 or suggest a possible source for this information.
Re: Compiling Delft3D and mpich2
This problem of how to compile mpich2 using Intel Fortran compiler v12 was solved via the the very responsive mpich2 mailing list along with the mpich2 installation guide.
The key command turned out to be :
--prefix=/home/hmrc/mpich2-install |& tee c.txt F77=ifort FC=ifort