diff --git a/deploy/bootstrap.py b/deploy/bootstrap.py index e45803cc5..427aed1a6 100755 --- a/deploy/bootstrap.py +++ b/deploy/bootstrap.py @@ -440,9 +440,9 @@ def build_spack_env(config, update_spack, machine, compiler, mpi, # noqa: C901 else: include_e3sm_lapack = True if metis != 'None': - specs.append(f'"metis@{metis}"') + specs.append(f'"metis@{metis}~shared"') if parmetis != 'None': - specs.append(f'"parmetis@{parmetis}"') + specs.append(f'"parmetis@{parmetis}~shared"') if petsc != 'None': specs.append(f'"petsc@{petsc}+mpi+batch"')