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.
This commit is contained in:
Rémi Lacroix 2020-02-28 21:59:49 +01:00 committed by GitHub
parent 5329308b83
commit 7ecee48c83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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