Project

General

Profile

Actions

Building openMPI with intel compiler

To build openMPI with intel compiler:

export CC=icc
export CXX=icpc
export F77=ifort
export F90=ifort
export FC=ifort
export LIBS="-lirc" 
./configure
make -j 64  # or the number of cores you have

Then to install it, you must do it as super user:

su root   #sudo -s on ubuntu
make install
exit  #leave root session

Once installed you need to tell the linker the library path, to do so:

su root  #sudo -s on ubuntu
echo "/usr/local/lib" > /etc/ld.so.conf.d/iopenmpi.conf
ldconfig  #Tell the linker to update cache
exit  #leave root session

Updated by Alexis Jeandet over 10 years ago · 3 revisions

Also available in: PDF HTML TXT