Skip to content

Commit 9aacfc3

Browse files
committed
Add support for gnu and mpich on perlmutter
1 parent e843e43 commit 9aacfc3

File tree

1 file changed

+13
-28
lines changed

1 file changed

+13
-28
lines changed

mache/spack/templates/pm-cpu_gnu_mpich.yaml

Lines changed: 13 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ spack:
1818
unify: when_possible
1919
packages:
2020
all:
21-
compiler: [{{ compiler }}]
2221
providers:
2322
mpi: [{{ mpi }}%{{ compiler }}]
2423
@@ -117,9 +116,16 @@ spack:
117116
- libfabric/1.22.0
118117
extra_attributes:
119118
compilers:
120-
c: cc
119+
cc: cc
121120
cxx: CC
122-
fortran: ftn
121+
f77: ftn
122+
fc: ftn
123+
flags: {}
124+
target: x86_64
125+
operating_system: sles15
126+
environment:
127+
prepend_path:
128+
PKG_CONFIG_PATH: "/opt/cray/xpmem/2.6.2-2.5_2.33__gd067c3f.shasta/lib64/pkgconfig"
123129
buildable: false
124130
cray-mpich:
125131
externals:
@@ -137,43 +143,22 @@ spack:
137143
{%- if e3sm_hdf5_netcdf %}
138144
hdf5:
139145
externals:
140-
- spec: [email protected]~cxx+fortran+hl~java+mpi+shared
146+
- spec: [email protected]~cxx+fortran+hl~java+mpi+shared%{{ compiler }}
141147
prefix: /opt/cray/pe/hdf5-parallel/1.12.2.9/gnu/12.3
142148
buildable: false
143149
parallel-netcdf:
144150
externals:
145-
- spec: [email protected]+cxx+fortran+pic+shared
151+
- spec: [email protected]+cxx+fortran+pic+shared%{{ compiler }}
146152
prefix: /opt/cray/pe/parallel-netcdf/1.12.3.9/gnu/12.3
147153
buildable: false
148154
netcdf-c:
149155
externals:
150-
- spec: [email protected]+mpi~parallel-netcdf
156+
- spec: [email protected]+mpi~parallel-netcdf%{{ compiler }}
151157
prefix: /opt/cray/pe/netcdf-hdf5parallel/4.9.0.9/gnu/12.3
152158
buildable: false
153159
netcdf-fortran:
154160
externals:
155-
161+
- spec: [email protected]%{{ compiler }}
156162
prefix: /opt/cray/pe/netcdf-hdf5parallel/4.9.0.9/gnu/12.3
157163
buildable: false
158164
{%- endif %}
159-
compilers:
160-
- compiler:
161-
spec: {{ compiler }}
162-
paths:
163-
cc: cc
164-
cxx: CC
165-
f77: ftn
166-
fc: ftn
167-
flags: {}
168-
operating_system: sles15
169-
target: x86_64
170-
modules:
171-
- PrgEnv-gnu/8.5.0
172-
- gcc-native/12.3
173-
- cray-libsci/23.12.5
174-
- craype-accel-host
175-
- craype/2.7.30
176-
- libfabric/1.22.0
177-
environment:
178-
prepend_path:
179-
PKG_CONFIG_PATH: "/opt/cray/xpmem/2.6.2-2.5_2.33__gd067c3f.shasta/lib64/pkgconfig"

0 commit comments

Comments
 (0)