Skip to content

Commit

Permalink
Merge pull request #167 from aws-samples/fix-nccl-test
Browse files Browse the repository at this point in the history
Fix printing out of the hostname to instance id mapping
  • Loading branch information
KeitaW authored Feb 28, 2024
2 parents 0c90a79 + 66a016e commit ec40344
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
set -ex

# Get Hostname to Instance ID mapping
mpirun -N 1 bash -c 'echo $(hostname) -> $(cat /sys/devices/virtual/dmi/id/board_asset_tag | tr -d " ")'
mpirun -N 1 bash -c 'echo $(hostname) ➡️ $(cat /sys/devices/virtual/dmi/id/board_asset_tag | tr -d " ")'

# run all_reduce test
mpirun -n $((8 * SLURM_JOB_NUM_NODES)) -N 8 \
Expand Down

0 comments on commit ec40344

Please sign in to comment.