We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068da2c commit ae690f5Copy full SHA for ae690f5
toolchain/templates/phoenix.mako
@@ -41,10 +41,15 @@ echo
41
% if not mpi:
42
(set -x; ${profiler} "${target.get_install_binpath(case)}")
43
% else:
44
- (set -x; ${profiler} \
45
- mpirun -np ${nodes*tasks_per_node} \
46
- --bind-to none \
47
- "${target.get_install_binpath(case)}")
+ (set -x; srun \
+ % if engine == 'interactive':
+ --nodes ${nodes} --ntasks-per-node ${tasks_per_node} \
+ --cpus-per-task 1 \
48
+ % if gpu:
49
+ --gpus-per-task 1 --gpu-bind closest \
50
+ % endif
51
52
+ ${profiler} "${target.get_install_binpath(case)}")
53
% endif
54
55
${helpers.run_epilogue(target)}
0 commit comments