Actions
Building OpenMPI with intel compiler » History » Revision 2
« Previous |
Revision 2/3
(diff)
| Next »
Alexis Jeandet, 06/11/2013 08:30 PM
BuildingOMPI¶
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 about 11 years ago · 2 revisions