Skip to content

Test benchmarking - maybe problem with concurrent mpi jobs + tmps #820

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
2 changes: 2 additions & 0 deletions .github/workflows/phoenix/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ if ["$job_device" == "gpu"]; then
else
./mfc.sh bench --mem 1 -j $(nproc) -o "$job_slug.yaml" -- -c phoenix $device_opts -n $n_ranks
fi

sleep 10
2 changes: 1 addition & 1 deletion src/simulation/m_bubbles.fpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
!>
!! @file m_bubbles.f90
!! @brief Contains module m_bubbles
!! @brief Contains module m_bubbles

#:include 'macros.fpp'

Expand Down
16 changes: 8 additions & 8 deletions toolchain/templates/phoenix.mako
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ echo
% if not mpi:
(set -x; ${profiler} "${target.get_install_binpath(case)}")
% else:
(set -x; srun \
% if engine == 'interactive':
--nodes ${nodes} --ntasks-per-node ${tasks_per_node} \
--cpus-per-task 1 \
% if gpu:
--gpus-per-task 1 --gpu-bind closest \
% endif
(set -x; srun \
% if engine == 'interactive':
--nodes ${nodes} --ntasks-per-node ${tasks_per_node} \
--cpus-per-task 1 \
% if gpu:
--gpus-per-task 1 --gpu-bind closest \
% endif
${profiler} "${target.get_install_binpath(case)}")
% endif
${profiler} "${target.get_install_binpath(case)}")
% endif

${helpers.run_epilogue(target)}
Expand Down
Loading