Commit 00a087d1 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Recompile OpenMPI 1.10.7 with --enable-mpi-thread-multiple

parent 0722865b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ install_lib()
    mkdir $BUILD_DIR
    cd $BUILD_DIR
    ${SRC_DIR}/configure \
    --enable-mpi-thread-multiple \
    --prefix=${INSTALL_DIR}
  fi
  
@@ -61,6 +62,15 @@ install_module()
if [[ $1 == "module" ]]
then
  install_module
elif [[ $1 == "clean" ]]
then
  if [[ -d $BUILD_DIR ]]
  then
    rm -rf $BUILD_DIR
  else
    echo "$BUILD_DIR does not exist"
    exit 1
  fi
else
  install_lib
  install_module