Skip to content
Snippets Groups Projects
Commit bdc98f4d authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Fix in install openmpi.

parent 1f53ca80
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ source ${SPACK_ENV} ...@@ -29,7 +29,7 @@ source ${SPACK_ENV}
if [ $( spack find icon-nwp@${ICON_VERSION} &> /dev/null ; echo $? ) -ne 0 ]; then if [ $( spack find icon-nwp@${ICON_VERSION} &> /dev/null ; echo $? ) -ne 0 ]; then
echo "Installing icon-nwp@${ICON_VERSION}." echo "Installing icon-nwp@${ICON_VERSION}."
# Compile openmpi with schedulers=slurm # Compile openmpi with schedulers=slurm
spack install openmpi${SPACK_COMPILER}+legacylaunchers schedulers=slurm spack install openmpi%${SPACK_COMPILER}+legacylaunchers schedulers=slurm
spack install icon-nwp@${ICON_VERSION}%${SPACK_COMPILER} ^openmpi%${SPACK_COMPILER} spack install icon-nwp@${ICON_VERSION}%${SPACK_COMPILER} ^openmpi%${SPACK_COMPILER}
else else
echo "icon-nwp@${ICON_VERSION} already installed!" echo "icon-nwp@${ICON_VERSION} already installed!"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment