We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c0394a commit a6ac2a3Copy full SHA for a6ac2a3
1 file changed
toolchain/templates/tuo.mako
@@ -24,12 +24,12 @@ ${helpers.template_prologue()}
24
ok ":) Loading modules:\n"
25
cd "${MFC_ROOT_DIR}"
26
% if engine == 'batch':
27
-. ./mfc.sh load -c tuo -m ${'g' if gpu else 'c'}
+. ./mfc.sh load -c tuo -m ${'g' if gpu_enabled else 'c'}
28
% endif
29
cd - > /dev/null
30
echo
31
32
-% if gpu:
+% if gpu_enabled:
33
export MPICH_GPU_SUPPORT_ENABLED=1
34
% else:
35
export MPICH_GPU_SUPPORT_ENABLED=0
@@ -46,7 +46,7 @@ export HSA_XNACK=0
46
(set -x; flux run \
47
--nodes=${nodes} --ntasks=${tasks_per_node * nodes} \
48
-o spindle.level=off --exclusive \
49
- % if gpu:
+ % if gpu_enabled:
50
--gpus-per-task 1 \
51
52
${profiler} "${target.get_install_binpath(case)}")
0 commit comments