Reputation: 51
I am trying to create an environment with nvhpc24.5, yaxt and xios. But getting error.
my yaml file is:
spack:
# add package specs to the `specs` list
specs:
- [email protected]+mpi
- yaxt%[email protected] ^gmake%gcc
- xios%[email protected] ^gmake%gcc ^[email protected]:+hl ^netcdf-c+mpi
view: true
concretizer:
unify: false
and spack concretize giving me following error:
==> Starting concretization pool with 2 processes
==> Error: concretization failed for the following reasons:
1. No valid version for 'yaxt' compiler 'nvhpc' satisfies '@24.5'
2. Cannot set the required compiler: yaxt%nvhpc
I have tried with [email protected] but still get the same error.
Upvotes: 0
Views: 98
Reputation: 51
Been able to solve it:
spack install --add [email protected]+mpi
spack load nvhpc
spack add xios@2252%[email protected] ^gmake%gcc ^[email protected]
spack add yaxt%[email protected] ^gmake%gcc
spack concretize
spack install
Upvotes: 0