Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on:

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: true

Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "spack"]
path = spack
url = https://github.com/jcsda/spack
branch = spack-stack-1.9.1
branch = spack-stack-1.9.2rc1
[submodule "doc/CMakeModules"]
path = doc/CMakeModules
url = https://github.com/noaa-emc/cmakemodules
Expand Down
46 changes: 46 additions & 0 deletions configs/sites/tier1/wcoss2/compilers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,49 @@ compilers:
CONFIG_SITE: ''
unset: [PYTHONPATH]
extra_rpaths: []
- compiler:
spec: oneapi@2024.2.1
paths:
cc: cc
cxx: CC
f77: ftn
fc: ftn
flags:
cflags: '--gcc-toolchain=/opt/cray/pe/gcc/12.1.0/snos/'
fflags: '-gcc-name=/opt/cray/pe/gcc/12.1.0/snos/bin/gcc -gxx-name=/opt/cray/pe/gcc/12.1.0/snos/bin/g++'
cxxflags: '--gcc-toolchain=/opt/cray/pe/gcc/12.1.0/snos/'
operating_system: sles15
modules:
- PrgEnv-intel/8.3.3
- craype/2.7.17
- intel-oneapi/2024.2
- libfabric
environment:
prepend_path:
PATH: /opt/cray/pe/gcc/12.1.0/snos/bin
LD_LIBRARY_PATH: /opt/cray/pe/gcc/12.1.0/snos/lib64
LIBRARY_PATH: /opt/cray/pe/gcc/12.1.0/snos/lib64
CPATH: /opt/cray/pe/gcc/12.1.0/snos/include
set:
# OpenSUSE on WCOSS2 machines sets CONFIG_SITE so
# Automake-based builds are installed in lib64
# which confuses some packages.
CONFIG_SITE: ''
extra_rpaths: []
- compiler:
spec: gcc@12.1.0
paths:
cc: /opt/cray/pe/gcc/12.1.0/snos/bin/gcc
cxx: /opt/cray/pe/gcc/12.1.0/snos/bin/g++
f77: /opt/cray/pe/gcc/12.1.0/snos/bin/gfortran
fc: /opt/cray/pe/gcc/12.1.0/snos/bin/gfortran
flags: {}
operating_system: sles15
modules: []
environment:
set:
# OpenSUSE on WCOSS2 machines sets CONFIG_SITE so
# Automake-based builds are installed in lib64
# which confuses some packages.
CONFIG_SITE: ''
extra_rpaths: []
65 changes: 30 additions & 35 deletions configs/sites/tier1/wcoss2/packages.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
packages:
#
### Set compiler.
#
all:
prefer: ['%intel@19.1.3.304']
compiler:: [intel@19.1.3.304]
providers:
mpi: [cray-mpich]
#
### Strictly set virtual package providers.
### Strictly set virtual package providers (+disable mkl).
#
mpi:
buildable: False
Expand All @@ -21,16 +13,8 @@
require: openblas
jpeg:
require: libjpeg-turbo
#
### External packages.
#
cray-mpich:
externals:
- spec: cray-mpich@8.1.9~wrappers
modules:
- libfabric
- craype-network-ofi
- cray-mpich/8.1.9
intel-oneapi-mkl:
buildable: false
#
### Individual package settings.
# Use `require::` to override require's from {common,site}/packages.yaml,
Expand All @@ -44,7 +28,6 @@
cdo:
require:
- 'grib2=none' # avoids eccodes/grib-api dependency
- '%intel'
- any_of: ["@2.2.2"]
when: "%intel@2022.0.2.262"
message: "2.3.0 is the last version to use C++17"
Expand Down Expand Up @@ -72,13 +55,13 @@
- snapshot=none # make sure spack-stack doesn't accidentally give us a beta snapshot
- '~python'
flex:
require: '@2.6.4'
gcc-runtime:
require: '%gcc'
require: ['@2.6.4']
gdal:
variants: ~curl
gettext:
version: ['0.19.7']
require:
- any_of: ['@0.19.7']
when: '%intel@19.1.3.304'
git-lfs:
require: '%gcc'
glib:
Expand All @@ -88,37 +71,49 @@
gsibec:
require::
- '@1.2.1 ~mkl'
harfbuzz:
require: '%gcc'
libffi:
require: '@3.3'
require:
- any_of: ['@3.3']
when: '%intel'
libunistring:
require: '@:1.0'
require:
- any_of: ['@:1.0']
when: '%intel'
mapl:
require:
- ~pflogger ~fargparse ~extdata2g # minimize dependencies
netcdf-c:
'require:': +mpi ~parallel-netcdf ~dap ~blosc ~szip build_system=autotools # disabling dap prevents network access; disabling blosc and szip reduces dependencies
patchelf:
version: ['0.13.1']
require:
- any_of: ['@0.13.1']
when: '%intel'
py-cython::
require: '@0.29.36'
require:
- any_of: ['@0.29.36']
when: '%intel'
py-numpy:
require::
- '^[virtuals=lapack,blas] openblas'
- '@:1.25'
- any_of: ['@:1.24']
when: '%intel@:19'
- '@1.26'
py-pandas:
'require:': ~excel # minimize dependencies
py-scipy:
require:
- any_of: ["@1.10.1"]
when: '%intel@:19'
py-setuptools:
require: '@63.4.3' # avoid duplicate build deps
require: ['@63.4.3'] # avoid duplicate build deps
rhash:
version: ['1.3.5']
require:
- any_of: ['@1.3.5']
when: '%intel'
subversion:
require:
- ~serf +pic # avoid serf dependency
zlib-ng:
require: ['+compat ~new_strategies']
crtm:
require: ['@2.4.0.1 +fix']
scotch:
require: ['@7.0.4 +mpi+metis~shared~threads~mpi_thread+noarch+esmumps build_system=cmake']
30 changes: 30 additions & 0 deletions configs/sites/tier1/wcoss2/packages_intel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
packages:
#
### Set compiler.
#
all:
compiler:: [intel@19.1.3.304]
#
### External packages.
#
cray-mpich:
externals:
- spec: cray-mpich@8.1.9~wrappers
modules:
- libfabric
- craype-network-ofi
- cray-mpich/8.1.9
#
### Set GCC version.
#
gcc-runtime:
require: ['%gcc@10.2.0']
#
### Package settings.
#
harfbuzz:
require: ['%gcc']
ecflow:
require:: ['@5.11.4', '+ui', '^boost %gcc', '%intel']
py-numpy:
require: ['%gcc']
45 changes: 45 additions & 0 deletions configs/sites/tier1/wcoss2/packages_oneapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
packages:
all:
compiler:: [oneapi@2024.2.1]
gcc-runtime:
require: '%gcc@12.1.0'
cray-mpich:
externals:
- spec: cray-mpich@8.1.29~wrappers
modules:
- libfabric
- craype-network-ofi
- cray-mpich/8.1.29
- cray-pals
bison:
require: ['%gcc']
cairo:
require: ['+fc']
ectrans:
require::
- '@1.2.0 ~mkl +fftw'
elfutils:
require: ['@0.191']
gsibec:
require::
- '@1.2.1 ~mkl'
subversion:
require: ['%gcc']
cmake:
require: ['%gcc']
proj:
require: ['@9.4.1']
libtiff:
require: ['build_system=cmake']
icu4c:
require: ['%gcc']
ninja:
require: ['~re2c %gcc']
pixman:
require: ['build_system=meson']
apr:
require: ['@:1.6', '%gcc']
glib:
require: ['%gcc']
zlib-ng:
require: ['cflags="-static-intel"', 'cxxflags="-static-intel"']
6 changes: 3 additions & 3 deletions configs/templates/nco/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ spack:
specs:
- awscli
- bacio
- boost %intel
- boost
- bufr
- cdo
- cfitsio
- cmake
- crtm
- crtm@=2.4.0.1
- curl
- ecflow ^boost%gcc
- ecflow
- eckit
- ecmwf-atlas
- eigen
Expand Down
Loading
Loading