Skip to content

Commit c94c63f

Browse files
committed
Deploying to gh-pages from @ ea39c45 🚀
1 parent 1a0eb14 commit c94c63f

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

Diff for: software_install/index.html

+15-2
Original file line numberDiff line numberDiff line change
@@ -373,11 +373,24 @@ <h3 id=julia_mpi_gpu_on_piz_daint ><a href="#julia_mpi_gpu_on_piz_daint" class=h
373373

374374
</ol>
375375
<pre><code class="sh hljs">srun -n4 julia --project &lt;my_mpi_script.jl&gt;</code></pre>
376+
<p>If you do not want to use an interactive session you can use the <code>sbatch</code> command to launch an MPI job remotely on daint. Example of a <code>sbatch_mpi_daint.sh</code> you can launch &#40;without need of an allocation&#41; as <a href="https://github.com/eth-vaw-glaciology/course-101-0250-00/blob/main/scripts/l8_scripts/l8_sbatch_mpi_daint.sh"><code>sbatch sbatch_mpi_daint.sh</code></a>:</p>
377+
<pre><code class="sh hljs"><span class=hljs-meta >#!/bin/bash -l</span>
378+
<span class=hljs-comment >#SBATCH --job-name=&quot;diff2D&quot;</span>
379+
<span class=hljs-comment >#SBATCH --output=diff2D.%j.o</span>
380+
<span class=hljs-comment >#SBATCH --error=diff2D.%j.e</span>
381+
<span class=hljs-comment >#SBATCH --time=00:05:00</span>
382+
<span class=hljs-comment >#SBATCH --nodes=4</span>
383+
<span class=hljs-comment >#SBATCH --ntasks-per-node=1</span>
384+
<span class=hljs-comment >#SBATCH --partition=normal</span>
385+
<span class=hljs-comment >#SBATCH --constraint=gpu</span>
386+
<span class=hljs-comment >#SBATCH --account class04</span>
387+
388+
srun -n4 bash -c <span class=hljs-string >&#x27;julia --project &lt;my_julia_mpi_gpu_script.jl&gt;&#x27;</span></code></pre>
389+
<div class=note ><div class=title >💡 Note</div>
390+
<div class=messg >The scripts above can be found in the <a href="https://github.com/eth-vaw-glaciology/course-101-0250-00/blob/main/scripts/l8_scripts/">scripts</a> folder.</div></div>
376391
<h4 id=cuda-aware_mpi_on_piz_daint ><a href="#cuda-aware_mpi_on_piz_daint" class=header-anchor >CUDA-aware MPI on Piz Daint</a></h4>
377392
<div class=warning ><div class=title >⚠️ Warning&#33;</div>
378393
<div class=messg >There is currently an issue on the Daint software stack with CuDA-aware MPI. For now, make sure <strong>not to run</strong> with CUDA-aware MPI, i.e., having both <code>MPICH_RDMA_ENABLED_CUDA</code> and <code>IGG_CUDAAWARE_MPI</code> set to 0.</div></div>
379-
<div class=note ><div class=title >💡 Note</div>
380-
<div class=messg >The scripts above can be found in the <a href="https://github.com/eth-vaw-glaciology/course-101-0250-00/blob/main/scripts/l8_scripts/">scripts</a> folder.</div></div>
381394
<div class=page-foot >
382395
<div class=copyright >
383396
<a href="https://github.com/eth-vaw-glaciology/course-101-0250-00/"><b>Edit this page on <img class=github-logo src="https://unpkg.com/ionicons@5.1.2/dist/svg/logo-github.svg"></b></a><br>

0 commit comments

Comments
 (0)