Skip to content

Commit d987bdb

Browse files
authored
Fixes mako file for Hipergator CPUs (#1115)
1 parent 944aa2f commit d987bdb

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

toolchain/templates/hipergator.mako

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,19 @@ echo
4848
% if not mpi:
4949
(set -x; ${profiler} "${target.get_install_binpath(case)}")
5050
% else:
51+
% if gpu_enabled:
5152
(set -x; ${profiler} \
52-
/apps/compilers/nvhpc/25.9/Linux_x86_64/25.9/comm_libs/mpi/bin/mpirun -np ${nodes*tasks_per_node} \
53+
/apps/compilers/nvhpc/25.9/Linux_x86_64/25.9/comm_libs/mpi/bin/mpirun \
54+
-np ${nodes*tasks_per_node} \
5355
--bind-to none \
5456
"${target.get_install_binpath(case)}")
57+
% else:
58+
(set -x; ${profiler} \
59+
mpirun \
60+
-np ${nodes*tasks_per_node} \
61+
--bind-to none \
62+
"${target.get_install_binpath(case)}")
63+
% endif
5564
% endif
5665

5766
${helpers.run_epilogue(target)}

0 commit comments

Comments
 (0)