NCAR / spack-gust

Spack production user software stack on the Gust test system
4 stars 0 forks source link

how to include modules.yaml from upstream #46

Closed jedwards4b closed 1 year ago

jedwards4b commented 1 year ago

I have not been able to add the line

   include:
   -  /glade/u/apps/gust/$NCAR_ENV_VERSION/config/modules.yaml

in my environments. I've opened this issue to try to resolve the issues so that this file can be included.

jedwards4b commented 1 year ago

First issue - the upstream has default root set to /glade/u/apps/cseg/modules/23.03 I don't have write permission there. I figured out I can add this to my environment files to override the upstream, but can I add it someplace more general so I don't need to remember to add it to each new environment I create?

jedwards4b commented 1 year ago

Can you remove the lines:

/glade/u/apps/gust/23.03/config/modules.yaml:273                               esmf+mpi: esmf-mpi/{version}
/glade/u/apps/gust/23.03/config/modules.yaml:258                             esmf~mpi:
/glade/u/apps/gust/23.03/config/modules.yaml:260                             esmf+mpi:

I don't use the -mpi extension in my modules and haven't figured out how to override these lines.

jedwards4b commented 1 year ago

This issue appears to have been resolved.