Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add oneAPI config for Narwhal, add GNU config for Atlantis, remove Sandy platform; make python variant for esmf configurable #1318

Merged
merged 32 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ff17223
Configure [email protected] for Narwhal
climbfuji Sep 27, 2024
f3a606c
Merge branch 'release/1.8.0' of https://github.com/jcsda/spack-stack …
climbfuji Sep 30, 2024
e0576ca
Update doc/source/PreConfiguredSites.rst: add note that oneAPI Narwha…
climbfuji Sep 30, 2024
5762092
Merge branch 'release/1.8.0' of https://github.com/jcsda/spack-stack …
climbfuji Oct 1, 2024
b3d973d
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 3, 2024
76361b0
Add configs/sites/tier1/atlantis/mirrors.yaml
climbfuji Oct 3, 2024
87067e9
Update site/packages.yaml and site/modules.yaml (#1322)
RatkoVasic-NOAA Oct 4, 2024
7abb38b
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 4, 2024
91fe139
Add configs/sites/tier1/atlantis/packages_gcc.yaml
climbfuji Oct 4, 2024
5469c56
Remove site sandy
climbfuji Oct 4, 2024
ab722bb
More updates to atlantis site config for GNU
climbfuji Oct 4, 2024
46234a7
fix openmpi version on Hercules (#1326)
RatkoVasic-NOAA Oct 7, 2024
5101d55
For release/1.8.0: update S4 site config and documentation (#1328)
climbfuji Oct 7, 2024
cbf2bd3
Release 1.8.0 additional fixes for Jet, Hercules and Orion (after run…
RatkoVasic-NOAA Oct 8, 2024
e4bdd95
Merge branch 'release/1.8.0' of https://github.com/jcsda/spack-stack …
climbfuji Oct 9, 2024
daa8586
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 9, 2024
4ecbdae
Next round of updates for Atlantis: use Bright OpenMPI
climbfuji Oct 11, 2024
d6a41f5
Update configs/common/packages.yaml: do not require, but prefer, the …
climbfuji Oct 11, 2024
871a5c5
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 11, 2024
28ea3f7
Remove legacy environment variables for hdf5, p4est, libyaml from con…
climbfuji Oct 14, 2024
cd7c320
Split neptune-env into neptune-env (with default espc false) and nept…
climbfuji Oct 14, 2024
886cf90
Add note to docs for selecting branch when cloning (#1341)
ncrossette Oct 14, 2024
3d25bfb
Update configs/templates/{neptune-dev,skylab-dev,unified-dev}
climbfuji Oct 14, 2024
d1fd89f
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 15, 2024
e9a1462
Merge branch 'feature/split_neptune_env' of https://github.com/climbf…
climbfuji Oct 16, 2024
d6641e4
Add py-pyyaml to neptune-env, remove invalid Python variant from nept…
climbfuji Oct 16, 2024
c6a067f
Update site config and documentation for Narwhal to use new, official…
climbfuji Oct 16, 2024
18a0b14
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 16, 2024
716932c
Fix typo in configs/sites/tier1/narwhal/packages_oneapi.yaml
climbfuji Oct 18, 2024
41b59e3
Update submodule pointer for spack ([email protected]) and replace [email protected].…
climbfuji Oct 19, 2024
adfe7b3
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Oct 19, 2024
4b2afed
Change spack source-cache locations on atlantis, narwhal, nautilus
climbfuji Oct 21, 2024
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
24 changes: 13 additions & 11 deletions configs/common/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,19 @@ packages:
# Also, check the acorn and derecho site configs which have esmf modifications.
esmf:
require:
- '~xerces ~pnetcdf +shared +external-parallelio +python'
- any_of: ['@=8.6.1 snapshot=none', '@=8.7.0b11 snapshot=b11']
- any_of: ['fflags="-fp-model precise" cxxflags="-fp-model precise"']
when: "%intel"
message: "Extra ESMF compile options for Intel"
#- any_of: ['']
# when: "%gcc"
# message: "Extra ESMF compile options for GCC"
#- any_of: ['']
# when: "%apple-clang"
# message: "Extra ESMF compile options for GCC"
- '~xerces ~pnetcdf +shared +external-parallelio'
- any_of: ['@=8.6.1 snapshot=none', '@=8.7.0b11 snapshot=b11']
- any_of: ['fflags="-fp-model precise" cxxflags="-fp-model precise"']
when: "%intel"
message: "Extra ESMF compile options for Intel"
#- any_of: ['']
# when: "%gcc"
# message: "Extra ESMF compile options for GCC"
#- any_of: ['']
# when: "%apple-clang"
# message: "Extra ESMF compile options for GCC"
prefer:
- '+python'
climbfuji marked this conversation as resolved.
Show resolved Hide resolved
fckit:
require: '@0.11.0 +eckit'
fftw:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
mirrors:
local-source:
fetch:
url: file:///gpfs/fs1/neptune/spack-stack/source-cache
# TODO UPDATE?
climbfuji marked this conversation as resolved.
Show resolved Hide resolved
url: file:///neptune_diagnostics/spack-stack/source-cache/
access_pair:
- null
- null
access_token: null
profile: null
endpoint_url: null
push:
url: file:///gpfs/fs1/neptune/spack-stack/source-cache
# TODO UPDATE?
url: file:///neptune_diagnostics/spack-stack/source-cache/
access_pair:
- null
- null
Expand Down
13 changes: 13 additions & 0 deletions configs/sites/tier1/atlantis/packages_gcc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
packages:
all:
compiler:: [[email protected]]
providers:
mpi:: [[email protected]]
mpi:
buildable: False
openmpi:
buildable: False
externals:
- spec: [email protected]%gcc@=11.2.0~cuda~cxx~cxx_exceptions~java~memchecker+pmi~static~wrapper-rpath fabrics=ucx schedulers=slurm
modules:
- openmpi/mlnx/gcc/64/4.1.5a1
2 changes: 1 addition & 1 deletion configs/sites/tier1/atlantis/packages_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ packages:
intel-oneapi-mkl:
externals:
- spec: [email protected]
prefix: /cm/shared/apps/intel/oneapi
modules:
- mkl/2022.1.0
prefix: /cm/shared/apps/intel/oneapi
24 changes: 24 additions & 0 deletions configs/sites/tier1/narwhal/compilers.yaml
climbfuji marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,30 @@ compilers::
set:
CRAYPE_LINK_TYPE: 'dynamic'
extra_rpaths: []
- compiler:
spec: [email protected]
paths:
cc: cc
cxx: CC
f77: ftn
fc: ftn
flags: {}
operating_system: sles15
modules:
- PrgEnv-intel/8.4.0
- intel/2024.2
- cray-libsci/23.05.1.4
- libfabric/1.12.1.2.2.1
environment:
prepend_path:
PATH: '/opt/cray/pe/gcc/10.3.0/snos/bin'
CPATH: '/opt/cray/pe/gcc/10.3.0/snos/include'
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.12.1.2.2.1/lib64:/opt/cray/pe/libsci/23.05.1.4/INTEL/2022.2/x86_64/lib:/opt/cray/pe/gcc/10.3.0/snos/lib:/opt/cray/pe/gcc/10.3.0/snos/lib64'
append_path:
CPATH: '/opt/intel/oneapi_2024.2.0.634/compiler/2024.2/opt/compiler/include/intel64'
set:
CRAYPE_LINK_TYPE: 'dynamic'
extra_rpaths: []
- compiler:
spec: [email protected]
paths:
Expand Down
27 changes: 27 additions & 0 deletions configs/sites/tier1/narwhal/packages_oneapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
packages:
all:
compiler:: [[email protected],[email protected]]
providers:
mpi:: [[email protected]]
mpi:
buildable: False
cray-mpich:
externals:
- spec: [email protected]%[email protected] ~wrappers
modules:
- cray-mpich-ucx/8.1.21
- craype-network-ucx
intel-oneapi-mkl:
externals:
- spec: [email protected]%[email protected]
prefix: /opt/intel/oneapi_2024.2.0.634
intel-oneapi-tbb:
externals:
- spec: [email protected]%[email protected]
prefix: /opt/intel/oneapi_2024.2.0.634
modules:
- tbb/2021.13
intel-oneapi-runtime:
externals:
- spec: [email protected]%[email protected]
prefix: /opt/intel/oneapi_2024.2.0.634
14 changes: 0 additions & 14 deletions configs/sites/tier1/sandy/compilers.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions configs/sites/tier1/sandy/config.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions configs/sites/tier1/sandy/modules.yaml

This file was deleted.

113 changes: 0 additions & 113 deletions configs/sites/tier1/sandy/packages.yaml

This file was deleted.

26 changes: 25 additions & 1 deletion doc/source/PreConfiguredSites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Pre-configured sites (tier 1)
+---------------------+-----------------------+--------------------+--------------------------------------------------------+-----------------+
| | Narwhal | GCC, Intel, oneAPI | ``/p/app/projects/NEPTUNE/spack-stack/`` | NRL |
| U.S. Navy (HPCMP) +-----------------------+--------------------+--------------------------------------------------------+-----------------+
| | Nautilus | Intel | ``/p/app/projects/NEPTUNE/spack-stack/`` | NRL |
| | Nautilus | GCC, Intel, oneAPI | ``/p/app/projects/NEPTUNE/spack-stack/`` | NRL |
+---------------------+-----------------------+--------------------+--------------------------------------------------------+-----------------+
| Univ. of Wisconsin | S4 | Intel | ``/data/prod/jedi/spack-stack/`` | JCSDA |
+---------------------+-----------------------+--------------------+--------------------------------------------------------+-----------------+
Expand Down Expand Up @@ -164,6 +164,30 @@ The following is required for building new spack environments with Intel on this
module unload cray-libsci
module load cray-libsci/23.05.1.4

The following is required for building new spack environments with Intel oneAPI on this platform.. Don't use ``module purge`` on Narwhal!

.. code-block:: console

umask 0022
module unload PrgEnv-cray
module load PrgEnv-intel/8.4.0
module unload intel
module load intel/2024.2
module unload cray-mpich
module unload craype-network-ofi
# Warning. Do not load craype-network-ucx
# or cray-mpich-ucx/8.1.21!
# There is a bug in the modulefile that prevents
# spack from setting the environment for its
# build steps when the module is already
# loaded. Instead, let spack load it when the
# package requires it.
#module load craype-network-ucx
#module load cray-mpich-ucx/8.1.21
module load libfabric/1.12.1.2.2.1
module unload cray-libsci
module load cray-libsci/23.05.1.4

The following is required for building new spack environments with GNU on this platform.. Don't use ``module purge`` on Narwhal!

.. code-block:: console
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ class NeptuneEnv(BundlePackage):
# Basic Python dependencies that are always needed
depends_on("py-f90nml", type="run")
depends_on("py-python-dateutil", type="run")
depends_on("py-pyyaml", type="run")
climbfuji marked this conversation as resolved.
Show resolved Hide resolved

# There is no need for install() since there is no code.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class NeptunePythonEnv(BundlePackage):
variant("xnrl", default=False, description="Build non-pulic XNRL")

depends_on("neptune-env", type="run")
# Enable the Python variant for ESMF
depends_on("esmf +python", type="run")

depends_on("py-h5py", type="run")
depends_on("py-netcdf4", type="run")
Expand Down
Loading