We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fe8a26 commit 177f569Copy full SHA for 177f569
1 file changed
prodtests/full-system-test/dpl-workflow.sh
@@ -36,7 +36,15 @@ fi
36
: ${RANS_OPT:="--ans-version 1.0 --ctf-dict none"}
37
38
workflow_has_parameter CTF && export SAVECTF=1
39
-workflow_has_parameter GPU && { export GPUTYPE=HIP; export NGPUS=4; }
+if workflow_has_parameter GPU; then
40
+ if [[ $EPNSYNCMODE == 1 ]]; then
41
+ export GPUTYPE=HIP
42
+ export NGPUS=4
43
+ elif [[ $GPUTYPE == "CPU" ]]; then
44
+ echo "FATAL: WORKFLOW_PARAMETER GPU requested, but GPUTYPE set to CPU" 1>&2
45
+ exit 1
46
+ fi
47
+fi
48
49
# ---------------------------------------------------------------------------------------------------------------------
50
# Process multiplicities
0 commit comments