Skip to content

Commit fc14c83

Browse files
authored
Merge pull request #238 from ekluzek/derecho_gnu_mpiserial
Some changes for mpi-serial with the gnu compiler on Derecho
2 parents 5993ef4 + dd74383 commit fc14c83

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

machines/derecho/config_machines.xml

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<command name="load">craype</command>
4747
<command name="load">cmake</command>
4848
</modules>
49+
<!-- gnu is for a slightly older NCAR environment and compiler -->
4950
<modules compiler="gnu">
5051
<command name="load">cesmdev/1.0</command>
5152
<command name="load">ncarenv/23.09</command>
@@ -66,7 +67,7 @@
6667
</modules>
6768
<modules compiler="gnu">
6869
<command name="load">gcc/12.2.0</command>
69-
<command name="load">cray-libsci/23.09.1.1</command>
70+
<command name="load">cray-libsci/23.02.1.1</command>
7071
</modules>
7172
<modules compiler="nvhpc">
7273
<command name="load">nvhpc/25.1</command>
@@ -89,11 +90,19 @@
8990
<command name="load">cuda/12.2.1</command>
9091
</modules>
9192

92-
<modules mpilib="mpi-serial">
93-
<command name="load">mpi-serial/2.5.0</command>
93+
<!-- NetCDF, mpi-serial if NOT full MPI and pnetcdf libraries -->
94+
95+
<!-- libraries with mpi-serial MPI library and NON gnu and then gnu compiler -->
96+
<modules mpilib="mpi-serial" compiler="!gnu">
9497
<command name="load">netcdf/4.9.3</command>
98+
<command name="load">mpi-serial/2.5.0</command>
99+
</modules>
100+
<modules mpilib="mpi-serial" compiler="gnu">
101+
<command name="load">netcdf/4.9.2</command>
102+
<command name="load">mpi-serial/2.3.0</command>
95103
</modules>
96104

105+
<!-- libraries with full MPI library and NON gnu and then gnu compiler -->
97106
<modules mpilib="!mpi-serial" compiler="!gnu">
98107
<command name="load">netcdf-mpi/4.9.3</command>
99108
<command name="load">parallel-netcdf/1.14.0</command>
@@ -103,28 +112,33 @@
103112
<command name="load">parallel-netcdf/1.12.3</command>
104113
</modules>
105114

106-
<modules compiler="!gnu">
107-
<command name="load">parallelio/2.6.6</command>
108-
<command name="load">esmf/8.8.1</command>
115+
<!-- PIO and ESMF libraries -->
116+
117+
<!-- DEBUG for mpi-serial with GNU compiler requires the omission of -debug from PIO and ESMF -->
118+
<!-- this is likely a problem with the build for these libraries as they seem to have been built with a full mpi library -->
119+
<modules DEBUG="TRUE" mpilib="mpi-serial" compiler="gnu">
120+
<command name="load">parallelio/2.6.2</command>
121+
<command name="load">esmf/8.6.0</command>
109122
</modules>
110-
<modules DEBUG="TRUE" compiler="gnu">
111-
<command name="load">parallelio/2.6.2-debug</command>
112-
<command name="load">esmf/8.6.0-debug</command>
123+
<modules DEBUG="TRUE" mpilib="!mpi-serial" compiler="gnu">
124+
<command name="load">esmf/8.6.0-debug</command>
125+
<command name="load">parallelio/2.6.2-debug</command>
113126
</modules>
114127
<modules DEBUG="FALSE" compiler="gnu">
115128
<command name="load">parallelio/2.6.2</command>
116129
<command name="load">esmf/8.6.0</command>
117130
</modules>
118131

119-
<modules DEBUG="TRUE" mpilib="mpi-serial" compiler="!gnu">
120-
<command name="load">parallelio/2.6.6-debug</command>
121-
<command name="load">esmf/8.8.1-debug</command>
132+
<!-- DEBUG FALSE and then true: with any MPI and NOT gnu compiler -->
133+
<modules DEBUG="FALSE" compiler="!gnu">
134+
<command name="load">parallelio/2.6.6</command>
135+
<command name="load">esmf/8.8.1</command>
122136
</modules>
123-
124-
<modules DEBUG="TRUE" mpilib="!mpi-serial" compiler="!gnu">
137+
<modules DEBUG="TRUE" compiler="!gnu">
125138
<command name="load">parallelio/2.6.6-debug</command>
126139
<command name="load">esmf/8.8.1-debug</command>
127140
</modules>
141+
128142
</module_system>
129143

130144
<environment_variables>

0 commit comments

Comments
 (0)