Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions testcases/conus_12-km/sub_wrf_pm_testcase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ else
(( c = (64 / (n / SLURM_JOB_NUM_NODES)) * 2 ))
srun -n $n -c $c --cpu-bind=cores --gpus-per-task=1 --gpu-bind=none /global/common/software/m4232/pm/v4.5.2/wrf.exe
# Profile with Nsight Compute:
# srun --ntasks-per-node=1 dcgmi profile --pause
# srun -n $n -c $c --cpu_bind=cores --gpus-per-task=1 --gpu-bind=none ./wrapper-ncu.sh /global/common/software/m4232/pm/v4.5.2/wrf.exe
# srun --ntasks-per-node=1 dcgmi profile --resume
fi

#capture error code
Expand Down
2 changes: 0 additions & 2 deletions testcases/conus_12-km/wrapper-ncu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
output=report.%q{SLURM_PROCID}.%q{SLURM_JOBID}

if [[ ${SLURM_PROCID} == "0" ]] ; then
dcgmi profile --pause
ncu --target-processes all --kernel-id :::1 -o ${output} "$@"
dcgmi profile --resume
else
"$@"
fi