Skip to content

Commit

Permalink
toolchain: Disable Cosma when MPI is unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Apr 11, 2020
1 parent 4c021fa commit da85d78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/toolchain/install_cp2k_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,10 @@ if [ $MPI_MODE = no ] ; then
echo "Not using MPI, so spfft is disabled"
with_spfft="__DONTUSE__"
fi
if [ "$with_cosma" != "__DONTUSE__" ] ; then
echo "Not using MPI, so cosma is disabled"
with_cosma="__DONTUSE__"
fi
else
# if gcc is installed, then mpi needs to be installed too
if [ "$with_gcc" = "__INSTALL__" ] ; then
Expand Down

0 comments on commit da85d78

Please sign in to comment.