Skip to content

Commit e843e43

Browse files
committed
Add support for intel and mpich on perlmutter
1 parent 417b97e commit e843e43

File tree

1 file changed

+17
-28
lines changed

1 file changed

+17
-28
lines changed

mache/spack/templates/pm-cpu_intel_mpich.yaml

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{%- set compiler = "[email protected]" %}
1+
{%- set compiler = "intel-oneapi-compilers-classic@2023.2.0" %}
22
{%- set mpi = "[email protected]" %}
33
spack:
44
specs:
@@ -18,7 +18,6 @@ spack:
1818
unify: when_possible
1919
packages:
2020
all:
21-
compiler: [{{ compiler }}]
2221
providers:
2322
mpi: [{{ mpi }}%{{ compiler }}]
2423
@@ -105,7 +104,7 @@ spack:
105104
106105
prefix: /usr
107106
buildable: false
108-
intel:
107+
intel-oneapi-compilers-classic:
109108
externals:
110109
- spec: {{ compiler }}
111110
modules:
@@ -115,6 +114,14 @@ spack:
115114
- craype-accel-host
116115
- craype/2.7.30
117116
- libfabric/1.22.0
117+
extra_attributes:
118+
compilers:
119+
cc: cc
120+
cxx: CC
121+
f77: ftn
122+
fc: ftn
123+
operating_system: sles15
124+
target: x86_64
118125
buildable: false
119126
cray-mpich:
120127
externals:
@@ -132,43 +139,25 @@ spack:
132139
{%- if e3sm_hdf5_netcdf %}
133140
hdf5:
134141
externals:
135-
- spec: [email protected]~cxx+fortran+hl~java+mpi+shared
142+
- spec: [email protected]~cxx+fortran+hl~java+mpi+shared%{{ compiler }}
136143
prefix: /opt/cray/pe/hdf5-parallel/1.12.2.9/intel/2023.2
137144
buildable: false
138145
parallel-netcdf:
139146
externals:
140-
- spec: [email protected]+cxx+fortran+pic+shared
147+
- spec: [email protected]+cxx+fortran+pic+shared%{{ compiler }}
141148
prefix: /opt/cray/pe/parallel-netcdf/1.12.3.9/intel/2023.2
142149
buildable: false
143150
netcdf-c:
144151
externals:
145-
- spec: [email protected]+mpi~parallel-netcdf
152+
- spec: [email protected]+mpi~parallel-netcdf%{{ compiler }}
146153
prefix: /opt/cray/pe/netcdf-hdf5parallel/4.9.0.9/intel/2023.2
147154
buildable: false
148155
netcdf-fortran:
149156
externals:
150-
157+
- spec: [email protected]%{{ compiler }}
151158
prefix: /opt/cray/pe/netcdf-hdf5parallel/4.9.0.9/intel/2023.2
152159
buildable: false
153160
{%- endif %}
154-
compilers:
155-
- compiler:
156-
spec: {{ compiler }}
157-
paths:
158-
cc: cc
159-
cxx: CC
160-
f77: ftn
161-
fc: ftn
162-
flags: {}
163-
operating_system: sles15
164-
target: x86_64
165-
modules:
166-
- PrgEnv-intel/8.5.0
167-
- intel/2023.2.0
168-
- cray-libsci/23.12.5
169-
- craype-accel-host
170-
- craype/2.7.30
171-
- libfabric/1.22.0
172-
environment:
173-
prepend_path:
174-
PKG_CONFIG_PATH: "/opt/cray/xpmem/2.6.2-2.5_2.33__gd067c3f.shasta/lib64/pkgconfig"
161+
env_vars:
162+
prepend_path:
163+
PKG_CONFIG_PATH: "/opt/cray/xpmem/2.6.2-2.5_2.33__gd067c3f.shasta/lib64/pkgconfig"

0 commit comments

Comments
 (0)