Skip to content

Commit fb50e90

Browse files
committed
Add some more updates to the helper scripts
1 parent a6116f2 commit fb50e90

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

misc/nvidia_uvm/bind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export CUDA_VISIBLE_DEVICES="$local_rank"
1414
export MPICH_OFI_NIC_POLICY=USER
1515
export MPICH_OFI_NIC_MAPPING="0:0; 1:1; 2:2; 3:3"
1616

17-
# Bind to cores ( first core per socket )
17+
# Bind to cores ( all cores per socket )
1818
physcores=(0-71 72-143 144-215 216-287)
1919

2020
#echo hostname: $(hostname), rank: $local_rank, cores: ${physcores[$local_rank]}, GPU: $CUDA_VISIBLE_DEVICES, NIC mapping: $MPICH_OFI_NIC_POLICY

misc/nvidia_uvm/nsys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [[ "$NSYS" -ne 0 && "$rank" -eq 0 ]]; then
1515
--cpu-socket-events=61,71,265,273 \
1616
--cpu-socket-metrics=103,104 \
1717
--event-sampling-interval=10 \
18-
--trace=nvtx,openacc \
18+
--trace=nvtx,cuda,openacc \
1919
--force-overwrite=true \
2020
-e NSYS_MPI_STORE_TEAMS_PER_RANK=1 \
2121
-o "$NSYS_FILE" "$@"

toolchain/templates/santis.mako

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#SBATCH --uenv=icon/25.2:v1@santis
77
#SBATCH --nodes=${nodes}
88
#SBATCH --ntasks-per-node=${tasks_per_node}
9+
#SBATCH --cpus-per-task=72
910
#SBATCH --job-name="${name}"
1011
#SBATCH --output="${name}.out"
1112
#SBATCH --error="${name}.err"

0 commit comments

Comments
 (0)