Skip to content

Commit

Permalink
Add metis, explicitly built with 64-bit int and real
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Apr 4, 2024
1 parent fec3f8e commit 175de67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conda/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ def build_spack_env(config, update_spack, machine, compiler, mpi, # noqa: C901
cmake = config.get('deploy', 'cmake')
esmf = config.get('deploy', 'esmf')
lapack = config.get('deploy', 'lapack')
metis = config.get('deploy', 'metis')
moab = config.get('deploy', 'moab')
petsc = config.get('deploy', 'petsc')
scorpio = config.get('deploy', 'scorpio')
Expand Down Expand Up @@ -501,6 +502,9 @@ def build_spack_env(config, update_spack, machine, compiler, mpi, # noqa: C901
include_e3sm_lapack = False
else:
include_e3sm_lapack = True
if metis != 'None':
specs.append(
f'"metis@{metis}+int64+real64"')
if moab != 'None':
specs.append(
f'"moab@{moab}+mpi+hdf5+netcdf+pnetcdf+metis+parmetis+tempest"')
Expand Down
1 change: 1 addition & 0 deletions conda/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cmake = 3.23.0:
esmf = 8.6.0
hdf5 = 1.14.3
lapack = 3.9.1
metis = 5.1.0
moab = 5.5.1
netcdf_c = 4.9.2
netcdf_fortran = 4.6.0
Expand Down

0 comments on commit 175de67

Please sign in to comment.