Skip to content

Commit

Permalink
Add MOAB
Browse files Browse the repository at this point in the history
  • Loading branch information
xylar committed Mar 14, 2024
1 parent 93d767a commit f350fc2
Show file tree
Hide file tree
Showing 3 changed files with 7 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 @@ -449,6 +449,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')
moab = config.get('deploy', 'moab')
petsc = config.get('deploy', 'petsc')
scorpio = config.get('deploy', 'scorpio')
parallelio = config.get('deploy', 'parallelio')
Expand Down Expand Up @@ -479,6 +480,9 @@ def build_spack_env(config, update_spack, machine, compiler, mpi, # noqa: C901
include_e3sm_lapack = False
else:
include_e3sm_lapack = True
if moab != 'None':
specs.append(
f'"moab@{moab}+mpi+hdf5+netcdf+pnetcdf+metis+parmetis+tempest"')
if petsc != 'None':
specs.append(f'"petsc@{petsc}+mpi+batch"')

Expand Down
2 changes: 2 additions & 0 deletions conda/compass_env/spec-file.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ mache=1.20.0
{% endif %}
matplotlib-base
metis
moab >=5.5.1
moab=*={{ mpi_prefix }}_tempest_*
mpas_tools=0.31.0
nco
netcdf4=*=nompi_*
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
moab = 5.5.1
netcdf_c = 4.9.2
netcdf_fortran = 4.6.0
petsc = 3.19.1
Expand Down

0 comments on commit f350fc2

Please sign in to comment.