Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7 release: --mpi_command documentation and scm_qsub_example.py fix #512

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion scm/doc/TechGuide/chap_quick.rst
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,12 @@ If using the main branch, you should run the above command to ensure you have th
- Use this to specify the timestep to use (if different than the
default specified in ``../src/suite_info.py``).

- ``--mpi_command``

- Provide argument to define the MPI command that will be invoked.
Default MPI command is ``mpirun -np 1``.
(Note: to run on a Derecho login node the empty argument ``--mpi_command ''`` is required.)

- ``--verbose [-v]``

- Use this option to see additional debugging output from the run
Expand Down Expand Up @@ -876,7 +882,7 @@ Running the Docker image

#. To run the SCM, you can run the Docker container that was just
created and give it the same run commands as discussed in :numref:`Section %s <singlerunscript>`
**Be sure to remember to include the ``-d`` and ``--mpi_command "mpirun -np 1 --allow-run-as-root"``
**Be sure to remember to include the ``-d`` and ``--mpi_command "mpirun -np 1 --allow-run-as-root"``
options for all run commands**. For example,

.. code:: bash
Expand Down
2 changes: 1 addition & 1 deletion scm/etc/scm_qsub_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
WALLTIME = "walltime=00:20:00"
PROCESSORS = "select=1:ncpus=1"
QUEUE = "develop"
COMMAND = "./run_scm.py -c twpice"
COMMAND = "cd $PBS_O_WORKDIR; ./run_scm.py -c twpice"
EMAIL_ADDR = MY_EMAIL
SERIAL_MEM = "512M"
WORKING_DIR = os.path.dirname(os.path.abspath(__file__))
Expand Down
Loading