mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Docker: Re-enable --keepalive and --flagslow
This commit is contained in:
parent
8455e73121
commit
ca6acaeee7
1 changed files with 10 additions and 0 deletions
|
|
@ -33,6 +33,16 @@ export OMPI_MCA_plm_rsh_agent=/bin/false
|
|||
export OMPI_ALLOW_RUN_AS_ROOT=1
|
||||
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
|
||||
|
||||
# Use keepalive mode for GPU tests.
|
||||
if [[ "${PROFILE}" == *cuda* ]] || [[ "${PROFILE}" == *hip* ]]; then
|
||||
TESTOPTS="--keepalive ${TESTOPTS}"
|
||||
fi
|
||||
|
||||
# Flag slow tests in debug runs.
|
||||
if [[ "${PROFILE}" == "toolchain" ]] && [[ "${VERSION}" == *dbg* ]]; then
|
||||
TESTOPTS="--flagslow ${TESTOPTS}"
|
||||
fi
|
||||
|
||||
# Load Spack or Toolchain environment.
|
||||
if [[ "${PROFILE}" =~ ^spack ]]; then
|
||||
eval "$(spack env activate myenv --sh)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue