mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Fix minimal regression test (#4093)
This commit is contained in:
parent
9754b872e6
commit
89b733dd1d
3 changed files with 25 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ cd dbcsr-${DBCSR_ver}
|
|||
mkdir build
|
||||
cd build
|
||||
|
||||
if [[ "${PROFILE}" == "toolchain" ]]; then
|
||||
if [[ "${PROFILE}" =~ ^toolchain ]]; then
|
||||
if [[ -f "${TOOLCHAIN_DIR}/install/setup" ]]; then
|
||||
# shellcheck disable=SC1091
|
||||
source "${TOOLCHAIN_DIR}/install/setup"
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ export OMP_STACKSIZE=64m
|
|||
export COSMA_DIM_THRESHOLD=0
|
||||
|
||||
# Load Spack or Toolchain environment.
|
||||
if [[ "${PROFILE}" == "spack" ]]; then
|
||||
if [[ "${PROFILE}" =~ ^spack ]]; then
|
||||
eval "$(spack env activate myenv --sh)"
|
||||
elif [[ "${PROFILE}" == "toolchain" ]]; then
|
||||
elif [[ "${PROFILE}" =~ ^toolchain ]]; then
|
||||
# shellcheck disable=SC1091
|
||||
source /opt/cp2k-toolchain/install/setup
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue