Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

MPI Linking - clean procedure ?

jgoicoch
Beginner
609 Views
Hi, I would like you to suggest a normal and easy procedure to compile the MPICH-1.2.4/5 interface using the Intel's Fortran compiler under linux.

In my case the Fortran compiler was installed after the MPI implementation was.

Please I appreciate if you could explained it using just the ifort command, including the library linking.

However, I understand that the mpif90 command could be used instead. But I think it has to be reconfigured. If you know how to do it using the mpif90 command please be my guest.

Thanks in advance,
Javier.
0 Kudos
1 Reply
ctierney42
Beginner
609 Views
You can specify an alternate compiler with environment
variables. Set your compiler name with MPICH_CC, MPICH_FC,
or MPICH_F90. See the MPICH docs for more information. This
will not solve problems with Fortran 90 codes that use modules
or the mpi module interface.

By the way, rebuilding mpich isn't that hard. See my
response to your last linking problem with modules in
Fortran 90 and mpich.

Craig
0 Kudos
Reply