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

mpi fortran compiler

hmiz
Beginner
622 Views
does anyone know where i could get a mpi fortran compiler for linux?

thanx
0 Kudos
3 Replies
TimP
Honored Contributor III
622 Views
All compilers support mpi. Few compilers for linux are tied to any particular mpi. If you don't like the mpi which comes with your favorite linux, or it doesn't support the hardware of your choice, install another.
0 Kudos
TimP
Honored Contributor III
622 Views
As mpi for linux comes pre-configured for g77, you must configure for the compiler of your choice. lam (perhaps a very old version?) comes with most linux distros. You could easily install the source, and rebuild it. Typical configure invocation:
source /opt/intel/compiler70/ia32/bin/ifcvars.sh
./configure --prefix=/usr --with-f77=ifc --with-f90=ifc --with-cxx=g++

lam Makefile is broken for parallel build, so don't use make -j.

You will have no cross build compatibility between g77 and ifc, and no cross compatibility between ancient versions of g++ and icc. In my experience, applications built with Intel Fortran, and properly configure lam, can run on lam built for g77.
0 Kudos
damienhocking
New Contributor I
622 Views
The compilers you get with any Linux distro will build either LAM or mpich MPI for you (gcc, f77 and friends). Get the latest MPI versions from their websites. The instructions they provide are pretty clear. You don't have to have f90 or f95 capabilities (blasphemy!) to build them and test them. If you do install a f90/95 compiler later, you will have to rebuild though, because the configuration pass skips things you don't have.

Damien
0 Kudos
Reply