diff options
author | RĂ©mi Lacroix <remi.lacroix@idris.fr> | 2020-02-28 21:59:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-28 14:59:49 -0600 |
commit | 7ecee48c83a90cb171622f63e2b93ef82ec6fc49 (patch) | |
tree | bb5307dce65ea6834723cc8f695ca7ca5577fb87 | |
parent | 5329308b834ce2cf62a4e09d6f8c7a003bc388a1 (diff) | |
download | spack-7ecee48c83a90cb171622f63e2b93ef82ec6fc49.tar.gz spack-7ecee48c83a90cb171622f63e2b93ef82ec6fc49.tar.bz2 spack-7ecee48c83a90cb171622f63e2b93ef82ec6fc49.tar.xz spack-7ecee48c83a90cb171622f63e2b93ef82ec6fc49.zip |
OpenMPI nolegacylaunchers: avoid a fork bomb (#15268)
Due to the use of backquotes, the replacement script for mpirun/mpiexec commands would recursively call itself, effectively causing a fork bomb.
-rwxr-xr-x | var/spack/repos/builtin/packages/openmpi/nolegacylaunchers.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/nolegacylaunchers.sh b/var/spack/repos/builtin/packages/openmpi/nolegacylaunchers.sh index b6defd69f0..61ee50c53d 100755 --- a/var/spack/repos/builtin/packages/openmpi/nolegacylaunchers.sh +++ b/var/spack/repos/builtin/packages/openmpi/nolegacylaunchers.sh @@ -3,7 +3,7 @@ echo "This version of Spack (openmpi ~legacylaunchers schedulers=slurm) " echo "is installed without the mpiexec/mpirun commands to prevent " echo "unintended performance issues. See https://github.com/spack/spack/pull/10340 " echo "for more details." -echo "If you understand the potential consequences of a misconfigured `mpirun`, you can" -echo "use spack to install `openmpi+legacylaunchers` to restore the executables." -echo "Otherwise, use `srun` to launch your MPI executables." +echo "If you understand the potential consequences of a misconfigured mpirun, you can" +echo "use spack to install 'openmpi+legacylaunchers' to restore the executables." +echo "Otherwise, use srun to launch your MPI executables." exit 2 |