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

Feature/blueback tds cole #1472

Closed
wants to merge 32 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
78e2b72
configs/sites/tier1/blueback -> configs/sites/tier1/blueback-tds-tus…
climbfuji Dec 18, 2024
8e263c2
Update .gitmodules to point to branch release/1.5 in NRL Enterprise G…
climbfuji Jan 17, 2025
802003c
Merge branch 'develop' of https://github.com/jcsda/spack-stack into r…
climbfuji Jan 17, 2025
2dae74e
Bug fix in configs/sites/tier1/atlantis/packages_gcc.yaml: must load …
climbfuji Jan 17, 2025
fa71139
Initial commit of util/nrl_batch_install.sh (WIP)
climbfuji Jan 17, 2025
e4b4b01
Remove external [email protected] from configs/sites/tier1/atlantis/package…
climbfuji Jan 18, 2025
e21a234
In util/nrl_batch_install.sh, exclude esmf and crtm when looking for …
climbfuji Jan 18, 2025
f2d00fd
Re-enable all environments and compilers for NRL sites in util/nrl_ba…
climbfuji Jan 18, 2025
b56b643
in util/nrl_batch_install.sh, catch spack install errors and exclude …
climbfuji Jan 18, 2025
7e792f4
Fix bug in util/nrl_batch_install.sh
climbfuji Jan 19, 2025
c85ba05
With gcc@10 and earlier, must use [email protected]
climbfuji Jan 19, 2025
c5a1932
Workaround for Narwhal/cylc-dev in util/nrl_batch_install.sh: copy co…
climbfuji Jan 20, 2025
7d52616
Configure aocc, clang, and host bounty in util/nrl_batch_install.sh
climbfuji Jan 21, 2025
ee82402
Build py-netcdf4 with ~mpi to avoid errors 'ValueError: mpi4py.MPI.St…
climbfuji Jan 21, 2025
0387167
util/nrl_batch_install.sh: Create a file with a list of installed pac…
climbfuji Jan 23, 2025
74ab966
Strip down list of compilers and templates for release/1.5 in util/nr…
climbfuji Jan 23, 2025
a6b6bc7
util/nrl_batch_install.sh -> util/nrl/batch_install.sh, add bootstrap…
climbfuji Jan 27, 2025
529f66f
Update .gitmodules and submodule pointer for spack for code review an…
climbfuji Jan 27, 2025
fa0d458
Bug fixes for set_permissions function in util/nrl/batch_install.sh
climbfuji Jan 27, 2025
e9092a9
Add argument for fix_permissions in util/nrl/batch_install.sh to skip…
climbfuji Jan 27, 2025
407d2fa
Use set +e and set -e in fix_permissions
climbfuji Jan 27, 2025
e31fa08
Add placeholder for changing the location of the spack-stack environm…
climbfuji Jan 27, 2025
176dc90
In util/nrl/batch_install.sh, revert back to installer mode
climbfuji Jan 27, 2025
818d1ee
Revert .gitmodules and update submodule pointer for spack
climbfuji Jan 27, 2025
3c41d96
Merge branch 'develop' of https://github.com/jcsda/spack-stack into f…
climbfuji Jan 27, 2025
42efd07
Merge branch 'feature/blueback_tds_cole' of https://github.com/climbf…
climbfuji Jan 27, 2025
b8bb5e1
Update site config for cole
climbfuji Jan 29, 2025
55743a7
configs/sites/tier1/blueback-tds-cole --> configs/sites/tier2/cole
climbfuji Jan 29, 2025
bf94bd4
Clean up site configs for tusk and cole
climbfuji Jan 29, 2025
8eea567
Update doc/source/PreConfiguredSites.rst: remove early access Bluebac…
climbfuji Jan 29, 2025
8e38c97
Add comment in neptune-dev template to comment out neptune-python-env…
climbfuji Feb 1, 2025
7f488c7
Configure util/nrl/batch_install.sh for Cole and Tusk, clean up
climbfuji Feb 1, 2025
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
8 changes: 4 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[submodule "spack"]
path = spack
url = https://github.com/jcsda/spack
branch = spack-stack-dev
url = https://github.nrlmry.navy.mil/jcsda/spack
branch = release/neptune-1.5
[submodule "doc/CMakeModules"]
path = doc/CMakeModules
url = https://github.com/noaa-emc/cmakemodules
branch = v1.3.0
url = https://github.nrlmry.navy.mil/jcsda/cmakemodules
branch = release/neptune-1.5
6 changes: 3 additions & 3 deletions configs/common/packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ packages:
# https://github.com/JCSDA/spack-stack/issues/1276
py-matplotlib:
require: '@3.7.4'
# Variant ~mpi not working for latest py-netcdf4
# https://github.com/spack/spack/issues/47652
# https://github.com/Unidata/netcdf4-python/issues/1389
# https://github.com/Unidata/netcdf4-python/issues/1389#issuecomment-2599760051
py-netcdf4:
require: '@1.7.1 +mpi'
require: '@1.7.1 ~mpi'
# To avoid duplicate packages
py-numpy:
require:
Expand Down
18 changes: 0 additions & 18 deletions configs/sites/tier1/blueback/mirrors.yaml

This file was deleted.

43 changes: 43 additions & 0 deletions configs/sites/tier2/cole/compilers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
compilers::
- compiler:
spec: [email protected]
paths:
cc: cc
cxx: CC
f77: ftn
fc: ftn
flags: {}
operating_system: sles15
modules:
- PrgEnv-intel/8.5.0
- intel/2024.2.1
- cray-libsci/24.03.0
- libfabric/1.20.1
environment:
prepend_path:
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pe/libsci/24.03.0/INTEL/2023.2/x86_64/lib'
set:
CONFIG_SITE: ''
CRAY_CPU_TARGET: x86-genoa
extra_rpaths: []
- compiler:
spec: [email protected]
paths:
cc: cc
cxx: CC
f77: ftn
fc: ftn
flags: {}
operating_system: sles15
modules:
- PrgEnv-gnu/8.5.0
- gcc-native/12.3
- cray-libsci/24.03.0
- libfabric/1.20.1
environment:
prepend_path:
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.20.1/lib64:/opt/cray/pe/libsci/24.03.0/GNU/12.3/x86_64/lib'
set:
CONFIG_SITE: ''
CRAY_CPU_TARGET: x86-genoa
extra_rpaths: []
3 changes: 3 additions & 0 deletions configs/sites/tier2/cole/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mirrors:
local-source: file:///p/work1/heinzell/spack-stack/source-cache
local-binary: file:///p/work1/heinzell/spack-stack/build-cache
148 changes: 148 additions & 0 deletions configs/sites/tier2/cole/packages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
packages:

# Modification of common packages
# Use system zlib instead of spack-built zlib-ng
all:
providers:
zlib-api:: [zlib]
zlib-api:
buildable: False
zlib:
buildable: False
externals:
- spec: [email protected]
prefix: /usr

# All other packages listed alphabetically
autoconf:
externals:
- spec: [email protected]
prefix: /usr
automake:
externals:
- spec: [email protected]
prefix: /usr
binutils:
externals:
- spec: [email protected]
prefix: /usr
cmake:
externals:
- spec: [email protected]
prefix: /usr
coreutils:
externals:
- spec: [email protected]
prefix: /usr
curl:
externals:
- spec: [email protected]+gssapi+ldap+nghttp2
prefix: /usr
cvs:
externals:
- spec: [email protected]
prefix: /usr
diffutils:
externals:
- spec: [email protected]
prefix: /usr
findutils:
externals:
- spec: [email protected]
prefix: /usr
flex:
externals:
- spec: [email protected]+lex
prefix: /usr
gawk:
externals:
- spec: [email protected]
prefix: /usr
gettext:
externals:
- spec: [email protected]
prefix: /usr
git:
externals:
- spec: [email protected]+tcltk
prefix: /usr
git-lfs:
externals:
- spec: [email protected]
prefix: /usr
gmake:
externals:
- spec: [email protected]
prefix: /usr
grep:
externals:
- spec: [email protected]
prefix: /usr
groff:
externals:
- spec: [email protected]
prefix: /usr
libtool:
externals:
- spec: [email protected]
prefix: /usr
m4:
externals:
- spec: [email protected]
prefix: /usr
mysql:
buildable: False
externals:
- spec: [email protected]
prefix: /p/app/projects/NEPTUNE/spack-stack/mysql-8.0.31
modules:
- mysql/8.0.31
openssh:
externals:
- spec: [email protected]
prefix: /usr
- spec: [email protected]
prefix: /usr/local/krb5
openssl:
externals:
- spec: [email protected]
prefix: /usr
perl:
externals:
- spec: [email protected]~cpanm+opcode+open+shared+threads
prefix: /usr
pkg-config:
externals:
- spec: [email protected]
prefix: /usr
qt:
buildable: False
externals:
- spec: [email protected]
prefix: /p/app/projects/NEPTUNE/spack-stack/qt-5.15.2/5.15.2/gcc_64
modules:
- qt/5.15.2
sed:
externals:
- spec: [email protected]
prefix: /usr
subversion:
externals:
- spec: [email protected]
prefix: /usr
swig:
externals:
- spec: [email protected]
prefix: /usr
tar:
externals:
- spec: [email protected]
prefix: /usr
texinfo:
externals:
- spec: [email protected]
prefix: /usr
wget:
externals:
- spec: [email protected]
prefix: /usr
13 changes: 13 additions & 0 deletions configs/sites/tier2/cole/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
cray-mpich:
externals:
- spec: [email protected]%[email protected] ~wrappers
modules:
- cray-mpich/8.1.29
- craype-network-ofi
25 changes: 25 additions & 0 deletions configs/sites/tier2/cole/packages_oneapi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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/8.1.29
- craype-network-ofi
intel-oneapi-mkl:
externals:
- spec: [email protected]%[email protected]
prefix: /p/work1/heinzell/spack-stack/oneapi-2024.2.1
intel-oneapi-tbb:
externals:
- spec: [email protected]%[email protected]
prefix: /p/work1/heinzell/spack-stack/oneapi-2024.2.1
intel-oneapi-runtime:
externals:
- spec: [email protected]%[email protected]
prefix: /p/work1/heinzell/spack-stack/oneapi-2024.2.1
2 changes: 2 additions & 0 deletions configs/sites/tier2/tusk/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config:
build_jobs: 8
3 changes: 3 additions & 0 deletions configs/sites/tier2/tusk/mirrors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mirrors:
local-source: file:///p/work1/heinzell/spack-stack/source-cache
local-binary: file:///p/work1/heinzell/spack-stack/build-cache
7 changes: 7 additions & 0 deletions configs/sites/tier2/tusk/modules.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
modules:
default:
enable::
- tcl
tcl:
include:
- python
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
packages:

# Modification of common packages
# Use system zlib instead of spack-built zlib-ng
all:
Expand All @@ -9,12 +10,8 @@ packages:
zlib:
buildable: False
externals:
# For TDS tusk
- spec: [email protected]
prefix: /usr
# For TDS cole
#- spec: [email protected]
# prefix: /usr

# All other packages listed alphabetically
autoconf:
Expand Down
1 change: 1 addition & 0 deletions configs/templates/neptune-dev/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ spack:
- compilers: ['%aocc', '%apple-clang', '%gcc', '%intel', '%oneapi']
- packages:
- neptune-env +espc ^esmf@=8.8.0
# Comment out for Cole and Tusk or any other air-gapped system:
- neptune-python-env +xnrl ^neptune-env +espc ^esmf@=8.8.0

specs:
Expand Down
40 changes: 3 additions & 37 deletions doc/source/PreConfiguredSites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Pre-configured sites (tier 1)
| +-----------------------+--------------------+--------------------------------------------------------+-----------------+
| U.S. Navy (HPCMP) | Nautilus | GCC, Intel, oneAPI | ``/p/app/projects/NEPTUNE/spack-stack/`` | NRL |
| +-----------------------+--------------------+--------------------------------------------------------+-----------------+
| | Blueback (earlyaccess)| GCC, oneAPI | (experimental only, no project directories yet | NRL |
| | Blueback (earlyaccess)| GCC, oneAPI | (experimental only) | NRL |
+---------------------+-----------------------+--------------------+--------------------------------------------------------+-----------------+
| Univ. of Wisconsin | S4 | Intel | ``/data/prod/jedi/spack-stack/`` | SSEC |
+---------------------+-----------------------+--------------------+--------------------------------------------------------+-----------------+
Expand Down Expand Up @@ -257,46 +257,12 @@ The following is required for building new spack environments with Intel oneAPI
.. 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
# This section will be updated when Blueback becomes available.

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

umask 0022
module unload PrgEnv-cray
module load PrgEnv-gnu/8.4.0
module unload gcc
module load gcc/12.1.0
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
# This section will be updated when Blueback becomes available.


.. _Preconfigured_Sites_Derecho:
Expand Down
2 changes: 1 addition & 1 deletion spack
Submodule spack updated from c17cb3 to b66fd8
Loading