-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig_machines.xml
144 lines (131 loc) · 6.33 KB
/
config_machines.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version="1.0"?>
<config_machines version="2.0">
<!--
===============================================================
COMPILER and COMPILERS
===============================================================
If a machine supports multiple compilers - then
- the settings for COMPILERS should reflect the supported compilers
as a comma separated string
- the setting for COMPILER should be the default compiler
(which is one of the values in COMPILERS)
===============================================================
MPILIB and MPILIBS
===============================================================
If a machine supports only one MPILIB is supported - then
the setting for MPILIB and MPILIBS should be blank ("")
If a machine supports multiple mpi libraries (e.g. mpich and openmpi)
- the settings for MPILIBS should reflect the supported mpi libraries
as a comma separated string
The default settings for COMPILERS and MPILIBS is blank (in config_machines.xml)
Normally variable substitutions are not made until the case scripts are run, however variables
of the form $ENV{VARIABLE_NAME} are substituted in create_newcase from the environment
variable of the same name if it exists.
===============================================================
PROJECT_REQUIRED
===============================================================
A machine may need the PROJECT xml variable to be defined either because it is
used in some paths, or because it is used to give an account number in the job
submission script. If either of these are the case, then PROJECT_REQUIRED
should be set to TRUE for the given machine.
mpirun: the mpirun command that will be used to actually launch the model.
The attributes used to choose the mpirun command are:
mpilib: can either be 'default' the name of an mpi library, or a compiler name so one can choose the mpirun
based on the mpi library in use.
the 'executable' tag must have arguments required for the chosen mpirun, as well as the executable name.
unit_testing: can be 'true' or 'false'.
This allows using a different mpirun command to launch unit tests -->
<machine MACH="fram">
<DESC>Lenovo NeXtScale M5, 32-way nodes, dual 16-core Xeon [email protected], 64 GiB per node, os is Linux, batch system is SLURM</DESC>
<NODENAME_REGEX>$HOSTNAME</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>intel</COMPILERS>
<MPILIBS>impi</MPILIBS>
<CIME_OUTPUT_ROOT>/cluster/work/users/$USER/ctsm</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/cluster/shared/noresm/inputdata</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/cluster/shared/noresm/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>/cluster/work/users/$USER/archive/$CASE</DOUT_S_ROOT>
<!--DOUT_L_MSROOT>UNSET</DOUT_L_MSROOT-->
<BASELINE_ROOT>UNSET</BASELINE_ROOT>
<CCSM_CPRNC>UNSET</CCSM_CPRNC>
<GMAKE_J>8</GMAKE_J>
<BATCH_SYSTEM>slurm</BATCH_SYSTEM>
<SUPPORTED_BY>noresmCommunity</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>32</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>32</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>TRUE</PROJECT_REQUIRED>
<mpirun mpilib="mpi-serial">
<executable></executable>
</mpirun>
<mpirun mpilib="default">
<executable>mpirun</executable>
</mpirun>
<module_system type="module">
<init_path lang="perl">/cluster/software/lmod/lmod/init/perl</init_path>
<init_path lang="python">/cluster/software/lmod/lmod/init/env_modules_python.py</init_path>
<init_path lang="csh">/cluster/software/lmod/lmod/init/csh</init_path>
<init_path lang="sh">/cluster/software/lmod/lmod/init/sh</init_path>
<cmd_path lang="perl">/cluster/software/lmod/lmod/libexec/lmod perl</cmd_path>
<cmd_path lang="python">/cluster/software/lmod/lmod/libexec/lmod python</cmd_path>
<cmd_path lang="sh">module</cmd_path>
<cmd_path lang="csh">module</cmd_path>
<modules>
<command name="purge">--force</command>
<command name="load">StdEnv</command>
<command name="load">iimpi/2019b</command>
<command name="load">netCDF-Fortran/4.5.2-iimpi-2019b</command>
<command name="load">CMake/3.15.3-GCCcore-8.3.0</command>
</modules>
</module_system>
<environment_variables>
<env name="KMP_STACKSIZE">256M</env>
<env name="I_MPI_EXTRA_FILESYSTEM_LIST">lustre</env>
<env name="I_MPI_EXTRA_FILESYSTEM">on</env>
</environment_variables>
<resource_limits>
<resource name="RLIMIT_STACK">-1</resource>
</resource_limits>
</machine>
<machine MACH="saga">
<DESC> Hewlett Packard Enterprise - CentOS Linux release 7.6.1810 (Core) </DESC>
<NODENAME_REGEX>$HOSTNAME</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>intel</COMPILERS>
<MPILIBS>impi</MPILIBS>
<CIME_OUTPUT_ROOT>/cluster/work/users/$USER/ctsm</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/cluster/shared/noresm/inputdata</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/cluster/shared/noresm/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>/cluster/work/users/$USER/archive/$CASE</DOUT_S_ROOT>
<BASELINE_ROOT>UNSET</BASELINE_ROOT>
<CCSM_CPRNC>UNSET</CCSM_CPRNC>
<GMAKE_J>8</GMAKE_J>
<BATCH_SYSTEM>slurm</BATCH_SYSTEM>
<SUPPORTED_BY>noresmCommunity</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>40</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>40</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>TRUE</PROJECT_REQUIRED>
<mpirun mpilib="default">
<executable>mpirun</executable>
</mpirun>
<module_system type="module">
<init_path lang="python">/cluster/installations/lmod/lmod/init/env_modules_python.py</init_path>
<init_path lang="sh">/cluster/installations/lmod/lmod/init/sh</init_path>
<cmd_path lang="python">/cluster/installations/lmod/lmod/libexec/lmod python</cmd_path>
<cmd_path lang="sh">module</cmd_path>
<modules>
<command name="load">StdEnv</command>
<command name="load">CMake/3.15.3-GCCcore-8.3.0</command>
<command name="load">Perl/5.30.0-GCCcore-8.3.0</command>
<command name="load">XML-LibXML/2.0201-GCCcore-8.3.0</command>
<command name="load">iimpi/2019b</command>
<command name="load">netCDF-Fortran/4.5.2-iimpi-2019b</command>
</modules>
</module_system>
<environment_variables>
<env name="KMP_STACKSIZE">256M</env>
</environment_variables>
<resource_limits>
<resource name="RLIMIT_STACK">-1</resource>
</resource_limits>
</machine>
</config_machines>