Skip to content

Commit

Permalink
Deployed 5151ced with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
Unknown committed Oct 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 57270f8 commit 6c9cfd6
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
20 changes: 10 additions & 10 deletions user-guide/gpu/index.html
Original file line number Diff line number Diff line change
@@ -4082,9 +4082,6 @@ <h3 id="multiple-gpu-on-a-single-node-exclusive-node-access-max-4-gpu">Multiple
#SBATCH --partition=gpu
#SBATCH --qos=gpu-exc

# Enable GPU-aware MPI
export MPICH_GPU_SUPPORT_ENABLED=1

# Check assigned GPU
srun --ntasks=1 rocm-smi

@@ -4094,6 +4091,9 @@ <h3 id="multiple-gpu-on-a-single-node-exclusive-node-access-max-4-gpu">Multiple
--hint=nomultithread --distribution=block:block \
xthi

# Enable GPU-aware MPI
export MPICH_GPU_SUPPORT_ENABLED=1

srun --ntasks=4 --cpus-per-task=8 \
--hint=nomultithread --distribution=block:block \
./my_gpu_program.x
@@ -4123,31 +4123,31 @@ <h3 id="multiple-gpu-on-multiple-nodes-exclusive-node-access-max-8-gpu">Multiple
#SBATCH --partition=gpu
#SBATCH --qos=gpu-exc

# Enable GPU-aware MPI
export MPICH_GPU_SUPPORT_ENABLED=1

# Check assigned GPU
nodelist=$(scontrol show hostname $SLURM_JOB_NODELIST)
for nodeid in $nodelist
do
echo $nodeid
srun --ntasks=1 --nodelist=$nodeid rocm-smi
srun --ntasks=1 --gpus=4 --nodes=1 --ntasks-per-node=1 --nodelist=$nodeid rocm-smi
done

# Check process/thread pinning
module load xthi
srun --ntasks=8 --cpus-per-task=8 \
srun --ntasks-per-node=4 --cpus-per-task=8 \
--hint=nomultithread --distribution=block:block \
xthi

srun --ntasks=8 --cpus-per-task=8 \
# Enable GPU-aware MPI
export MPICH_GPU_SUPPORT_ENABLED=1

srun --ntasks-per-node=4 --cpus-per-task=8 \
--hint=nomultithread --distribution=block:block \
./my_gpu_program.x
</code></pre></div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>When you use the <code>--qos=gpu-exc</code> QoS you must also add the <code>--exclusive</code> flag
and then specify the number of nodes you want with <code>--nodes=1</code>.</p>
and then specify the number of nodes you want with, for example, <code>--nodes=2</code>.</p>
</div>
<h3 id="interactive-jobs">Interactive jobs</h3>
<h4 id="using-salloc">Using <code>salloc</code></h4>

0 comments on commit 6c9cfd6

Please sign in to comment.