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
Thank you for your suggestions,