Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.

Commit 07d1579

Browse files
committed
move mpirun example
1 parent 5f6e7bf commit 07d1579

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

doc/getting_started/getting_started.rst

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,27 @@ output is kept in ``results/output.txt`` for comparison. You can compare
564564
your ``output.txt`` with the corresponding one for that experiment to
565565
check that your set-up indeed works. Congratulations!
566566

567+
568+
.. _running_mpi:
569+
570+
Running with MPI
571+
----------------
572+
573+
Run the code with the appropriate MPI “run” or “exec” program
574+
provided with your particular implementation of MPI. Typical MPI
575+
packages such as `Open MPI <https://www.open-mpi.org/>`_ will use something like:
576+
577+
::
578+
579+
% mpirun -np 4 ./mitgcmuv
580+
581+
Sightly more complicated scripts may be needed for many machines
582+
since execution of the code may be controlled by both the MPI library
583+
and a job scheduling and queueing system such as SLURM, PBS, LoadLeveler,
584+
or any of a number of similar tools. See your local cluster documentation
585+
or system administrator for the specific syntax required to run on your computing facility.
586+
587+
567588
Output files
568589
------------
569590

@@ -680,25 +701,6 @@ can thus be browsed and/or plotted using tools such as:
680701
- Matlab, GrADS, IDL and other common post-processing environments provide
681702
built-in NetCDF interfaces.
682703

683-
.. _running_mpi:
684-
685-
Running with MPI
686-
----------------
687-
688-
Run the code with the appropriate MPI “run” or “exec” program
689-
provided with your particular implementation of MPI. Typical MPI
690-
packages such as `Open MPI <https://www.open-mpi.org/>`_ will use something like:
691-
692-
::
693-
694-
% mpirun -np 4 ./mitgcmuv
695-
696-
Sightly more complicated scripts may be needed for many machines
697-
since execution of the code may be controlled by both the MPI library
698-
and a job scheduling and queueing system such as SLURM, PBS, LoadLeveler,
699-
or any of a number of similar tools. See your local cluster documentation
700-
or system administrator for the specific syntax required to run on your computing facility.
701-
702704

703705
.. _chap_modelExamples:
704706

0 commit comments

Comments
 (0)