Skip to content

Commit 0303b90

Browse files
committed
Fix unsupported and Albany-supported configs
1 parent c6ba59c commit 0303b90

3 files changed

Lines changed: 31 additions & 2 deletions

File tree

deploy/albany_supported.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# a list of supported machine, compiler and mpi combinations for Albany
2+
3+
chicoma-cpu, gnu, mpich
4+
chrysalis, gnu, openmpi
5+
pm-cpu, gnu, mpich
6+
pm-gpu, gnugpu, mpich

deploy/hooks.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def _check_unsupported(
111111
if machine is None or not toolchain_pairs:
112112
return
113113

114-
unsupported = _read_triplets(Path('conda') / 'unsupported.txt', machine)
114+
unsupported = _read_triplets(Path('deploy') / 'unsupported.txt', machine)
115115
for compiler, mpi in toolchain_pairs:
116116
if (compiler, mpi) in unsupported:
117117
raise ValueError(
@@ -127,7 +127,9 @@ def _check_albany_support(
127127
if not toolchain_pairs:
128128
raise ValueError('Albany deployment requires a compiler and MPI pair')
129129

130-
supported = _read_triplets(Path('conda') / 'albany_supported.txt', machine)
130+
supported = _read_triplets(
131+
Path('deploy') / 'albany_supported.txt', machine
132+
)
131133
for compiler, mpi in toolchain_pairs:
132134
if (compiler, mpi) not in supported:
133135
raise ValueError(

deploy/unsupported.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# a list of unsupported machine, compiler and mpi combinations
2+
3+
# no spack available
4+
chicoma-cpu, nvidia, mpich
5+
chicoma-cpu, aocc, mpich
6+
chicoma-cpu, amdclang, mpich
7+
chrysalis, gnu, impi
8+
chrysalis, oneapi-ifx, openmpi
9+
chrysalis, oneapi-ifx, impi
10+
compy, intel, mvapich2
11+
compy, gnu, openmpi
12+
compy, pgi, impi
13+
compy, pgi, mvapich2
14+
pm-cpu, nvidia, mpich
15+
pm-cpu, aocc, mpich
16+
pm-cpu, amdclang, mpich
17+
pm-gpu, gnu, mpich
18+
pm-gpu, nvidia, mpich
19+
20+
# can't build ESMF
21+
chrysalis, intel, impi

0 commit comments

Comments
 (0)