Skip to content

Instantly share code, notes, and snippets.

@jyalim
Last active August 29, 2015 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyalim/be76165250bfe16a26f7 to your computer and use it in GitHub Desktop.
Save jyalim/be76165250bfe16a26f7 to your computer and use it in GitHub Desktop.
Sample OpenMPI Build
# make sure to source intel compilers vars
wget 'http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.4.tar.bz2'
tar xjf openmpi-1.8.4.tar.bz2
./configure CC=/opt/intel/path/to/icc FC=/opt/intel/path/to/ifort CXX=/opt/intel/path/to/icpc --prefix=/opt
make -j $(nproc)
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment