-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into gributil_wgrib
- Loading branch information
Showing
11 changed files
with
47 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ jobs: | |
--exclude bison --exclude openssl \ | ||
--exclude python | ||
spack external find --scope system perl | ||
spack external find --scope system libiconv | ||
spack external find --scope system wget | ||
PATH="/opt/homebrew/opt/curl/bin:$PATH" \ | ||
spack external find --scope system curl | ||
|
@@ -79,12 +80,15 @@ jobs: | |
# *DH | ||
# Set compiler and MPI | ||
spack config add "packages:all:providers:mpi:[[email protected].1]" | ||
spack config add "packages:all:providers:mpi:[[email protected].3]" | ||
spack config add "packages:all:compiler:[[email protected]]" | ||
sed -i '' "s/\['\%aocc', '\%apple-clang', '\%gcc', '\%intel'\]/\['\%apple-clang'\]/g" $ENVDIR/spack.yaml | ||
# Add additional variants for MET packages, different from config/common/packages.yaml | ||
spack config add "packages:met:variants:+python +grib2 +graphics +lidar2nc +modis" | ||
# DH* 20240513 - avoid hdf-eos2 until https://github.com/spack/spack/issues/44168 is resolved | ||
#spack config add "packages:met:variants:+python +grib2 +graphics +lidar2nc +modis" | ||
spack config add "packages:met:variants:+python +grib2 +graphics" | ||
# *DH | ||
# Concretize and check for duplicates | ||
spack concretize 2>&1 | tee log.concretize.apple-clang-14.0.3 | ||
|
@@ -138,7 +142,7 @@ jobs: | |
module use ${ENVDIR}/install/modulefiles/Core | ||
module load stack-apple-clang/14.0.3 | ||
module load stack-openmpi/5.0.1 | ||
module load stack-openmpi/5.0.3 | ||
module load stack-python/3.10.13 | ||
module available | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,7 +72,7 @@ jobs: | |
spack config add config:install_tree:padded_length:200 | ||
# Set compiler and MPI | ||
spack config add "packages:all:providers:mpi:[[email protected].1]" | ||
spack config add "packages:all:providers:mpi:[[email protected].3]" | ||
spack config add "packages:all:compiler:[[email protected]]" | ||
sed -i "s/\['\%aocc', '\%apple-clang', '\%gcc', '\%intel'\]/\['\%gcc'\]/g" $ENVDIR/spack.yaml | ||
|
@@ -180,7 +180,7 @@ jobs: | |
module use ${ENVDIR}/install/modulefiles/Core | ||
module load stack-gcc/11.4.0 | ||
module load stack-openmpi/5.0.1 | ||
module load stack-openmpi/5.0.3 | ||
module load stack-python/3.10.13 | ||
module available | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,9 @@ | |
version: ['2.4.1'] | ||
bison: | ||
version: ['3.8.2'] | ||
# 1.85 incompatible with [email protected] - use latest "good version" | ||
boost: | ||
require: "@1.83: ~atomic +chrono +date_time +exception +filesystem ~graph ~iostreams ~locale ~log ~math ~mpi ~numpy +pic +program_options +python ~random +regex +serialization ~signals +system +test +thread +timer ~wave cxxstd=17 visibility=hidden" | ||
require: "@1.84 ~atomic +chrono +date_time +exception +filesystem ~graph ~iostreams ~locale ~log ~math ~mpi ~numpy +pic +program_options +python ~random +regex +serialization ~signals +system +test +thread +timer ~wave cxxstd=17 visibility=hidden" | ||
bufr: | ||
version: ['12.0.1'] | ||
variants: +python | ||
|
@@ -29,7 +30,7 @@ | |
version: ['2.2.0'] | ||
variants: ~openmp | ||
cmake: | ||
version: ['3.23.1'] | ||
version: ['3.27.9'] | ||
variants: +ownlibs | ||
# Attention - when updating also check the various jcsda-emc-bundles env packages | ||
crtm: | ||
|
@@ -115,8 +116,10 @@ | |
version: ['4.2.15'] | ||
variants: +external-xdr ~fortran ~netcdf | ||
hdf5: | ||
version: ['1.14.3'] | ||
variants: +hl +fortran +mpi ~threadsafe ~szip | ||
require: '@1.14.3 +hl +fortran +mpi +threadsafe ~szip' | ||
# Newer versions of hdf-eos2 require manual downloading, avoid | ||
hdf-eos2: | ||
require: "@2.20v1.00" | ||
ip: | ||
version: ['5.0.0'] | ||
variants: precision=4,d,8 | ||
|
@@ -162,9 +165,8 @@ | |
ncio: | ||
version: ['1.1.2'] | ||
netcdf-c: | ||
version: ['4.9.2'] | ||
# If using 4.9.1, turn off byterange variant to fix compile error: ~byterange | ||
variants: +dap +mpi ~parallel-netcdf ~szip | ||
require: "@4.9.2 +dap +mpi ~parallel-netcdf ~szip build_system=autotools" | ||
netcdf-cxx4: | ||
version: ['4.3.1'] | ||
netcdf-fortran: | ||
|
@@ -225,6 +227,12 @@ | |
py-h5py: | ||
version: ['3.7.0'] | ||
variants: ~mpi | ||
# To avoid duplicate packages | ||
py-flit-core: | ||
require: "@3.8.0" | ||
# To avoid duplicate packages | ||
py-jinja2: | ||
require: "@3.0.3" | ||
# Comment out for now until build problems are solved | ||
# https://github.com/jcsda/spack-stack/issues/522 | ||
# see also ewok-env virtual package and container | ||
|
@@ -246,7 +254,10 @@ | |
py-shapely: | ||
require: ['@1.8.0'] | ||
py-torch: | ||
require: "+internal-protobuf ~mkldnn" | ||
require: "+custom-protobuf ~mkldnn" | ||
# To avoid duplicate packages | ||
py-urllib3: | ||
require: "@1.26.12" | ||
qt: | ||
version: ['5.15.3'] | ||
scotch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ spack: | |
require: '%clang' | ||
target: [x86_64] | ||
providers: | ||
mpi: [[email protected].0] | ||
mpi: [[email protected].1] | ||
compiler: [[email protected]] | ||
gcc: | ||
buildable: false | ||
|
@@ -71,9 +71,9 @@ spack: | |
mpich: | ||
buildable: false | ||
externals: | ||
- spec: [email protected].0 | ||
prefix: /opt/mpich-4.2.0 | ||
version: [4.2.0] | ||
- spec: [email protected].1 | ||
prefix: /opt/mpich-4.2.1 | ||
version: [4.2.1] | ||
mysql: | ||
buildable: false | ||
externals: | ||
|
@@ -188,7 +188,7 @@ spack: | |
ln -svf libc++abi.so.1.0 libc++abi.so | ||
# | ||
# Build mpich outside of spack-stack | ||
ENV MPICH_VERSION=4.2.0 | ||
ENV MPICH_VERSION=4.2.1 | ||
ENV CC=clang | ||
ENV CXX=clang++ | ||
ENV FC=gfortran | ||
|
@@ -214,7 +214,7 @@ spack: | |
# Set environment variables for installing tzdata | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV TZ=Etc/UTC | ||
ENV MPICH_VERSION=4.2.0 | ||
ENV MPICH_VERSION=4.2.1 | ||
ENV PATH=/opt/mpich-${MPICH_VERSION}/bin:${PATH} | ||
ENV CPATH=/opt/mpich-${MPICH_VERSION}/include:${CPATH} | ||
ENV LD_LIBRARY_PATH=/opt/mpich-${MPICH_VERSION}/lib:${LD_LIBRARY_PATH} | ||
|
@@ -228,7 +228,7 @@ spack: | |
ln -svf libc++abi.so.1.0 libc++abi.so | ||
# Copy spack find output from builder | ||
COPY --from=builder /root/spack_find.out /root/spack_find.out | ||
ENV MPICH_VERSION=4.2.0 | ||
ENV MPICH_VERSION=4.2.1 | ||
# Copy mpich-${MPICH_VERSION} installation from builder | ||
COPY --from=builder /opt/mpich-${MPICH_VERSION} /opt/mpich-${MPICH_VERSION} | ||
# Make a non-root user:nonroot / group:nonroot for running MPI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ spack: | |
require: '%gcc' | ||
target: [x86_64] | ||
providers: | ||
mpi: [openmpi@5.1.6] | ||
mpi: [openmpi@5.0.3] | ||
compiler: [[email protected]] | ||
gcc: | ||
buildable: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,7 +299,7 @@ Remember to activate the ``lua`` module environment and have MacTeX in your sear | |
# Check your clang version then add it to your site compiler config. | ||
clang --version | ||
spack config add "packages:all:compiler:[apple-clang@YOUR-VERSION]" | ||
spack config add "packages:all:providers:mpi:[[email protected].1]" | ||
spack config add "packages:all:providers:mpi:[[email protected].3]" | ||
8. If the environment will be used to run JCSDA's JEDI-Skylab experiments using R2D2 with a local MySQL server, run the following command: | ||
|
||
|
@@ -550,10 +550,10 @@ It is recommended to increase the stacksize limit by using ``ulimit -S -s unlimi | |
spack config add "packages:all:compiler:[gcc@YOUR-VERSION]" | ||
# Example for Red Hat 8 following the above instructions | ||
spack config add "packages:all:providers:mpi:[[email protected].1]" | ||
spack config add "packages:all:providers:mpi:[[email protected].3]" | ||
# Example for Ubuntu 20.04 or 22.04 following the above instructions | ||
spack config add "packages:all:providers:mpi:[mpich@4.1.2]" | ||
spack config add "packages:all:providers:mpi:[mpich@4.2.1]" | ||
.. warning:: | ||
On some systems, the default compiler (e.g., ``gcc`` on Ubuntu 20) may not get used by spack if a newer version is found. Compare your entry to the output of the concretization step later and adjust the entry, if necessary. | ||
|
Submodule spack
updated
2015 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters