Search This Blog

Tuesday, May 6, 2014

Compiliing openmpi using Intel compiler


# Download the source code from  http://www.open-mpi.org/software/

# configuring 
./configure --prefix=/opt/openmpi-1.8.1-Intel CC=icc CXX=icpc F77=ifort FC=ifort

# parallel make using 4 cores
 make -j 4 all

# installation with sudo permission
 sudo bash
 make install

# "sudo make install" does not work due to environment settings.

Other source: https://software.intel.com/en-us/articles/performance-tools-for-software-developers-building-open-mpi-with-the-intel-compilers

No comments:

Labels