NERSC/buildtest-nersc

[Bug]: Investigate deploying spack settings for E4S/21.11

Closed this issue · 4 comments

CDASH Build

https://my.cdash.org/test/66436436

Link to buildspec file

https://github.com/buildtesters/buildtest-nersc/blob/devel/buildspecs/apps/spack/spack_directory_checks.yml

Please describe the issue?

We are unable to access the spack settings

After checking the files we only have these configuration files

ls -l /global/common/software/spackecp/perlmutter/e4s-21.11/default/spack/etc/spack/
total 10
-rw-rw-r--  1 e4s spackecp 1391 Oct 18 13:09 compilers.yaml
-rw-rw-r--  1 e4s spackecp  355 Oct 18 13:09 config.yaml
drwxrwsr-x+ 5 e4s spackecp  512 Oct 18 10:00 defaults
-rw-rw-r--  1 e4s spackecp 5162 Oct 18 13:09 packages.yaml

Relevant log output

ls: cannot access '/global/common/software/spackecp/perlmutter/e4s-21.11/default/spack/etc/spack/mirrors.yaml': No such file or directory
ls: cannot access '/global/common/software/spackecp/perlmutter/e4s-21.11/default/spack/etc/spack/modules.yaml': No such file or directory

@etpalmer63 can you please investigate this, must be something wrong with our E4S-21.11 deployment it didnt copy the two files over to production path.

okay i have fixed this by adding the mirrors.yaml and modules.yaml to e4s 21.11 spack stack

the files are present on filesystem

 ~/gitrepos/buildtest/ [devel] ls -l /global/common/software/spackecp/perlmutter/e4s-21.11/default/spack/etc/spack/{modules,mirrors}.yaml
-rw-rw-r-- 1 e4s spackecp  79 Nov 22 08:30 /global/common/software/spackecp/perlmutter/e4s-21.11/default/spack/etc/spack/mirrors.yaml
-rw-rw-r-- 1 e4s spackecp 266 Nov 22 08:31 /global/common/software/spackecp/perlmutter/e4s-21.11/default/spack/etc/spack/modules.yaml