diff --git a/conda/bootstrap.py b/conda/bootstrap.py index f746194ac..efde077fc 100755 --- a/conda/bootstrap.py +++ b/conda/bootstrap.py @@ -540,11 +540,13 @@ def build_spack_env(config, update_spack, machine, compiler, mpi, # noqa: C901 if albany != 'None': if with_cuda: - cuda = '+cuda+uvm' + albany_cuda = '+cuda+uvm+sfad sfadsize=12' + trilinos_cuda = '+cuda+uvm' else: - cuda = '' - specs.append(f'"trilinos-for-albany@{albany}{cuda}"') - specs.append(f'"albany@{albany}+mpas~py+unit_tests{cuda}"') + albany_cuda = '' + trilinos_cuda = '' + specs.append(f'"trilinos-for-albany@{albany}{albany_cuda}"') + specs.append(f'"albany@{albany}+mpas~py+unit_tests{trilinos_cuda}"') yaml_template = f'{spack_template_path}/{machine}_{compiler}_{mpi}.yaml' if not os.path.exists(yaml_template):