@@ -8,7 +8,7 @@ Plugin: Catalyst
88developed for simulations to analyze and visualize data in situ. The generic Catalyst plugin is
99designed to provide in situ data visualization and processing capability to the fully coupled Earth
1010system modeling applications or individual model components that use `ESMF (Earth System Modeling Framework)
11- <https://earthsystemmodeling.org/doc/>_ ` and `NUOPC (National Unified Operational Prediction Capability)
11+ <https://earthsystemmodeling.org/doc/> `_ and `NUOPC (National Unified Operational Prediction Capability)
1212Layer <https://earthsystemmodeling.org/nuopc/> `_ .
1313
1414=============
@@ -33,7 +33,7 @@ package manager to manage software dependencies in a more flexible way.
3333
3434Additional packages (and their dependencies) or new versions of packages can be installed by chaining existing
3535Spack-stack installation on supported Tier I and II platforms. The list of preconfigured platforms can be seen in
36- `spack-stack documentation <https://spack-stack.readthedocs.io/en/latest/PreConfiguredSites.html> `.
36+ `spack-stack documentation <https://spack-stack.readthedocs.io/en/latest/PreConfiguredSites.html >`_ .
3737
3838MSU Hercules
3939------------
@@ -42,66 +42,74 @@ Checkout spack-stack and create new environment by chaining exiting one:
4242
4343.. code-block :: console
4444
45- git clone --recursive https://github.com/JCSDA/spack-stack.git spack-stack-1.9.1
46- cd spack-stack-1.9.1
47- git checkout spack-stack-1.9.1
45+ git clone --recursive https://github.com/JCSDA/spack-stack.git spack-stack-1.9.2
46+ cd spack-stack-1.9.2
47+ git checkout spack-stack-1.9.2
4848 git submodule update --init --recursive
4949 . setup.sh
50- spack stack create env --name cop --template empty --site hercules --compiler intel --upstream /apps/contrib/spack-stack/spack-stack-1.9.1 /envs/ue-oneapi-2024.1.0/install
51- cd envs/cop
50+ spack stack create env --name pv_osmesa_intel --template empty --site hercules --compiler intel --upstream /apps/contrib/spack-stack/spack-stack-1.9.2 /envs/ue-oneapi-2024.1.0/install
51+ cd envs/pv_osmesa_intel
5252 spack env activate .
5353
54- Update `site/packages.yaml ` (under `envs/cop ` directory) and add following to the begining:
54+ Copy `site/ ` and `common ` directories from upstream installation to `envs/pv_osmesa_intel ` directory.
55+
56+ .. code-block :: console
57+
58+ cp -r /apps/contrib/spack-stack/spack-stack-1.9.2/envs/ue-oneapi-2024.1.0/site .
59+ cp -r /apps/contrib/spack-stack/spack-stack-1.9.2/envs/ue-oneapi-2024.1.0/common .
60+
61+ Update `spack.yaml ` as following:
5562
5663.. code-block :: YAML
5764
58- packages :
59- # For addressing https://github.com/JCSDA/spack-stack/issues/1355
60- # Use system zlib instead of spack-built zlib-ng
61- all :
62- compiler: : [oneapi@2024.2.1]
63- providers :
64- mpi: : [intel-oneapi-mpi@2021.13]
65- blas: : [openblas]
66- fftw-api: : [fftw]
67- lapack: : [openblas]
68- zlib-api: : [zlib]
69- mpi :
70- buildable : false
71- intel-oneapi-mpi :
72- buildable : false
73- externals :
74- - spec : intel-oneapi-mpi@2021.13%oneapi@2024.2.1
75- prefix : /apps/spack-managed-x86_64_v3-v1.0/oneapi-2024.2.1/intel-oneapi-mpi-2021.13.1-3pv63eugwmse2xpeglxib4dr2oeb42g2
76- modules :
77- - spack-managed-x86-64_v3
78- - intel-oneapi-compilers/2024.2.1
79- - intel-oneapi-mpi@2021.13.1
80- intel-oneapi-mkl :
81- buildable : false
82- externals :
83- - spec : intel-oneapi-mkl@2024.2.1
84- prefix : /apps/spack-managed-x86_64_v3-v1.0/gcc-11.3.1/intel-oneapi-mkl-2024.2.1-aeiool3i5jj4newwifvkhow5almp67rt
85- modules :
86- - spack-managed-x86-64_v3
87- - intel-oneapi-mkl/2024.2.1
88- intel-oneapi-runtime :
89- externals :
90- - spec : intel-oneapi-runtime@2024.2.1%oneapi@2024.2.1
91- prefix : /apps/spack-managed-x86_64_v3-v1.0/oneapi-2024.2.1/intel-oneapi-runtime-2024.2.1-hl5zgdjaldynq35dq3yotclfy2vblybx
92- modules :
93- - spack-managed-x86-64_v3
94- - intel-oneapi-compilers/2024.2.1
95- - intel-oneapi-runtime/2024.2.1
96- egl :
97- buildable : False
98- externals :
99- - spec : egl@1.5.0
100- prefix : /usr
65+ spack :
66+ concretizer :
67+ unify : when_possible
68+
69+ config :
70+ install_tree :
71+ root : $env/install
72+ modules :
73+ default :
74+ roots :
75+ lmod : $env/install/modulefiles
76+ tcl : $env/install/modulefiles
77+
78+ view : false
79+ include :
80+ - site
81+ - common
82+
83+ specs :
84+ - paraview@5.13.1+libcatalyst+fortran~ipo+mpi+python+opengl2+cdi ^[virtuals=gl]
85+ osmesa %oneapi@2024.2.1
86+ ^libcatalyst@2.0.0+fortran~ipo+python+conduit %oneapi@2024.2.1
87+ ^conduit@0.9.2+fortran~ipo+python+mpi %oneapi@2024.2.1
88+ ^mesa@23.3.6+glx+opengl~opengles+osmesa~strip+llvm %oneapi@2024.2.1
89+ ^llvm %oneapi@2024.2.1
90+ packages :
91+ all :
92+ prefer : ['%oneapi@2024.2.1']
93+ target : [linux-rocky9-icelake]
94+ upstreams :
95+ spack-stack-1.9.2-ue-oneapi-2024.1.0 :
96+ install_tree : /apps/contrib/spack-stack/spack-stack-1.9.2/envs/ue-oneapi-2024.1.0/install
10197
10298 .. note ::
10399 The indentation needs to be aligned correctly based on the structure of the file.
104100
101+ Then, following commands can be used to complate the installation of chained environment,
102+
103+ .. code-block :: console
104+
105+ spack concretize --force --deprecated --reuse
106+ spack install
107+ spack module lmod refresh --upstream-modules
108+ spack stack setup-meta-modules
109+
110+ .. note ::
111+ The GNU installation can be also chained with the same approach.
112+
105113NCAR Derecho
106114------------
107115
0 commit comments