mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 14:15:19 -04:00
Fix Spack-test failure (#4878)
This commit is contained in:
parent
ed9ef77eae
commit
10ea07553d
1 changed files with 3 additions and 1 deletions
|
|
@ -1227,9 +1227,11 @@ ln -sf cp2k."${VERSION}" cp2k."${VERSION/smp/opt}"
|
|||
ln -sf cp2k."${VERSION}" cp2k_shell
|
||||
cd "${CP2K_ROOT}" || ${EXIT_CMD} 1
|
||||
|
||||
# Allow to run as root within a container with OpenMPI
|
||||
# Allow to run as root with OpenMPI
|
||||
if [[ "${MPI_MODE}" == "openmpi" ]]; then
|
||||
OMPI_VARS="export OMPI_ALLOW_RUN_AS_ROOT=1 OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 OMPI_MCA_plm_rsh_agent=/bin/false"
|
||||
else
|
||||
OMPI_VARS=""
|
||||
fi
|
||||
export OMPI_VARS
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue