Skip to content

Commit

Permalink
release/1.2.0: final updates (site configs, documentation, misc) (#419)
Browse files Browse the repository at this point in the history
* Add skylab-3.0.0 template
* Add mirror to aws-pcluster site config
* Add S4 mirror, update Cheyenne and Discover packages
* Update container configs
* Add gaea mirror
* Update submodule pointer for spack
* Add S4 GNU site config
* Update Narwhal site config
* Update casper site config
* Make crtm@v2.4-jedi.2 default for JEDI
* Documentation updates
  • Loading branch information
climbfuji authored Dec 20, 2022
1 parent 41f249f commit 572d0f5
Show file tree
Hide file tree
Showing 28 changed files with 325 additions and 120 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#url = https://github.com/spack/spack
#branch = develop
url = https://github.com/NOAA-EMC/spack
branch = release/1.2.0
branch = spack-stack-1.2.0
[submodule "doc/CMakeModules"]
path = doc/CMakeModules
url = https://github.com/noaa-emc/cmakemodules
Expand Down
4 changes: 2 additions & 2 deletions configs/containers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ To avoid hardcoding specs in the generic container recipes, we keep the specs li
```
specs: [base-env@1.0.0, jedi-base-env@1.0.0 ~fftw, jedi-ewok-env@1.0.0, jedi-fv3-env@1.0.0,
jedi-mpas-env@1.0.0, bacio@2.4.1, bison@3.8.2, bufr@11.7.1, ecbuild@3.6.5, eccodes@2.27.0, ecflow@5,
eckit@1.19.0, ecmwf-atlas@0.30.0 +trans ~fftw, ectrans@1.0.0 ~fftw, eigen@3.4.0,
eckit@1.20.2, ecmwf-atlas@0.31.1 +trans ~fftw, ectrans@1.1.0 ~fftw, eigen@3.4.0,
fckit@0.9.5, flex@2.6.4, fms@release-jcsda, g2@3.4.5, g2tmpl@1.10.0, gftl-shared@1.5.0,
gsibec@1.0.6, hdf5@1.12.1, hdf@4.2.15, ip@3.3.3, jasper@2.0.32, jedi-cmake@1.4.0,
libpng@1.6.37, nccmp@1.9.0.1, netcdf-c@4.8.1, netcdf-cxx4@4.3.1,
netcdf-fortran@4.5.4, nlohmann-json-schema-validator@2.1.0, nlohmann-json@3.10.5,
parallel-netcdf@1.12.2, parallelio@2.5.7, py-eccodes@1.4.2, py-f90nml@1.4.3, py-numpy@1.22.3,
py-pandas@1.4.0, py-pyyaml@6.0, py-scipy@1.8.0, py-shapely@1.8.0, py-xarray@2022.3.0,
sp@2.3.3, udunits@2.2.28, w3nco@2.4.1, nco@5.0.6,
yafyaml@0.5.1, zlib@1.2.13, odc@1.4.5, crtm@v2.4-jedi.1, shumlib@macos_clang_linux_intel_port]
yafyaml@0.5.1, zlib@1.2.13, odc@1.4.5, crtm@v2.4-jedi.2, shumlib@macos_clang_linux_intel_port]
# Don't build ESMF and MAPL for now:
# https://github.com/JCSDA-internal/MPAS-Model/issues/38
# https://github.com/NOAA-EMC/spack-stack/issues/326
Expand Down
3 changes: 2 additions & 1 deletion configs/containers/docker-ubuntu-clang-mpich.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spack:
# Additional package config for container
packages:
all:
require: '%clang'
target: [x86_64]
providers:
mpi: [mpich@4.0.2]
Expand Down Expand Up @@ -95,7 +96,7 @@ spack:
os: ubuntu:20.04
spack:
url: https://github.com/noaa-emc/spack
ref: jcsda_emc_spack_stack
ref: spack-stack-1.2.0
resolve_sha: false

# Whether or not to strip binaries
Expand Down
3 changes: 2 additions & 1 deletion configs/containers/docker-ubuntu-gcc-openmpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spack:
# Additional package config for container
packages:
all:
require: '%gcc'
target: [x86_64]
providers:
mpi: [openmpi@4.1.4]
Expand Down Expand Up @@ -82,7 +83,7 @@ spack:
os: ubuntu:20.04
spack:
url: https://github.com/noaa-emc/spack
ref: jcsda_emc_spack_stack
ref: spack-stack-1.2.0
resolve_sha: false

# Whether or not to strip binaries
Expand Down
7 changes: 6 additions & 1 deletion configs/containers/docker-ubuntu-intel-impi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spack:
# Additional package config for container
packages:
all:
require: '%intel'
target: [core2]
providers:
mpi: [intel-oneapi-mpi@2021.6.0]
Expand Down Expand Up @@ -60,6 +61,10 @@ spack:
externals:
- spec: git-lfs@2.9.2
prefix: /usr
# Turn off crypt, because libxcrypt doesn't
# build with Intel.
python:
variants: ~crypt
qt:
buildable: false
externals:
Expand Down Expand Up @@ -96,7 +101,7 @@ spack:
os: ubuntu:20.04
spack:
url: https://github.com/noaa-emc/spack
ref: jcsda_emc_spack_stack
ref: spack-stack-1.2.0
resolve_sha: false

# Whether or not to strip binaries
Expand Down
18 changes: 18 additions & 0 deletions configs/sites/aws-pcluster/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mirrors:
local-source:
fetch:
url: file:///mnt/experiments-efs/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
push:
url: file:///mnt/experiments-efs/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
2 changes: 1 addition & 1 deletion configs/sites/casper/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ compilers::
prepend_path:
PATH: '/glade/u/apps/dav/opt/gnu/9.1.0/bin'
CPATH: '/glade/u/apps/dav/opt/gnu/9.1.0/include'
LD_LIBRARY_PATH: '/glade/u/apps/opt/intel/2020u1/compilers_and_libraries/linux/lib/intel64_lin:/glade/u/apps/dav/opt/gnu/9.1.0/lib64'
LD_LIBRARY_PATH: '/glade/u/apps/opt/intel/2020u1/compilers_and_libraries/linux/lib/intel64_lin:/glade/u/apps/opt/intel/2020u1/compilers_and_libraries_2020.1.217/linux/mpi/intel64/libfabric/lib:/glade/u/apps/dav/opt/gnu/9.1.0/lib64'
set:
INTEL_LICENSE_FILE: '28518@128.117.177.41'
LM_LICENSE_FILE: '28518@128.117.177.41'
Expand Down
18 changes: 18 additions & 0 deletions configs/sites/casper/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mirrors:
local-source:
fetch:
url: file:///glade/work/jedipara/cheyenne/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
push:
url: file:///glade/work/jedipara/cheyenne/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
14 changes: 10 additions & 4 deletions configs/sites/casper/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ packages:
prefix: /glade/work/jedipara/cheyenne/spack-stack/ecflow-5.8.4
modules:
- ecflow/5.8.4
expat:
externals:
- spec: expat@1.6.0
prefix: /usr
# Don't use, leads to duplicate packages being built
#expat:
# externals:
# - spec: expat@1.6.0
# prefix: /usr
file:
externals:
- spec: file@5.11
Expand All @@ -93,6 +94,8 @@ packages:
- spec: findutils@4.5.11
prefix: /usr
flex:
# Must set buildable: false to avoid duplicate packages
buildable: false
externals:
- spec: flex@2.5.37+lex
prefix: /usr
Expand Down Expand Up @@ -164,6 +167,9 @@ packages:
externals:
- spec: openssl@1.0.2k-fips
prefix: /usr
# Pin patchelf to 0.15.0 for Intel compiler (no C++-17 features)
patchelf:
version:: [0.15.0]
perl:
externals:
- spec: perl@5.16.3~cpanm+shared+threads
Expand Down
11 changes: 6 additions & 5 deletions configs/sites/cheyenne/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,12 @@ packages:
externals:
- spec: findutils@4.5.12
prefix: /usr
# Don't use, leads to duplicate packages being built
#flex:
# externals:
# - spec: flex@2.5.37+lex
# prefix: /usr
flex:
# Must set buildable: false to avoid duplicate packages
buildable: false
externals:
- spec: flex@2.5.37+lex
prefix: /usr
gawk:
externals:
- spec: gawk@4.1.0
Expand Down
11 changes: 6 additions & 5 deletions configs/sites/discover/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,12 @@ packages:
externals:
- spec: findutils@4.5.12
prefix: /usr
# Don't use, leads to duplicate packages being built
#flex:
# externals:
# - spec: flex@2.5.37+lex
# prefix: /usr
flex:
# Must set buildable: false to avoid duplicate packages
buildable: false
externals:
- spec: flex@2.5.37+lex
prefix: /usr
gawk:
externals:
- spec: gawk@4.1.0
Expand Down
18 changes: 18 additions & 0 deletions configs/sites/gaea/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mirrors:
local-source:
fetch:
url: file:///lustre/f2/pdata/esrl/gsd/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
push:
url: file:///lustre/f2/pdata/esrl/gsd/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
3 changes: 3 additions & 0 deletions configs/sites/gaea/modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ modules:
default:
enable::
- tcl
tcl:
blacklist:
- ecflow
2 changes: 1 addition & 1 deletion configs/sites/narwhal/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ compilers::
operating_system: sles15
target: any
modules:
- PrgEnv-intel
- PrgEnv-intel/8.3.2
- intel/2021.3.0
environment:
prepend_path:
Expand Down
2 changes: 1 addition & 1 deletion configs/sites/narwhal/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mirrors:
local:
local-source:
fetch:
url: file:///p/app/projects/NEPTUNE/spack-stack/spack-stack-v1/source-cache
access_pair:
Expand Down
3 changes: 3 additions & 0 deletions configs/sites/narwhal/modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ modules:
default:
enable::
- tcl
tcl:
blacklist:
- ecflow
4 changes: 0 additions & 4 deletions configs/sites/narwhal/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ packages:
externals:
- spec: bison@3.0.4
prefix: /usr
cmake:
externals:
- spec: cmake@3.17.0
prefix: /usr
curl:
externals:
- spec: curl@7.66.0+gssapi+ldap+nghttp2
Expand Down
2 changes: 0 additions & 2 deletions configs/sites/s4/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ compilers:
LD_LIBRARY_PATH: '/home/opt/intel/oneapi/2022.1/compiler/2022.0.1/linux/compiler/lib/intel64_lin:/data/prod/hpc-stack/gnu/9.3.0/lib64'
CPATH: '/data/prod/hpc-stack/gnu/9.3.0/include'
extra_rpaths: []
# Not yet tested:
- compiler:
spec: gcc@9.3.0
paths:
Expand All @@ -31,7 +30,6 @@ compilers:
target: x86_64
modules:
- gnu/9.3.0
prefix: /data/prod/hpc-stack/gnu/9.3.0
modules: []
environment: {}
extra_rpaths: []
18 changes: 18 additions & 0 deletions configs/sites/s4/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mirrors:
local-source:
fetch:
url: file:///data/prod/jedi/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
push:
url: file:///data/prod/jedi/spack-stack/source-cache
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
2 changes: 2 additions & 0 deletions configs/sites/s4/modules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ modules:
lmod:
blacklist:
- ecflow
whitelist:
- mpich
5 changes: 5 additions & 0 deletions configs/sites/s4/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
packages:
all:
compiler:: [intel@2021.5.0]
#compiler:: [gcc@9.3.0]
providers:
mpi:: [intel-oneapi-mpi@2021.5.0]
#mpi:: [mpich@4.0.2%gcc@9.3.0]

### MPI, Python, MKL
# Comment out next two lines for gnu@9.3.0 with mpich@4.0.2 built by spack
mpi:
buildable: False
intel-oneapi-mpi:
Expand All @@ -21,6 +24,8 @@ packages:
# externals:
# - spec: intel-oneapi-mkl@2022.0.1%intel@2021.5.0
# prefix: /opt/intel/oneapi/2022.1
mpich:
version: [4.0.2]
python:
buildable: False
externals:
Expand Down
Loading

0 comments on commit 572d0f5

Please sign in to comment.