We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 865c6e2 commit cc25407Copy full SHA for cc25407
.github/workflows/frontier/test.sh
@@ -5,15 +5,12 @@ ngpus=`echo "$gpus" | tr -d '[:space:]' | wc -c`
5
6
device_opts=""
7
if [ "$job_device" = "gpu" ]; then
8
- n_ranks=$(echo "$gpus" | wc -w) # number of GPUs on node
9
- gpu_ids=$(echo "$gpus" | tr ' ' '\n' | tr '\n' ' ' | sed 's/ $//') # GPU IDs from rocm-smi
10
device_opts+="--gpu"
11
if [ "$job_interface" = "acc" ]; then
12
device_opts+=" acc"
13
elif [ "$job_interface" = "omp" ]; then
14
device_opts+=" mp"
15
fi
16
- device_opts+=" -g $gpu_ids"
17
18
19
0 commit comments