Skip to content

Commit edf1402

Browse files
committed
Add support for intel and mpich on perlmutter
1 parent 584aee8 commit edf1402

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

mache/spack/templates/pm-cpu_intel_mpich.yaml

Lines changed: 13 additions & 24 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.20.1
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:
@@ -151,24 +158,6 @@ spack:
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.20.1
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)