I've been unable to config openmpi to both ifort or icc or icpc.
mpif90 still uses gfortran, mpicc still uses gcc as compilers
This is what I've done for the installation of openMPI
gunzip -c openmpi-1.4.4.tar.gz | tar xf -
./configure --prefix=/usr/local CC=icc CXX=icpc F77=ifort FC=ifort
make all install
I've added the following to my bashrc
The intel compiler version I am using is the non-commercial version. They can work fine on their own eg (ifort, icc, icpc all work fine)
Please advise on how to config openmpi to intel compilers.