Skip to content

Commit 979c71f

Browse files
committed
Add note on need to set MPI_TYPE_DEPTH for LILAC
1 parent fbfa05f commit 979c71f

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

doc/source/lilac/obtaining-building-and-running/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99

1010
obtaining-and-building-ctsm.rst
1111
setting-ctsm-runtime-options.rst
12+
notes-on-running-ctsm.rst
1213
restarting.rst
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. highlight:: shell
2+
3+
.. _notes-on-running-ctsm:
4+
5+
=======================
6+
Notes on running CTSM
7+
=======================
8+
9+
.. _runtime-environment-variables:
10+
11+
Environment variables that may need to be set at runtime
12+
========================================================
13+
14+
With the MPT MPI library (which is the default MPI library on NCAR's cheyenne machine), it is important to set the environment variable ``MPI_TYPE_DEPTH`` to 16 when running CTSM (this setting is required by the Parallel IO library). Typically you should set this variable in your job submission script, using either:
15+
16+
.. code-block:: Bash
17+
18+
export MPI_TYPE_DEPTH=16
19+
20+
or:
21+
22+
.. code-block:: Tcsh
23+
24+
setenv MPI_TYPE_DEPTH 16
25+
26+
prior to running the model.

doc/source/lilac/specific-atm-models/wrf.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,11 @@ A simple PBS script to run WRF-CTSM on ``Cheyenne`` looks like this:
390390
#PBS -l select=2:ncpus=36:mpiprocs=36
391391
392392
### Run the executable
393+
setenv MPI_TYPE_DEPTH 16
393394
mpiexec_mpt ./wrf.exe
394395
396+
(See :numref:`runtime-environment-variables` for a description of the need to set ``MPI_TYPE_DEPTH`` on ``Cheyenne``.)
397+
395398
To submit a batch job to the ``Cheyenne`` queues, use ``qsub`` command followed
396399
by the PBS script name.
397400
For example, if you named this script ``run_wrf_ctsm.csh``, submit the job like this::

0 commit comments

Comments
 (0)