I have a Linux X64 machine running Centos 5.11 which has composer_xe_2013_sp1.1.106 installed.
I am attempting to run OpenFOAM on this node using OpenMPI [as on my other configured nodes]. OpenMPI is installed but the Intel compiler configures some path or library item on startup that returns the following at the which mpirun comand:
which mpirun
/opt/intel/composer_xe_2013_sp1.1.106/mpirt/bin/intel64/mpirun
From this forum post https://software.intel.com/en-us/articles/missing-mpivarsh-error
The Intel Compilers bundle the Intel MPI runtimes package in order to support their Co-Array Fortran implementation. You will see the messages above if you have sourced the appropriate compilervars.shto set your compiler environment but have not done so for your Intel MPI libraries. Therefore, the first instance of mpirun found on your system is the one shipped with the Intel compilers (which is not the full package).
I don't have a license for Intel MPI so would really like to make the OpenMPI installation the default.
Some statement in the intel compiler setup is pointing which mpirun to the intel directory which doesn't exist in full form.
Note that mpi-selector --query shows openmpi-1.4-gcc-x86_64 to be the default but there is a problem with the path statement.
Any advice on how to correct this would be appreciated. I would prefer to not uninstall the compiler to get around this.
Britton Ward