We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9f827c commit 137ecb3Copy full SHA for 137ecb3
1 file changed
prodtests/full-system-test/dpl-workflow.sh
@@ -36,7 +36,14 @@ 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; export NGPUS=4;
42
+ elif [[ $GPUTYPE == "CPU" ]]; then
43
+ echo "FATAL: WORKFLOW_PARAMETER GPU requested, but GPUTYPE set to CPU" 1>&2
44
+ exit 1
45
+ fi
46
+fi
47
48
# ---------------------------------------------------------------------------------------------------------------------
49
# Process multiplicities
0 commit comments