Skip to content
Snippets Groups Projects
Commit 7b693387 authored by Moe Jette's avatar Moe Jette
Browse files

Clarify use of mpirun -nolocal option

parent a33c5e59
No related branches found
No related tags found
No related merge requests found
...@@ -194,10 +194,12 @@ provided below.</p> ...@@ -194,10 +194,12 @@ provided below.</p>
<p> <a href="http://www.open-mpi.org/"><b>Open MPI</b></a> relies upon <p> <a href="http://www.open-mpi.org/"><b>Open MPI</b></a> relies upon
SLURM to allocate resources for the job and then mpirun to initiate the SLURM to allocate resources for the job and then mpirun to initiate the
tasks. For example: tasks. When using <span class="commandline">salloc</span> command,
<span class="commandline">mpirun</span>'s -nolocal option is recommended.
For example:
<pre> <pre>
$ salloc -n4 # allocates four processors and spawns shell for job $ salloc -n4 # allocates four processors and spawns shell for job
&gt; mpirun -np 4 a.out &gt; mpirun -np 4 -nolocal a.out
&gt; exit # exits shell spawned by initial salloc command &gt; exit # exits shell spawned by initial salloc command
</pre> </pre>
<p>Note that any direct use of <span class="commandline">srun</span> <p>Note that any direct use of <span class="commandline">srun</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment