Skip to content

Commit

Permalink
Update 064-parallel.md (#111)
Browse files Browse the repository at this point in the history
fixed other multi-MPI srun command so it prints unique number for each task
  • Loading branch information
Johnryder23 authored Jul 11, 2024
1 parent aaf7a54 commit 2459144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _episodes/064-parallel.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Using a combination of Shared and Distributed memory is called _Hybrid Parallel_
> #SBATCH --ntasks 2
> #SBATCH --cpus-per-task 4
>
> srun echo "I am task #${SLURM_PROCID} running on node '$(hostname)' with $(nproc) CPUs"
> srun bash -c 'echo I am task \#${SLURM_PROCID} running on node '$(hostname)' with $(nproc) CPUs'
> ```
> {: .language-bash}
>
Expand Down

0 comments on commit 2459144

Please sign in to comment.