Hi Micah

Is  ifort in your PATH?
If not, the OpenMPI configure script will use any fortran compiler it finds 
first, which may be gfortran.
You need to run the Intel compiler startup script before you run the OpenMPI 
configure.
The easy thing to do is to source the Intel script inside your .profile/.bashrc 
or .[t]cshrc file.
I hope this helps,

Gus Correa

On Dec 14, 2011, at 9:49 AM, Micah Sklut wrote:

> Hi All, 
> 
> I have installed openmpi for gfortran, but am now attempting to install 
> openmpi as ifort. 
> 
> I have run the following configuration: 
> ./configure --prefix=/opt/openmpi/intel CC=gcc CXX=g++ F77=ifort FC=ifort
> 
> The install works successfully, but when I run /opt/openmpi/intel/bin/mpif90, 
> it runs as gfortran. 
> Oddly, when I am user: root, the same mpif90 runs as ifort. 
> 
> Can someone please alleviate my confusion as to why I mpif90 is not running 
> as ifort? 
> 
> Thank you for your suggestions, 
> 
> -- 
> Micah
> 
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


Reply via email to