Compare commits
87 Commits
refactorin
...
main
Author | SHA1 | Date | |
---|---|---|---|
63d0a437a3 | |||
18801845c2 | |||
c7658827e0 | |||
47c6d98a13 | |||
317910a2cd | |||
29e5454f49 | |||
99fd9f2f23 | |||
b7f2a28f73 | |||
04e6d5881e | |||
2b8a4c7dbc | |||
373745331e | |||
83b53f8b6b | |||
a8da8cc2cf | |||
797ce481dc | |||
27908ae6e1 | |||
db1ca0404c | |||
3355d11e53 | |||
5aafd5e07a | |||
24cbe4db11 | |||
8b657a6026 | |||
b9d0438497 | |||
469b3d766b | |||
49656625f1 | |||
35b3d68d25 | |||
b9c35c6298 | |||
88aacdb5c7 | |||
ad5ad776d6 | |||
fbddaa122b | |||
177feba2d4 | |||
1fe2050e04 | |||
16d320e06e | |||
dc216a4094 | |||
2c628dc755 | |||
154f68edc3 | |||
243615407e | |||
a0bcbb5c1d | |||
f3f6d88d09 | |||
853fa71cb1 | |||
723128554d | |||
65f678efe7 | |||
8068f5cfba | |||
7df462761b | |||
c199d3f74b | |||
b453b0739d | |||
aa9386d3ff | |||
aa08c30d0b | |||
9687040f67 | |||
75de5a0bf0 | |||
329228992a | |||
6176517a33 | |||
b2b8380401 | |||
89cb0ee34f | |||
c7a80262eb | |||
f903a3188a | |||
d5569a0d9f | |||
170fc78d4d | |||
f8f98c6db9 | |||
fef3198253 | |||
6c7b80c0de | |||
6bd4af4b36 | |||
dd8b8f150c | |||
bae6939841 | |||
d033681018 | |||
030373be10 | |||
b0c927f440 | |||
8a455a7727 | |||
8354132792 | |||
114945acd4 | |||
bc38ceb9c9 | |||
65e12fc811 | |||
9553585216 | |||
167ff7e556 | |||
52d3517016 | |||
d19f9846aa | |||
d5fe042967 | |||
22a9a652b4 | |||
33f1d144dc | |||
d64194ccb3 | |||
dff7377a21 | |||
b74fb5f077 | |||
23ae642e73 | |||
ec617d06df | |||
284cf47b9e | |||
9467ba2908 | |||
64414d31fa | |||
e2affe8818 | |||
16f4f1a137 |
17
.gitea/workflows/ippl_gh_merlin7.yml
Normal file
17
.gitea/workflows/ippl_gh_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: IPPL GH Merlin7 Scheduler
|
||||
run-name: IPPL GH Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch GH GPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/ippl_gh.sbatch
|
||||
sbatch .gitea/workflows/sbatch/ippl_gh.sbatch
|
17
.gitea/workflows/ippl_gpu_merlin7.yml
Normal file
17
.gitea/workflows/ippl_gpu_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: IPPL GPU Merlin7 Scheduler
|
||||
run-name: IPPL GPU Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch A100 GPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/ippl_gpu.sbatch
|
||||
sbatch .gitea/workflows/sbatch/ippl_gpu.sbatch
|
17
.gitea/workflows/opal-x_gh_merlin7.yml
Normal file
17
.gitea/workflows/opal-x_gh_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: OPAL-X GH Merlin7 Scheduler
|
||||
run-name: OPAL-X GH Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch GH GPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/opal-x_gh.sbatch
|
||||
sbatch .gitea/workflows/sbatch/opal-x_gh.sbatch
|
17
.gitea/workflows/opal-x_gpu_merlin7.yml
Normal file
17
.gitea/workflows/opal-x_gpu_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: OPAL-X-GPU Merlin7 Scheduler
|
||||
run-name: OPAL-X-GPU Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch A100 GPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/opal-x_gpu.sbatch
|
||||
sbatch .gitea/workflows/sbatch/opal-x_gpu.sbatch
|
17
.gitea/workflows/q-e_cpu_merlin7.yml
Normal file
17
.gitea/workflows/q-e_cpu_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: QE-CPU Merlin7 Scheduler
|
||||
run-name: QE-CPU Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch CPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/q-e_cpu.sbatch
|
||||
sbatch .gitea/workflows/sbatch/q-e_cpu.sbatch
|
17
.gitea/workflows/q-e_gh_merlin7.yml
Normal file
17
.gitea/workflows/q-e_gh_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: QE-GH Merlin7 Scheduler
|
||||
run-name: QE-GH Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch GH GPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/q-e_gh.sbatch
|
||||
sbatch .gitea/workflows/sbatch/q-e_gh.sbatch
|
17
.gitea/workflows/q-e_gpu_merlin7.yml
Normal file
17
.gitea/workflows/q-e_gpu_merlin7.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: QE-GPU Merlin7 Scheduler
|
||||
run-name: QE-GPU Merlin7 Scheduler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: merlin7
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Sbatch A100 GPU script
|
||||
run: |
|
||||
chmod +x .gitea/workflows/sbatch/q-e_gpu.sbatch
|
||||
sbatch .gitea/workflows/sbatch/q-e_gpu.sbatch
|
31
.gitea/workflows/sbatch/ippl_gh.sbatch
Executable file
31
.gitea/workflows/sbatch/ippl_gh.sbatch
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="ippl-scheduled-GH-GPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=gh-daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tgmerlin7
|
||||
#SBATCH --gpus=1
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module purge
|
||||
module use Spack unstable
|
||||
module load gcc/13.2.0 openmpi/5.0.3-3lmi-GH200-gpu
|
||||
module load boost/1.82.0-3ns6 fftw/3.3.10 gnutls/3.8.3 googletest/1.14.0 gsl/2.7.1 h5hut/2.0.0rc7 openblas/0.3.26 cmake/3.31.4-u2nm
|
||||
|
||||
git clone https://github.com/IPPL-framework/ippl.git
|
||||
cd ippl
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ARCH_HOPPER90=ON -DCMAKE_CXX_STANDARD=20 -DIPPL_ENABLE_FFT=ON -DIPPL_ENABLE_TESTS=ON -DUSE_ALTERNATIVE_VARIANT=ON -DIPPL_ENABLE_SOLVERS=ON -DIPPL_ENABLE_ALPINE=True -DIPPL_PLATFORMS=cuda ..
|
||||
make -j 16
|
||||
|
30
.gitea/workflows/sbatch/ippl_gpu.sbatch
Executable file
30
.gitea/workflows/sbatch/ippl_gpu.sbatch
Executable file
@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="ippl-scheduled-A100-GPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=a100-daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tgmerlin7
|
||||
#SBATCH --gpus=1
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module use Spack unstable
|
||||
module load gcc/13.2.0 openmpi/4.1.6-57rc-A100-gpu
|
||||
module load boost/1.82.0-e7gp fftw/3.3.10 gnutls/3.8.3 googletest/1.14.0 gsl/2.8 h5hut/2.0.0rc7 openblas/0.3.26-omp cmake/3.31.6-oe7u
|
||||
|
||||
git clone https://github.com/IPPL-framework/ippl.git
|
||||
cd ippl
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ARCH_AMPERE80=ON -DCMAKE_CXX_STANDARD=20 -DIPPL_ENABLE_FFT=ON -DIPPL_ENABLE_TESTS=ON -DUSE_ALTERNATIVE_VARIANT=ON -DIPPL_ENABLE_SOLVERS=ON -DIPPL_ENABLE_ALPINE=True -DIPPL_PLATFORMS=cuda ..
|
||||
make -j 16
|
||||
|
32
.gitea/workflows/sbatch/opal-x_gh.sbatch
Executable file
32
.gitea/workflows/sbatch/opal-x_gh.sbatch
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="opal-x-scheduled-GH-GPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=gh-daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tgmerlin7
|
||||
#SBATCH --gpus=1
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module purge
|
||||
module use Spack unstable
|
||||
module load gcc/13.2.0 openmpi/5.0.3-3lmi-GH200-gpu
|
||||
module load boost/1.82.0-3ns6 fftw/3.3.10 gnutls/3.8.3 googletest/1.14.0 gsl/2.7.1 h5hut/2.0.0rc7 openblas/0.3.26 cmake/3.31.4-u2nm
|
||||
|
||||
git clone https://gitlab.psi.ch/OPAL/opal-x/src.git opal-x
|
||||
cd opal-x
|
||||
./gen_OPALrevision
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ARCH_HOPPER90=ON -DCMAKE_CXX_STANDARD=20 -DIPPL_ENABLE_FFT=ON -DIPPL_ENABLE_TESTS=OFF -DUSE_ALTERNATIVE_VARIANT=ON -DIPPL_ENABLE_SOLVERS=ON -DIPPL_ENABLE_ALPINE=True -DIPPL_PLATFORMS=cuda ..
|
||||
make -j 16
|
||||
|
31
.gitea/workflows/sbatch/opal-x_gpu.sbatch
Executable file
31
.gitea/workflows/sbatch/opal-x_gpu.sbatch
Executable file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="opal-x-scheduled-A100-GPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=a100-daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tgmerlin7
|
||||
#SBATCH --gpus=1
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module use Spack unstable
|
||||
module load gcc/13.2.0 openmpi/4.1.6-57rc-A100-gpu
|
||||
module load boost/1.82.0-e7gp fftw/3.3.10 gnutls/3.8.3 googletest/1.14.0 gsl/2.8 h5hut/2.0.0rc7 openblas/0.3.26-omp cmake/3.31.6-oe7u
|
||||
|
||||
git clone https://gitlab.psi.ch/OPAL/opal-x/src.git opal-x
|
||||
cd opal-x
|
||||
./gen_OPALrevision
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DKokkos_ARCH_AMPERE80=ON -DCMAKE_CXX_STANDARD=20 -DIPPL_ENABLE_FFT=ON -DIPPL_ENABLE_TESTS=OFF -DIPPL_ENABLE_SOLVERS=ON -DIPPL_ENABLE_ALPINE=True -DIPPL_PLATFORMS=cuda ..
|
||||
make -j 16
|
||||
|
25
.gitea/workflows/sbatch/q-e_cpu.sbatch
Executable file
25
.gitea/workflows/sbatch/q-e_cpu.sbatch
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="qe-scheduled-CPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tmerlin7
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module use Spack unstable
|
||||
module load gcc/12.3 openmpi/main-syah fftw/3.3.10.6-omp hdf5/1.14.5-t46c openblas/0.3.29-omp cmake/3.31.6-oe7u
|
||||
|
||||
git clone https://gitlab.com/QEF/q-e.git
|
||||
cd q-e
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DQE_ENABLE_MPI:BOOL=ON -DQE_ENABLE_OPENMP:BOOL=ON -DCMAKE_C_COMPILER:STRING=mpicc -DCMAKE_Fortran_COMPILER:STRING=mpif90 -DQE_ENABLE_HDF5:BOOL=ON ..
|
||||
make -j 16
|
27
.gitea/workflows/sbatch/q-e_gh.sbatch
Executable file
27
.gitea/workflows/sbatch/q-e_gh.sbatch
Executable file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="qe-scheduled-GH-GPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=gh-daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tgmerlin7
|
||||
#SBATCH --gpus=1
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module use Spack unstable
|
||||
module load nvhpc/25.3 openmpi/5.0.7-e3bf-GH200-gpu fftw/3.3.10-sfpw-omp hdf5/develop-2.0-ztvo nvpl-blas/0.4.0.1-3zpg nvpl-lapack/0.3.0-ymy5 netlib-scalapack/2.2.2-qrhq cmake/3.31.6-5dl7
|
||||
|
||||
module load git/2.42.0-y4e4
|
||||
git clone https://gitlab.com/QEF/q-e.git
|
||||
cd q-e
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DQE_ENABLE_MPI:BOOL=ON -DQE_ENABLE_OPENMP:BOOL=ON -DQE_ENABLE_SCALAPACK:BOOL=ON -DQE_ENABLE_CUDA:BOOL=ON -DQE_ENABLE_MPI_GPU_AWARE:BOOL=ON -DQE_ENABLE_OPENACC:BOOL=ON -DCMAKE_C_COMPILER:STRING=mpicc -DCMAKE_Fortran_COMPILER:STRING=mpif90 -DQE_ENABLE_HDF5:BOOL=ON ..
|
||||
make -j 16
|
25
.gitea/workflows/sbatch/q-e_gpu.sbatch
Executable file
25
.gitea/workflows/sbatch/q-e_gpu.sbatch
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
#SBATCH --job-name="qe-scheduled-A100-GPU"
|
||||
#SBATCH --output=_scheduler-stdout.txt
|
||||
#SBATCH --error=_scheduler-stderr.txt
|
||||
#SBATCH --partition=a100-daily
|
||||
#SBATCH --nodes=1
|
||||
#SBATCH --ntasks-per-node=16
|
||||
#SBATCH --time=01:00:00
|
||||
#SBATCH --cluster=tgmerlin7
|
||||
#SBATCH --gpus=1
|
||||
#SBATCH --wait
|
||||
|
||||
export SSL_CERT_FILE=/etc/ssl/ca-bundle.pem
|
||||
export REQUESTS_CA_BUNDLE=/etc/ssl/ca-bundle.pem
|
||||
PMODULES_VERSION='2.0.0.2'
|
||||
source /opt/psi/config/profile.bash
|
||||
|
||||
module use Spack unstable
|
||||
module load nvhpc/25.3 openmpi/main-6bnq-A100-gpu fftw/3.3.10.6-qbxu-omp hdf5/develop-2.0-rjgu netlib-scalapack/2.2.2-3hgw cmake/3.31.6-oe7u
|
||||
git clone https://gitlab.com/QEF/q-e.git
|
||||
cd q-e
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DQE_ENABLE_MPI:BOOL=ON -DQE_ENABLE_OPENMP:BOOL=ON -DQE_ENABLE_SCALAPACK:BOOL=ON -DQE_ENABLE_CUDA:BOOL=ON -DQE_ENABLE_MPI_GPU_AWARE:BOOL=ON -DQE_ENABLE_OPENACC:BOOL=ON -DCMAKE_C_COMPILER:STRING=mpicc -DCMAKE_Fortran_COMPILER:STRING=mpif90 -DQE_ENABLE_HDF5:BOOL=ON ..
|
||||
make -j 16
|
@ -1,32 +0,0 @@
|
||||
stages: [build_test]
|
||||
|
||||
variables:
|
||||
GIT_STRATEGY: clone
|
||||
MAX_JOB_NB: 4
|
||||
SPACK_BRANCH: develop
|
||||
SPACK_PCKG: ffbidx
|
||||
SPACK_PCKG_VERSION: main
|
||||
SPACK_REPO: https://github.com/spack/spack.git
|
||||
|
||||
build_test:
|
||||
tags:
|
||||
- merlin
|
||||
stage: build_test
|
||||
script:
|
||||
- git clone ${SPACK_REPO} -b ${SPACK_BRANCH}
|
||||
- . "./spack/share/spack/setup-env.sh"
|
||||
- source /opt/psi/config/profile.bash
|
||||
- module load git-lfs
|
||||
- spack clean -a # Make sure spack doesn't have any caches left
|
||||
- rm -rf /scratch/${USER}/spack-dev/${SPACK_PCKG} # Remove previous packages
|
||||
- spack uninstall -Ray
|
||||
- SPACK_PCKG_LOWERCASE=$(echo "${SPACK_PCKG,,}")
|
||||
- if [[ "$SPACK_PCKG_LOWERCASE" == "hiqsimulator" ]]; then
|
||||
- SPACK_PCKG_LOWERCASE="py-$SPACK_PCKG_LOWERCASE"
|
||||
- fi
|
||||
- spack env activate --without-view env/$(spack arch -o)/${SPACK_PCKG_LOWERCASE}
|
||||
- spack develop --path /scratch/\$user/spack-dev/${SPACK_PCKG} --force ${SPACK_PCKG_LOWERCASE}@${SPACK_PCKG_VERSION}
|
||||
- spack install -j ${MAX_JOB_NB}
|
||||
- spack load
|
||||
# - JOB_ID=$(sbatch --parsable ../test/run.slurm)
|
||||
# - cat slurm-${JOB_ID}.out
|
@ -2,7 +2,7 @@
|
||||
|
||||
[Official Spack documentation](https://spack.readthedocs.io/en/latest/)
|
||||
|
||||
## How to use on Merlin systems (Merlin6/Merlin7)
|
||||
## How to use on Merlin systems (Merlin6/Merlin7/Ra)
|
||||
|
||||
Load the spack module
|
||||
|
||||
|
8
env/rhel7/x86_64/admin/stable/spack.yaml
vendored
8
env/rhel7/x86_64/admin/stable/spack.yaml
vendored
@ -13,14 +13,18 @@ spack:
|
||||
- gcc_12.3.0_openmpi:
|
||||
- opal@master/l4dkgyf
|
||||
include:
|
||||
- $spack/spack-psi/env/rhel7/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/rhel7/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/rhel7/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/stable
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/stable/modulefiles
|
||||
lmod:
|
||||
core_compilers:
|
||||
- gcc@=4.8.5
|
||||
specs:
|
||||
- matrix:
|
||||
- [$compilers]
|
||||
|
9
env/rhel7/x86_64/admin/testing/spack.yaml
vendored
9
env/rhel7/x86_64/admin/testing/spack.yaml
vendored
@ -1,4 +1,3 @@
|
||||
---
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
@ -8,13 +7,15 @@ spack:
|
||||
# Strongly adviced to avoid problems with buildcaches
|
||||
padded_length: 256
|
||||
include:
|
||||
- $spack/spack-psi/env/rhel7/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/rhel7/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/rhel7/$target_family/sysconfigs/packages.yaml
|
||||
#include_concrete:
|
||||
#- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/testing
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/testing/modulefiles
|
||||
specs: []
|
||||
specs:
|
||||
- opencv
|
||||
view: false
|
||||
|
2
env/rhel7/x86_64/admin/unstable/spack.lock
vendored
2
env/rhel7/x86_64/admin/unstable/spack.lock
vendored
File diff suppressed because one or more lines are too long
8
env/rhel7/x86_64/admin/unstable/spack.yaml
vendored
8
env/rhel7/x86_64/admin/unstable/spack.yaml
vendored
@ -12,6 +12,7 @@ spack:
|
||||
- ffbidx@main/vyjua6z
|
||||
- sratoolkit@3.1.1/2szh2jy
|
||||
- star@2.7.11a/icumpki
|
||||
- opencv@4.10.0/7fjszca
|
||||
- gcc_12.3.0_openmpi:
|
||||
- cp2k@2024.1/2bayb45 # ~cuda
|
||||
- cp2k@2024.1/exkrpix # +cuda
|
||||
@ -21,14 +22,15 @@ spack:
|
||||
- oneapi_2024.1.0_openmpi:
|
||||
- gromacs@2024.1/pi5t2pp # ~cuda
|
||||
include:
|
||||
- $spack/spack-psi/env/rhel7/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/rhel7/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/rhel7/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/unstable
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/unstable/modulefiles
|
||||
lmod: $spack/opt/spack/unstable/modulefiles
|
||||
specs:
|
||||
- matrix:
|
||||
- [$gcc_12.3.0]
|
||||
|
16
env/rhel7/x86_64/sysconfigs/compilers.yaml
vendored
16
env/rhel7/x86_64/sysconfigs/compilers.yaml
vendored
@ -15,10 +15,10 @@ compilers:
|
||||
- compiler:
|
||||
spec: gcc@=12.3.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/gcc
|
||||
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/g++
|
||||
f77: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/gfortran
|
||||
fc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/gfortran
|
||||
cc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/gcc
|
||||
cxx: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/g++
|
||||
f77: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/gfortran
|
||||
fc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/gcc-12.3.0-zpn75bqd4uuxamtoonk5tkiproitfqpt/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: rhel7
|
||||
target: x86_64
|
||||
@ -28,10 +28,10 @@ compilers:
|
||||
- compiler:
|
||||
spec: oneapi@=2024.1.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/icx
|
||||
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/icpx
|
||||
f77: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/ifx
|
||||
fc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/ifx
|
||||
cc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/icx
|
||||
cxx: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/icpx
|
||||
f77: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/ifx
|
||||
fc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-rhel7-x86_64/gcc-4.8.5/intel-oneapi-compilers-2024.1.0-4xhusak77uwpnggnimldlea4qydtzxy7/compiler/2024.1/bin/ifx
|
||||
flags: {}
|
||||
operating_system: rhel7
|
||||
target: x86_64
|
||||
|
6
env/rhel7/x86_64/sysconfigs/packages.yaml
vendored
6
env/rhel7/x86_64/sysconfigs/packages.yaml
vendored
@ -69,8 +69,6 @@ packages:
|
||||
require: '%gcc'
|
||||
freetype:
|
||||
require: '%gcc@4.8.5'
|
||||
gams:
|
||||
require: '%gcc@4.8.5'
|
||||
gawk:
|
||||
require: '%gcc@4.8.5'
|
||||
gcc:
|
||||
@ -147,7 +145,7 @@ packages:
|
||||
libxml2:
|
||||
require: '%gcc@4.8.5'
|
||||
libxpm:
|
||||
require: '%gcc@4.8.5'
|
||||
require: '%gcc'
|
||||
libxt:
|
||||
require: '%gcc'
|
||||
m4:
|
||||
@ -171,7 +169,7 @@ packages:
|
||||
prefix: /usr
|
||||
openmpi:
|
||||
require:
|
||||
- spec: schedulers=slurm fabrics=auto pmi-interface=pmi2 +cxx +cuda +legacylaunchers
|
||||
- spec: schedulers=slurm fabrics=auto +internal-pmix +cxx +cuda +legacylaunchers
|
||||
- spec: '+cxx_exceptions'
|
||||
when: '%gcc'
|
||||
openssh:
|
||||
|
8
env/rhel7/x86_64/users/stable/spack.yaml
vendored
8
env/rhel7/x86_64/users/stable/spack.yaml
vendored
@ -2,13 +2,15 @@ spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/spack-psi/env/rhel7/x86_64/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/rhel7/x86_64/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/rhel7/x86_64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/stable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: >-
|
||||
$spack/opt/spack/stable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
||||
|
11
env/rhel7/x86_64/users/unstable/spack.yaml
vendored
11
env/rhel7/x86_64/users/unstable/spack.yaml
vendored
@ -2,15 +2,18 @@ spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/spack-psi/env/rhel7/x86_64/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/rhel7/x86_64/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/rhel7/x86_64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/rhel7/x86_64/admin/unstable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/unstable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/unstable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: $spack/opt/spack/stable
|
||||
unstable:
|
||||
install_tree: $spack/opt/spack/unstable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
||||
|
1
env/rhel8/x86_64/admin/stable/spack.lock
vendored
Normal file
1
env/rhel8/x86_64/admin/stable/spack.lock
vendored
Normal file
File diff suppressed because one or more lines are too long
36
env/rhel8/x86_64/admin/stable/spack.yaml
vendored
Normal file
36
env/rhel8/x86_64/admin/stable/spack.yaml
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
config:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/stable
|
||||
definitions:
|
||||
- compilers:
|
||||
- gcc@=12.3.0
|
||||
- intel-oneapi-compilers@=2024.1.0
|
||||
- gcc_4.8.5:
|
||||
- fpart@1.6.0/lcygtky
|
||||
- gcc_12.3.0_openmpi:
|
||||
- opal@master/l4dkgyf
|
||||
include:
|
||||
- $spack/../spack-psi/env/rhel8/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/stable/modulefiles
|
||||
specs:
|
||||
- matrix:
|
||||
- [$compilers]
|
||||
- ['%gcc@4.8.5']
|
||||
- matrix:
|
||||
- [$gcc_4.8.5]
|
||||
- ['%gcc@4.8.5']
|
||||
- matrix:
|
||||
- [$gcc_12.3.0_openmpi]
|
||||
- [^openmpi%gcc]
|
||||
- ['%gcc@12.3.0']
|
||||
view: false
|
21
env/rhel8/x86_64/admin/testing/spack.yaml
vendored
Normal file
21
env/rhel8/x86_64/admin/testing/spack.yaml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
config:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/testing
|
||||
# Strongly adviced to avoid problems with buildcaches
|
||||
padded_length: 256
|
||||
include:
|
||||
- $spack/../spack-psi/env/rhel8/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/testing
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/testing/modulefiles
|
||||
specs: []
|
||||
view: false
|
1
env/rhel8/x86_64/admin/unstable/spack.lock
vendored
Normal file
1
env/rhel8/x86_64/admin/unstable/spack.lock
vendored
Normal file
File diff suppressed because one or more lines are too long
45
env/rhel8/x86_64/admin/unstable/spack.yaml
vendored
Normal file
45
env/rhel8/x86_64/admin/unstable/spack.yaml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
---
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
config:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/unstable
|
||||
definitions:
|
||||
- gcc_12.3.0:
|
||||
- cellranger@8.0.1/6h63gx
|
||||
- fastqc@0.12.1/dkkcfu5
|
||||
- ffbidx@main/vyjua6z
|
||||
- sratoolkit@3.1.1/2szh2jy
|
||||
- star@2.7.11a/icumpki
|
||||
- gcc_12.3.0_openmpi:
|
||||
- cp2k@2024.1/2bayb45 # ~cuda
|
||||
- cp2k@2024.1/exkrpix # +cuda
|
||||
- quantum-espresso@7.3.1/yuxkoz2 # hdf5=parallel
|
||||
- py-alphafold@2.3.2/rrfdppp # ~cuda
|
||||
- py-alphafold@2.3.2/tqziprv # +cuda
|
||||
- oneapi_2024.1.0_openmpi:
|
||||
- gromacs@2024.1/pi5t2pp # ~cuda
|
||||
include:
|
||||
- $spack/../spack-psi/env/rhel8/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/unstable
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/unstable/modulefiles
|
||||
specs:
|
||||
- matrix:
|
||||
- [$gcc_12.3.0]
|
||||
- ['%gcc@12.3.0']
|
||||
- matrix:
|
||||
- [$gcc_12.3.0_openmpi]
|
||||
- [^openmpi%gcc]
|
||||
- ['%gcc@12.3.0']
|
||||
- matrix:
|
||||
- [$oneapi_2024.1.0_openmpi]
|
||||
- [^openmpi%oneapi]
|
||||
- ['%oneapi@2024.1.0']
|
||||
view: false
|
14
env/rhel8/x86_64/sysconfigs/compilers.yaml
vendored
Normal file
14
env/rhel8/x86_64/sysconfigs/compilers.yaml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
compilers:
|
||||
- compiler:
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
flags: {}
|
||||
modules: []
|
||||
operating_system: rhel8
|
||||
paths:
|
||||
cc: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
f77: /usr/bin/gfortran
|
||||
fc: /usr/bin/gfortran
|
||||
spec: gcc@8.5.0
|
||||
target: x86_64
|
224
env/rhel8/x86_64/sysconfigs/packages.yaml
vendored
Normal file
224
env/rhel8/x86_64/sysconfigs/packages.yaml
vendored
Normal file
@ -0,0 +1,224 @@
|
||||
---
|
||||
packages:
|
||||
all:
|
||||
compiler: [gcc@8.5.0, oneapi, nvhpc]
|
||||
prefer:
|
||||
- spec: '^openmpi'
|
||||
providers:
|
||||
blas: [openblas, intel-oneapi-mkl, nvhpc]
|
||||
lapack: [openblas, intel-oneapi-mkl, nvhpc]
|
||||
mpi: [openmpi, mpich, intel-oneapi-mpi]
|
||||
pkgconfig: [pkg-config]
|
||||
require:
|
||||
- spec: 'target=skylake_avx512'
|
||||
when: "%nvhpc"
|
||||
message: "nvhpc compilers cannot target generic x86_64 microarchitecture."
|
||||
- spec: "os=rhel8"
|
||||
target: [x86_64]
|
||||
# Default GPU arch
|
||||
variants:
|
||||
- cuda_arch=60
|
||||
autoconf:
|
||||
require: '%gcc@8.5.0'
|
||||
automake:
|
||||
require: '%gcc@8.5.0'
|
||||
berkeley-db:
|
||||
require: '%gcc@8.5.0'
|
||||
binutils:
|
||||
require: '%gcc@8.5.0'
|
||||
boost:
|
||||
require: '%gcc'
|
||||
bzip2:
|
||||
require: '%gcc@8.5.0'
|
||||
ca-certificates-mozilla:
|
||||
require: '%gcc@8.5.0'
|
||||
cairo:
|
||||
require: '%gcc@8.5.0'
|
||||
cmake:
|
||||
require: '%gcc'
|
||||
coreutils:
|
||||
require: '%gcc@8.5.0'
|
||||
cp2k:
|
||||
require: 'build_system=makefile'
|
||||
cpio:
|
||||
require: '%gcc'
|
||||
ctffind:
|
||||
require: '%gcc'
|
||||
# Makes sure the binary works on any sytem (incl. Gwendolen)
|
||||
cuda:
|
||||
require: '@12.2:'
|
||||
curl:
|
||||
require: '%gcc@8.5.0'
|
||||
cvs:
|
||||
require: '%gcc@8.5.0'
|
||||
diffutils:
|
||||
require: '%gcc@8.5.0'
|
||||
doxygen:
|
||||
require: '%gcc'
|
||||
expat:
|
||||
require: '%gcc@8.5.0'
|
||||
file:
|
||||
require: '%gcc@8.5.0'
|
||||
findutils:
|
||||
require: '%gcc@8.5.0'
|
||||
flex:
|
||||
require: '%gcc@8.5.0'
|
||||
fltk:
|
||||
require: '%gcc'
|
||||
fontconfig:
|
||||
require: '%gcc'
|
||||
freetype:
|
||||
require: '%gcc@8.5.0'
|
||||
gams:
|
||||
require: '%gcc@8.5.0'
|
||||
gawk:
|
||||
require: '%gcc@8.5.0'
|
||||
gcc:
|
||||
require: '%gcc@8.5.0'
|
||||
gdbm:
|
||||
require: '%gcc@8.5.0'
|
||||
gettext:
|
||||
buildable: false
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: gettext@0.19.8.1
|
||||
ghostscript:
|
||||
require: '%gcc@8.5.0'
|
||||
git:
|
||||
require: '%gcc@8.5.0'
|
||||
glew:
|
||||
require: '%gcc'
|
||||
gmake:
|
||||
require: '%gcc@8.5.0'
|
||||
groff:
|
||||
require: '%gcc@8.5.0'
|
||||
harfbuzz:
|
||||
require: '%gcc'
|
||||
hcoll:
|
||||
require: '%gcc@8.5.0'
|
||||
icu4c:
|
||||
require: '@67.1%gcc@12.3.0'
|
||||
intel-oneapi-compilers:
|
||||
require: '%gcc@8.5.0'
|
||||
libbsd:
|
||||
require: '%gcc@8.5.0'
|
||||
libcroco:
|
||||
require: '%gcc@8.5.0'
|
||||
libepoxy:
|
||||
require: '%gcc@8.5.0'
|
||||
libevent:
|
||||
require: '%gcc@8.5.0'
|
||||
libfuse:
|
||||
require: '%gcc@8.5.0'
|
||||
libice:
|
||||
require: '%gcc@8.5.0'
|
||||
libiconv:
|
||||
require: '%gcc@8.5.0'
|
||||
libidn2:
|
||||
require: '%gcc@8.5.0'
|
||||
libjpeg-turbo:
|
||||
require: '%gcc@8.5.0'
|
||||
libmd:
|
||||
require: '%gcc@8.5.0'
|
||||
libpciaccess:
|
||||
require: '%gcc@8.5.0'
|
||||
libpthread:
|
||||
require: '%gcc@8.5.0'
|
||||
libpthread-stubs:
|
||||
require: '%gcc@8.5.0'
|
||||
libreadline:
|
||||
require: '%gcc@8.5.0'
|
||||
librsvg:
|
||||
require: '%gcc'
|
||||
libsigsegv:
|
||||
require: '%gcc@8.5.0'
|
||||
libtiff:
|
||||
require: '%gcc'
|
||||
libtool:
|
||||
require: '%gcc@8.5.0'
|
||||
libx11:
|
||||
require: '%gcc@8.5.0'
|
||||
libxcb:
|
||||
require: '%gcc@8.5.0'
|
||||
libxext:
|
||||
require: '%gcc@8.5.0'
|
||||
libxft:
|
||||
require: '%gcc'
|
||||
libxml2:
|
||||
require: '%gcc@8.5.0'
|
||||
libxpm:
|
||||
require: '%gcc@8.5.0'
|
||||
libxt:
|
||||
require: '%gcc'
|
||||
m4:
|
||||
require: '%gcc@8.5.0'
|
||||
ncurses:
|
||||
require: '%gcc@8.5.0'
|
||||
ninja:
|
||||
require: '%gcc@8.5.0'
|
||||
nlohmann-json:
|
||||
require: '%gcc@8.5.0'
|
||||
numactl:
|
||||
require: '%gcc@8.5.0'
|
||||
nvhpc:
|
||||
require: '%gcc@8.5.0 install_type=network'
|
||||
openblas:
|
||||
require: '%gcc'
|
||||
openmpi:
|
||||
require:
|
||||
- spec: schedulers=slurm fabrics=auto pmi-interface=pmi2 +cxx +cuda +legacylaunchers
|
||||
- spec: '+cxx_exceptions'
|
||||
when: '%gcc'
|
||||
openssh:
|
||||
require: '%gcc@8.5.0'
|
||||
openssl:
|
||||
require: '%gcc@8.5.0'
|
||||
pcre2:
|
||||
require: '%gcc@8.5.0'
|
||||
perl:
|
||||
require: '%gcc@8.5.0'
|
||||
pkg-config:
|
||||
require: '%gcc@8.5.0'
|
||||
py-numpy:
|
||||
require: '%gcc@12.3.0'
|
||||
python:
|
||||
require: '%gcc'
|
||||
readline:
|
||||
require: '%gcc@8.5.0'
|
||||
rsync:
|
||||
require: '%gcc@8.5.0'
|
||||
ruby:
|
||||
require: '%gcc@8.5.0'
|
||||
sed:
|
||||
require: '%gcc@8.5.0'
|
||||
slurm:
|
||||
buildable: false
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: slurm@24-05-2-1 +pmix +hwloc +hdf5 +mariadb +pam
|
||||
sqlite:
|
||||
require: '%gcc@8.5.0'
|
||||
subversion:
|
||||
require: '%gcc@8.5.0'
|
||||
tar:
|
||||
require: '%gcc@8.5.0'
|
||||
texinfo:
|
||||
require: '%gcc@8.5.0'
|
||||
unuran:
|
||||
require: '%gcc@8.5.0'
|
||||
util-linux-uuid:
|
||||
require: '%gcc@8.5.0'
|
||||
util-macros:
|
||||
require: '%gcc@8.5.0'
|
||||
valgrind:
|
||||
require: '%gcc@8.5.0'
|
||||
xerces-c:
|
||||
require: '%gcc@8.5.0'
|
||||
xxhash:
|
||||
require: '%gcc@8.5.0'
|
||||
xz:
|
||||
require: '%gcc@8.5.0'
|
||||
zlib:
|
||||
require: '%gcc@8.5.0'
|
||||
zstd:
|
||||
require: '%gcc@8.5.0'
|
16
env/rhel8/x86_64/users/stable/spack.yaml
vendored
Normal file
16
env/rhel8/x86_64/users/stable/spack.yaml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/../spack-psi/env/rhel8/x86_64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: >-
|
||||
$spack/opt/spack/stable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
19
env/rhel8/x86_64/users/unstable/spack.yaml
vendored
Normal file
19
env/rhel8/x86_64/users/unstable/spack.yaml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/../spack-psi/env/rhel8/x86_64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel8/x86_64/admin/unstable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/rhel7/x86_64/admin/unstable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: $spack/opt/spack/stable
|
||||
unstable:
|
||||
install_tree: $spack/opt/spack/unstable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
2
env/sles15/aarch64/admin/stable/spack.lock
vendored
2
env/sles15/aarch64/admin/stable/spack.lock
vendored
File diff suppressed because one or more lines are too long
36
env/sles15/aarch64/admin/stable/spack.yaml
vendored
36
env/sles15/aarch64/admin/stable/spack.yaml
vendored
@ -6,20 +6,40 @@ spack:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/stable
|
||||
definitions:
|
||||
- gcc_12.3_mpich:
|
||||
- relion@4.0.1/ve5sish #+cuda
|
||||
- compilers:
|
||||
- gcc@13.2.0
|
||||
- gcc@7.5.0
|
||||
- gcc@=12.3
|
||||
- nvhpc@24.3
|
||||
- cce@17.0.0
|
||||
include:
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/stable/modulefiles
|
||||
lmod: $spack/opt/spack/stable/modulefiles
|
||||
lmod:
|
||||
cray-mpich:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
openmpi:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
|
||||
openmpi@main:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
FI_HMEM_CUDA_USE_DMABUF: '1'
|
||||
OMPI_MCA_coll: '^han'
|
||||
core_compilers:
|
||||
- gcc@=7.5.0
|
||||
specs:
|
||||
- matrix:
|
||||
- [$gcc_12.3_mpich]
|
||||
- ['%gcc@12.3']
|
||||
- [^cray-mpich]
|
||||
- [$compilers]
|
||||
- ['%gcc@7.5.0']
|
||||
view: false
|
||||
|
51
env/sles15/aarch64/admin/testing/spack.yaml
vendored
51
env/sles15/aarch64/admin/testing/spack.yaml
vendored
@ -1,19 +1,62 @@
|
||||
spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
unify: when_possible
|
||||
targets:
|
||||
granularity: microarchitectures
|
||||
reuse:
|
||||
from:
|
||||
- type: local
|
||||
- type: external
|
||||
config:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/testing
|
||||
# Strongly adviced to avoid problems with buildcaches
|
||||
padded_length: 256
|
||||
include:
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/testing/modulefiles
|
||||
lmod: $spack/opt/spack/testing/modulefiles
|
||||
lmod:
|
||||
cray-mpich:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
openmpi:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
|
||||
openmpi@main:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
FI_HMEM_CUDA_USE_DMABUF: '1'
|
||||
OMPI_MCA_coll: '^han'
|
||||
packages:
|
||||
# overwrite any existing compiler
|
||||
'cce:':
|
||||
buildable: true
|
||||
'gcc:':
|
||||
buildable: true
|
||||
'nvhpc:':
|
||||
buildable: true
|
||||
specs: []
|
||||
view: false
|
||||
compilers:
|
||||
- compiler:
|
||||
spec: gcc@=7.5.0
|
||||
paths:
|
||||
cc: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
f77: /usr/bin/gfortran
|
||||
fc: /usr/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules: []
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
|
2
env/sles15/aarch64/admin/unstable/spack.lock
vendored
2
env/sles15/aarch64/admin/unstable/spack.lock
vendored
File diff suppressed because one or more lines are too long
134
env/sles15/aarch64/admin/unstable/spack.yaml
vendored
134
env/sles15/aarch64/admin/unstable/spack.yaml
vendored
@ -5,41 +5,81 @@ spack:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/unstable
|
||||
definitions:
|
||||
- compilers_gcc_7.5.0:
|
||||
- gcc@13.2.0
|
||||
- gcc@7.5.0
|
||||
- gcc@=12.3
|
||||
- gcc@14.2.0/tln2ck4
|
||||
- nvhpc@24.3
|
||||
- cce@17.0.0
|
||||
- compilers_gcc_13.2.0:
|
||||
- nvhpc@24.11/6wi4jhx
|
||||
- gcc_7.5.0:
|
||||
- visit@3.3.3/fo37wwb
|
||||
- gcc_12.3:
|
||||
- fastqc@0.12.1/eyuqqvf
|
||||
- ffbidx@main/lfacuhw
|
||||
- star@2.7.11a/gdgr2ea
|
||||
- sratoolkit@3.1.1/7oqp6a3
|
||||
- gcc_12.3_mpich:
|
||||
- cp2k@2024.1/2jesise #~cuda
|
||||
- cp2k@2024.1/zqm5fme #+cuda
|
||||
- quantum-espresso@7.3.1/n6mulig #~cuda
|
||||
- opal@2024.1.0/mhg3mdx
|
||||
- py-alphafold@2.3.2/xkw7tfm #+cuda
|
||||
- ffbidx@main/3xig2i
|
||||
- gcc_13.2.0:
|
||||
- dssp@2.3.0/xfc2pth
|
||||
- gcc_14.2.0:
|
||||
- osu-micro-benchmarks@7.5/mit3iil
|
||||
- osu-micro-benchmarks@7.5/6ycu464
|
||||
- aws-ofi-nccl@1.13.0/nz3b3yk
|
||||
- gcc_12.3_openmpi:
|
||||
- gromacs@2024.1/3n7qspb #+cuda
|
||||
- nvhpc_23.9_openmpi:
|
||||
- quantum-espresso@7.3.1/le35al7 #+cuda
|
||||
- gromacs@2024.1/x33hfjx
|
||||
- cp2k@2024.3/m3eow6e #+cuda
|
||||
- relion@4.0.1/rudfcxt
|
||||
- relion@5.0.0/oyf4n7i
|
||||
- gcc_12.3_cray_mpich:
|
||||
- relion@5.0.0/wk4d62r
|
||||
- gcc_13.2_openmpi:
|
||||
- opal-x@fixSolverUnits/ttg7vdz
|
||||
- gcc_14.2_openmpi:
|
||||
- py-torchvision@0.20.1/ysfcgu5
|
||||
- py-torchaudio@2.5.1/trrglyu
|
||||
- nvhpc_24.11_openmpi:
|
||||
- quantum-espresso@7.4/oed4w6w #+cuda +mpigpu hdf5=parallel
|
||||
- quantum-espresso@7.3.1/d5wpqzw
|
||||
include:
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/unstable/modulefiles
|
||||
lmod: $spack/opt/spack/unstable/modulefiles
|
||||
lmod:
|
||||
cray-mpich:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
openmpi:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
openmpi@main:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
FI_HMEM_CUDA_USE_DMABUF: '1'
|
||||
OMPI_MCA_coll: '^han'
|
||||
core_compilers:
|
||||
- gcc@=7.5.0
|
||||
specs:
|
||||
- matrix:
|
||||
- [$compilers_gcc_7.5.0]
|
||||
- ['%gcc@7.5.0']
|
||||
- matrix:
|
||||
- [$compilers_gcc_13.2.0]
|
||||
- ['%gcc@13.2.0']
|
||||
- matrix:
|
||||
- [$gcc_7.5.0]
|
||||
- ['%gcc@7.5.0']
|
||||
- matrix:
|
||||
- [$gcc_12.3]
|
||||
- ['%gcc@12.3']
|
||||
- [$gcc_13.2.0]
|
||||
- ['%gcc@13.2.0']
|
||||
- matrix:
|
||||
- [$gcc_12.3_mpich]
|
||||
- [$gcc_14.2.0]
|
||||
- ['%gcc@14.2.0']
|
||||
- matrix:
|
||||
- [$gcc_12.3_cray_mpich]
|
||||
- ['%gcc@12.3']
|
||||
- [^cray-mpich]
|
||||
- matrix:
|
||||
@ -47,7 +87,55 @@ spack:
|
||||
- ['%gcc@12.3']
|
||||
- [^openmpi]
|
||||
- matrix:
|
||||
- [$nvhpc_23.9_openmpi]
|
||||
- ['%nvhpc@23.9']
|
||||
- [$gcc_13.2_openmpi]
|
||||
- ['%gcc@13.2']
|
||||
- [^openmpi]
|
||||
- matrix:
|
||||
- [$gcc_14.2_openmpi]
|
||||
- ['%gcc@14.2']
|
||||
- [^openmpi]
|
||||
- matrix:
|
||||
- [$nvhpc_24.11_openmpi]
|
||||
- ['%nvhpc@24.11']
|
||||
- [^openmpi]
|
||||
view: false
|
||||
compilers:
|
||||
- compiler:
|
||||
spec: gcc@=14.2.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gcc
|
||||
cxx: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/g++
|
||||
f77: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gfortran
|
||||
fc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-7.5.0/gcc-14.2.0-tln2ck4lolcipi2fj2klu5dei3oac4sv/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules: []
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=7.5.0
|
||||
paths:
|
||||
cc: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
f77: /usr/bin/gfortran
|
||||
fc: /usr/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules: []
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=12.3.0
|
||||
paths:
|
||||
cc: /usr/bin/gcc-12
|
||||
cxx: /usr/bin/g++-12
|
||||
f77: /usr/bin/gfortran-12
|
||||
fc: /usr/bin/gfortran-12
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules: []
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
|
63
env/sles15/aarch64/sysconfigs/compilers.yaml
vendored
63
env/sles15/aarch64/sysconfigs/compilers.yaml
vendored
@ -1,64 +1,31 @@
|
||||
compilers:
|
||||
- compiler:
|
||||
spec: cce@=17.0.0
|
||||
spec: gcc@=13.2.0
|
||||
paths:
|
||||
cc: cc
|
||||
cxx: CC
|
||||
f77: ftn
|
||||
fc: ftn
|
||||
cc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gcc
|
||||
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/g++
|
||||
f77: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gfortran
|
||||
fc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-aarch64/gcc-7.5.0/gcc-13.2.0-a3pki4ocu2ipqupkaf6ghg6hry4pkxg3/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- PrgEnv-cray/8.5.0
|
||||
- cce/17.0.0
|
||||
- libfabric/1.22.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=12.3
|
||||
spec: nvhpc@=24.11
|
||||
paths:
|
||||
cc: /usr/bin/gcc-12
|
||||
cxx: /usr/bin/g++-12
|
||||
f77: /usr/bin/gfortran-12
|
||||
fc: /usr/bin/gfortran-12
|
||||
cc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvc
|
||||
cxx: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvc++
|
||||
f77: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvfortran
|
||||
fc: /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/compilers/bin/nvfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- PrgEnv-gnu/8.5.0
|
||||
- gcc-native/12.3
|
||||
- libfabric/1.22.0
|
||||
- /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/modulefiles/nvhpc-nompi/24.11
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=7.5.0
|
||||
paths:
|
||||
cc: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
f77: /usr/bin/gfortran
|
||||
fc: /usr/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: nvhpc@=24.3
|
||||
paths:
|
||||
cc: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvc
|
||||
cxx: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvc++
|
||||
f77: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvfortran
|
||||
fc: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- nvhpc-nompi/24.3
|
||||
environment:
|
||||
prepend_path:
|
||||
LD_LIBRARY_PATH: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/math_libs/lib64/stubs
|
||||
extra_rpaths: []
|
||||
extra_rpaths:
|
||||
- /afs/psi.ch/sys/spack/develop/opt/spack/unstable/linux-sles15-aarch64/gcc-13.2.0/nvhpc-24.11-6wi4jhxcgbkzgrw6fgrutvten74l5ovl/Linux_aarch64/24.11/math_libs/lib64/stubs
|
||||
|
174
env/sles15/aarch64/sysconfigs/packages.yaml
vendored
174
env/sles15/aarch64/sysconfigs/packages.yaml
vendored
@ -1,29 +1,50 @@
|
||||
packages:
|
||||
all:
|
||||
compiler: [gcc@12.3, cce, nvhpc]
|
||||
compiler: [gcc, nvhpc, cce]
|
||||
prefer:
|
||||
- spec: '^openmpi'
|
||||
when: '^mpi'
|
||||
- spec: '^openblas'
|
||||
when: '%gcc ^blas'
|
||||
- spec: '^netlib-scalapack'
|
||||
when: '+scalapack'
|
||||
providers:
|
||||
blas: [cray-libsci, openblas, nvhpc]
|
||||
lapack: [cray-libsci, openblas, nvhpc]
|
||||
mpi: [cray-mpich, openmpi]
|
||||
blas: [openblas, nvhpc, nvpl-blas]
|
||||
lapack: [openblas, nvhpc, nvpl-lapack]
|
||||
mpi: [openmpi, cray-mpich]
|
||||
pkgconfig: [pkg-config]
|
||||
scalapack: [cray-libsci]
|
||||
scalapack: [netlib-scalapack]
|
||||
require:
|
||||
- spec: "os=sles15"
|
||||
- spec: "target=aarch64"
|
||||
when: "%gcc"
|
||||
- spec: "target=zen3"
|
||||
when: "%nvhpc"
|
||||
- spec: "os=sles15"
|
||||
- spec: "target=aarch64"
|
||||
when: "%gcc"
|
||||
- spec: "target=neoverse_v2"
|
||||
when: "%nvhpc"
|
||||
# Grace Hopper arch
|
||||
variants:
|
||||
- cuda_arch=90
|
||||
berkeley-db:
|
||||
require: '%gcc@7.5.0'
|
||||
boost:
|
||||
require: '%gcc@7.5.0'
|
||||
require: '%gcc'
|
||||
cassini-headers:
|
||||
require: '@main'
|
||||
ca-certificates-mozilla:
|
||||
require: '%gcc@7.5.0'
|
||||
cairo:
|
||||
require: '%gcc@7.5.0'
|
||||
cce:
|
||||
externals:
|
||||
- modules:
|
||||
- libfabric/1.22.0
|
||||
- PrgEnv-cray/8.5.0
|
||||
- cce/17.0.0
|
||||
spec: cce@=17.0.0
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: cc
|
||||
cxx: CC
|
||||
fortran: ftn
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
cmake:
|
||||
require: '%gcc@7.5.0'
|
||||
coreutils:
|
||||
@ -43,10 +64,12 @@ packages:
|
||||
buildable: false
|
||||
externals:
|
||||
- modules:
|
||||
- PrgEnv-cce
|
||||
- cray-mpich
|
||||
prefix: /opt/cray/pe/mpich/8.1.28/ofi/cray/17.0
|
||||
spec: cray-mpich@8.1.28%cce@17.0.0
|
||||
- modules:
|
||||
- PrgEnv-gnu
|
||||
- cray-mpich
|
||||
prefix: /opt/cray/pe/mpich/8.1.28/ofi/gnu/12.3
|
||||
spec: cray-mpich@8.1.28%gcc@12.3
|
||||
@ -59,15 +82,26 @@ packages:
|
||||
spec: cray-pmi@6.1.13%gcc
|
||||
cuda:
|
||||
prefer:
|
||||
- spec: '@12.2.0'
|
||||
- spec: '@12.8.0'
|
||||
require: '@12.2.0:'
|
||||
externals:
|
||||
- modules:
|
||||
- nvhpc-nompi/24.3
|
||||
- nvhpc-nompi/24.3
|
||||
prefix: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/cuda
|
||||
spec: cuda@12.2.0%nvhpc@24.3
|
||||
extra_attributes:
|
||||
environment:
|
||||
prepend_path:
|
||||
LD_LIBRARY_PATH: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/math_libs/lib64/stubs
|
||||
curl:
|
||||
require: '%gcc@7.5.0'
|
||||
cxi-driver:
|
||||
require: '@main'
|
||||
egl:
|
||||
buildable: False
|
||||
externals:
|
||||
- spec: egl@1.5.0
|
||||
prefix: /usr/
|
||||
expat:
|
||||
require: '%gcc@7.5.0'
|
||||
fftw:
|
||||
@ -87,53 +121,61 @@ packages:
|
||||
gawk:
|
||||
require: '%gcc@7.5.0'
|
||||
gcc:
|
||||
require: '%gcc@7.5.0'
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: gcc@7.5.0
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
fortran: /usr/bin/gfortran
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules:
|
||||
- libfabric/1.22.0
|
||||
- prefix: /usr
|
||||
spec: gcc@=12.3
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: /usr/bin/gcc-12
|
||||
cxx: /usr/bin/g++-12
|
||||
fortran: /usr/bin/gfortran-12
|
||||
operating_system: sles15
|
||||
target: aarch64
|
||||
modules:
|
||||
- libfabric/1.22.0
|
||||
- PrgEnv-gnu/8.5.0
|
||||
- gcc-native/12.3
|
||||
gdbm:
|
||||
require: '%gcc@7.5.0'
|
||||
gettext:
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: 'gettext@0.20.2'
|
||||
require: '%gcc@7.5.0'
|
||||
git:
|
||||
require: '%gcc@7.5.0'
|
||||
gmake:
|
||||
require: '%gcc@7.5.0'
|
||||
groff:
|
||||
require: '%gcc@7.5.0'
|
||||
gtkplus:
|
||||
require: 'default_library=shared,static'
|
||||
hdf5:
|
||||
prefer:
|
||||
- spec: '~mpi'
|
||||
externals:
|
||||
- modules:
|
||||
- cray-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5/1.12.2.9/crayclang/17.0
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl~mpi+shared~szip~threadsafe%cce@17.0.0
|
||||
- modules:
|
||||
- cray-parallel-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5-parallel/1.12.2.9/crayclang/17.0
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl+mpi+shared~szip~threadsafe%cce@17.0.0
|
||||
- modules:
|
||||
- cray-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5/1.12.2.9/gnu/12.3
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl~mpi+shared~szip~threadsafe%gcc@12.3
|
||||
- modules:
|
||||
- cray-parallel-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5-parallel/1.12.2.9/gnu/12.3
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl+mpi+shared~szip~threadsafe%gcc@12.3
|
||||
libbsd:
|
||||
require: '%gcc@7.5.0'
|
||||
libcxi:
|
||||
require: '@main'
|
||||
libevent:
|
||||
require: '%gcc@7.5.0'
|
||||
# Crayism
|
||||
libfabric:
|
||||
buildable: false
|
||||
buildable: true
|
||||
require: '@main+cuda+uring fabrics=cxi,sockets,tcp,udp,xpmem'
|
||||
externals:
|
||||
- modules:
|
||||
- libfabric/1.15.2.0
|
||||
prefix: /opt/cray/libfabric/1.15.2.0
|
||||
spec: libfabric@1.15.2.0
|
||||
- libfabric/1.22.0
|
||||
prefix: /opt/cray/libfabric/1.22.0
|
||||
spec: libfabric@1.22.0
|
||||
libfuse:
|
||||
buildable: false
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: libfuse@2.9.7
|
||||
libiconv:
|
||||
require: '%gcc@7.5.0'
|
||||
libidn2:
|
||||
@ -144,6 +186,11 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
libsigsegv:
|
||||
require: '%gcc@7.5.0'
|
||||
librsvg:
|
||||
buildable: false
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: librsvg@2.48.0
|
||||
libtool:
|
||||
require: '%gcc@7.5.0'
|
||||
libxml2:
|
||||
@ -193,9 +240,17 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
nvhpc:
|
||||
externals:
|
||||
- modules:
|
||||
- nvhpc-nompi/24.3
|
||||
- prefix: /opt/nvidia/hpc_sdk
|
||||
spec: nvhpc@24.3
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvc
|
||||
cxx: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvc++
|
||||
fortran: /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/compilers/bin/nvfortran
|
||||
operating_system: sles15
|
||||
modules: nvhpc-nompi/24.3
|
||||
extra_rpaths:
|
||||
- /opt/nvidia/hpc_sdk/Linux_aarch64/24.3/math_libs/lib64/stubs
|
||||
opal:
|
||||
require:
|
||||
- spec: '%gcc'
|
||||
@ -211,10 +266,10 @@ packages:
|
||||
spec: openldap@2.4.46
|
||||
openmpi:
|
||||
require:
|
||||
- spec: 'schedulers=slurm fabrics=ofi +pmi pmi-interface=cray +cxx +cxx_exceptions +cuda +legacylaunchers'
|
||||
when: '%gcc'
|
||||
- spec: 'schedulers=slurm fabrics=ofi +pmi pmi-interface=cray +cxx +cuda +legacylaunchers'
|
||||
when: '%nvhpc'
|
||||
- spec: "schedulers=slurm fabrics=ofi,xpmem +cuda +internal-pmix"
|
||||
when: "@5.0.0:"
|
||||
- spec: "schedulers=slurm fabrics=ofi,xpmem +cxx +cuda +legacylaunchers"
|
||||
when: "@:5.0.0"
|
||||
openssh:
|
||||
require: '%gcc@7.5.0'
|
||||
openssl:
|
||||
@ -238,13 +293,19 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
pkgconf:
|
||||
require: '%gcc@7.5.0'
|
||||
pmix:
|
||||
require: '+munge'
|
||||
py-fypp:
|
||||
require: '%gcc@7.5.0'
|
||||
python:
|
||||
require: '%gcc@7.5.0'
|
||||
# QE is unable to find out cray-libsci
|
||||
quantum-espresso:
|
||||
require: ~scalapack ^openblas
|
||||
require:
|
||||
- spec: "^nvpl-blas ^nvpl-lapack"
|
||||
when: "%nvhpc"
|
||||
conflict:
|
||||
- spec: '^acfl'
|
||||
when: '%nvhpc'
|
||||
rdma-core:
|
||||
require: '%gcc@7.5.0'
|
||||
readline:
|
||||
@ -269,9 +330,10 @@ packages:
|
||||
xpmem:
|
||||
buildable: false
|
||||
externals:
|
||||
- modules:
|
||||
- xpmem/2.9.6-1.1_20240511212657__g087dc11fc19d
|
||||
spec: xpmem@2.9.6-1.1
|
||||
- spec: xpmem@2.9.6-1.1
|
||||
prefix: /usr
|
||||
modules:
|
||||
- xpmem/2.9.6-1.1_20240511212657__g087dc11fc19d
|
||||
xxhash:
|
||||
require: '%gcc@7.5.0'
|
||||
xz:
|
||||
|
7
env/sles15/aarch64/users/stable/spack.yaml
vendored
7
env/sles15/aarch64/users/stable/spack.yaml
vendored
@ -2,12 +2,13 @@ spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/spack-psi/env/sles15/aarch64/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/sles15/aarch64/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/sles15/aarch64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/sles15/aarch64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/stable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: $spack/opt/spack/stable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
||||
|
9
env/sles15/aarch64/users/unstable/spack.yaml
vendored
9
env/sles15/aarch64/users/unstable/spack.yaml
vendored
@ -2,15 +2,16 @@ spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/spack-psi/env/sles15/aarch64/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/sles15/aarch64/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/sles15/aarch64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/sles15/aarch64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/sles15/aarch64/admin/unstable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/unstable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: $spack/opt/spack/stable
|
||||
unstable:
|
||||
install_tree: $spack/opt/spack/unstable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
||||
|
2
env/sles15/x86_64/admin/stable/spack.lock
vendored
2
env/sles15/x86_64/admin/stable/spack.lock
vendored
File diff suppressed because one or more lines are too long
36
env/sles15/x86_64/admin/stable/spack.yaml
vendored
36
env/sles15/x86_64/admin/stable/spack.yaml
vendored
@ -6,20 +6,46 @@ spack:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/stable
|
||||
definitions:
|
||||
- compilers:
|
||||
- gcc@7.5.0
|
||||
- gcc@=12.3.0
|
||||
- intel-oneapi-compilers@=2024.1.0
|
||||
- intel-oneapi-compilers@=2022.1.0
|
||||
- gcc@=13.2.0
|
||||
- nvhpc@23.9
|
||||
- cce@17.0.0
|
||||
- gcc_7.5.0:
|
||||
- fpart@1.6.0/di4akxx
|
||||
- gcc_12.3_mpich:
|
||||
- relion@4.0.1/ve5sish #+cuda
|
||||
- gcc_13.2_openmpi:
|
||||
- opal-x@fixSolverUnits/q4ulqv3 #+cuda cuda_arch=80
|
||||
include:
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/stable
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/stable/modulefiles
|
||||
lmod: $spack/opt/spack/stable/modulefiles
|
||||
lmod:
|
||||
cray-mpich:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: 'pmix'
|
||||
LD_LIBRARY_PATH: '/opt/cray/libfabric/1.22.0/lib64'
|
||||
openmpi:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: 'pmix'
|
||||
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
|
||||
specs:
|
||||
- matrix:
|
||||
- [$compilers]
|
||||
- ['%gcc@7.5.0']
|
||||
- matrix:
|
||||
- [$gcc_7.5.0]
|
||||
- ['%gcc@7.5.0']
|
||||
@ -27,4 +53,8 @@ spack:
|
||||
- [$gcc_12.3_mpich]
|
||||
- ['%gcc@12.3']
|
||||
- [^cray-mpich]
|
||||
- matrix:
|
||||
- [$gcc_13.2_openmpi]
|
||||
- ['%gcc@13.2']
|
||||
- [^openmpi]
|
||||
view: false
|
||||
|
21
env/sles15/x86_64/admin/testing/spack.yaml
vendored
21
env/sles15/x86_64/admin/testing/spack.yaml
vendored
@ -7,13 +7,26 @@ spack:
|
||||
# Strongly adviced to avoid problems with buildcaches
|
||||
padded_length: 256
|
||||
include:
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/testing
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/testing/modulefiles
|
||||
specs: []
|
||||
lmod: $spack/opt/spack/testing/modulefiles
|
||||
lmod:
|
||||
cray-mpich:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
LD_LIBRARY_PATH: /opt/cray/libfabric/1.22.0/lib64
|
||||
openmpi:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: pmix
|
||||
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
|
||||
specs:
|
||||
-
|
||||
view: false
|
||||
|
2
env/sles15/x86_64/admin/unstable/spack.lock
vendored
2
env/sles15/x86_64/admin/unstable/spack.lock
vendored
File diff suppressed because one or more lines are too long
54
env/sles15/x86_64/admin/unstable/spack.yaml
vendored
54
env/sles15/x86_64/admin/unstable/spack.yaml
vendored
@ -5,45 +5,91 @@ spack:
|
||||
install_tree:
|
||||
root: $spack/opt/spack/unstable
|
||||
definitions:
|
||||
- compilers:
|
||||
- gcc@7.5.0
|
||||
- gcc@9.5.0/ow3yhui
|
||||
- gcc@=12.3
|
||||
- intel-oneapi-compilers@=2024.1.0
|
||||
- intel-oneapi-compilers@=2022.1.0
|
||||
- gcc@=13.2.0 arch=linux-sles15-x86_64
|
||||
- nvhpc@23.9
|
||||
- cce@17.0.0
|
||||
- gcc_7.5.0:
|
||||
- fpart@1.6.0/di4akxx
|
||||
- visit@3.3.3/fo37wwb
|
||||
- gcc_12.3:
|
||||
- fastqc@0.12.1/eyuqqvf
|
||||
- ffbidx@main/lfacuhw
|
||||
- star@2.7.11a/gdgr2ea
|
||||
- sratoolkit@3.1.1/7oqp6a3
|
||||
- gcc_13.2:
|
||||
- dmtcp@3.0.0/e76t6c5
|
||||
- gams@49.1/vztjqs4
|
||||
- gcc_13.2_openmpi:
|
||||
- opal-x@fixSolverUnits/q4ulqv3 #+cuda cuda_arch=80
|
||||
- gcc_12.3_mpich:
|
||||
- cp2k@2024.1/2jesise #~cuda
|
||||
- cp2k@2024.1/zqm5fme #+cuda
|
||||
- relion@4.0.1/ve5sish
|
||||
- quantum-espresso@7.3.1/n6mulig #~cuda
|
||||
- opal@2024.1.0/mhg3mdx
|
||||
- py-alphafold@2.3.2/xkw7tfm #+cuda
|
||||
- sundials@7.0.0/xxysszi #sundials@7.0.0+ARKODE+CVODE+CVODES+IDA+IDAS+KINSOL+cuda+examples+examples-install~f2003~fcmix~ginkgo~hypre~int64~ipo~klu~kokkos~kokkos-kernels~lapack~magma~monitoring+mpi+openmp~petsc~profiling~pthread~raja~rocm+shared+static~superlu-dist~superlu-mt~sycl~trilinos build_system=cmake build_type=Release cstd=99 cuda_arch=80 cxxstd=14 generator=make logging-level=2 precision=double
|
||||
- gcc_9.5.0_openmpi:
|
||||
- q-e-sirius@develop-ristretto/bb4v7wz
|
||||
- gcc_12.3_openmpi:
|
||||
- gromacs@2024.1/3n7qspb #+cuda
|
||||
- hdf5@1.14.3/wqcdnm7 #+mpi ^openmpi@5.0.3%gcc@12.3
|
||||
- intel_2021.6.0:
|
||||
- openmpi@4.1.6/eqhrgv5
|
||||
- hdf5@1.14.3/yrxkczx
|
||||
- nvhpc_23.9_openmpi:
|
||||
- quantum-espresso@7.3.1/le35al7 #+cuda
|
||||
include:
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/$os/$target_family/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/$os/$target_family/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/unstable
|
||||
mirrors:
|
||||
local_psi: file:///afs/psi.ch/software/spack/testing
|
||||
modules:
|
||||
default:
|
||||
roots:
|
||||
tcl: $spack/opt/spack/unstable/modulefiles
|
||||
lmod: $spack/opt/spack/unstable/modulefiles
|
||||
lmod:
|
||||
cray-mpich:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: 'pmix'
|
||||
LD_LIBRARY_PATH: /opt/cray/libfabric/1.22.0/lib64
|
||||
openmpi:
|
||||
environment:
|
||||
set:
|
||||
SLURM_MPI_TYPE: 'pmix'
|
||||
OMPI_MCA_mtl_ofi_disable_hmem: 'true'
|
||||
specs:
|
||||
- matrix:
|
||||
- [$compilers]
|
||||
- ['%gcc@7.5.0']
|
||||
- matrix:
|
||||
- [$gcc_7.5.0]
|
||||
- ['%gcc@7.5.0']
|
||||
- matrix:
|
||||
- [$gcc_12.3]
|
||||
- ['%gcc@12.3']
|
||||
- matrix:
|
||||
- [$gcc_13.2]
|
||||
- ['%gcc@13.2']
|
||||
- matrix:
|
||||
- [$gcc_13.2_openmpi]
|
||||
- ['%gcc@13.2']
|
||||
- [^openmpi]
|
||||
- matrix:
|
||||
- [$gcc_12.3_mpich]
|
||||
- ['%gcc@12.3']
|
||||
- [^cray-mpich]
|
||||
- matrix:
|
||||
- [$gcc_9.5.0_openmpi]
|
||||
- ['%gcc@9.5.0']
|
||||
- [^openmpi]
|
||||
- matrix:
|
||||
- [$gcc_12.3_openmpi]
|
||||
- ['%gcc@12.3']
|
||||
|
107
env/sles15/x86_64/sysconfigs/compilers.yaml
vendored
107
env/sles15/x86_64/sysconfigs/compilers.yaml
vendored
@ -1,92 +1,57 @@
|
||||
compilers:
|
||||
- compiler:
|
||||
spec: cce@=17.0.0
|
||||
paths:
|
||||
cc: cc
|
||||
cxx: CC
|
||||
f77: ftn
|
||||
fc: ftn
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- PrgEnv-cray/8.5.0
|
||||
- cce/17.0.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=12.3
|
||||
paths:
|
||||
cc: /usr/bin/gcc-12
|
||||
cxx: /usr/bin/g++-12
|
||||
f77: /usr/bin/gfortran-12
|
||||
fc: /usr/bin/gfortran-12
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- PrgEnv-gnu/8.5.0
|
||||
- gcc-native/12.3
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=7.5.0
|
||||
paths:
|
||||
cc: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
f77: /usr/bin/gfortran
|
||||
fc: /usr/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: nvhpc@=23.9
|
||||
paths:
|
||||
cc: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvc
|
||||
cxx: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvc++
|
||||
f77: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvfortran
|
||||
fc: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- nvhpc-nompi/23.9
|
||||
- libfabric/1.15.2.0
|
||||
environment:
|
||||
prepend_path:
|
||||
LD_LIBRARY_PATH: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/math_libs/lib64/stubs
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: intel@=2021.6.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-jjfubnqeg5udrhlho6owzlpi6odqsey5/compiler/2022.1.0/linux/bin/intel64/icc
|
||||
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-jjfubnqeg5udrhlho6owzlpi6odqsey5/compiler/2022.1.0/linux/bin/intel64/icpc
|
||||
f77: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-jjfubnqeg5udrhlho6owzlpi6odqsey5/compiler/2022.1.0/linux/bin/intel64/ifort
|
||||
fc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-jjfubnqeg5udrhlho6owzlpi6odqsey5/compiler/2022.1.0/linux/bin/intel64/ifort
|
||||
cc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-bf6lcbnmvgeb57jaihsfu22xlbgmmqe7/compiler/2022.1.0/linux/bin/intel64/icc
|
||||
cxx: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-bf6lcbnmvgeb57jaihsfu22xlbgmmqe7/compiler/2022.1.0/linux/bin/intel64/icpc
|
||||
f77: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-bf6lcbnmvgeb57jaihsfu22xlbgmmqe7/compiler/2022.1.0/linux/bin/intel64/ifort
|
||||
fc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-bf6lcbnmvgeb57jaihsfu22xlbgmmqe7/compiler/2022.1.0/linux/bin/intel64/ifort
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- libfabric/1.22.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: oneapi@=2022.1.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-jjfubnqeg5udrhlho6owzlpi6odqsey5/compiler/2022.1.0/linux/bin/icx
|
||||
cxx: /afs/psi.ch/sys/spack/system/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-jjfubnqeg5udrhlho6owzlpi6odqsey5/compiler/2022.1.0/linux/bin/icpx
|
||||
cc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-bf6lcbnmvgeb57jaihsfu22xlbgmmqe7/compiler/2022.1.0/linux/bin/icx
|
||||
cxx: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/intel-oneapi-compilers-2022.1.0-bf6lcbnmvgeb57jaihsfu22xlbgmmqe7/compiler/2022.1.0/linux/bin/icpx
|
||||
f77: null
|
||||
fc: null
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.15.2.0
|
||||
- libfabric/1.22.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=13.2.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/gcc-13.2.0-2k3w3v2u5u6bfnoxl5rgnnna4on3lku7/bin/gcc
|
||||
cxx: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/gcc-13.2.0-2k3w3v2u5u6bfnoxl5rgnnna4on3lku7/bin/g++
|
||||
f77: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/gcc-13.2.0-2k3w3v2u5u6bfnoxl5rgnnna4on3lku7/bin/gfortran
|
||||
fc: /afs/psi.ch/sys/spack/0.22.0/opt/spack/stable/linux-sles15-x86_64/gcc-7.5.0/gcc-13.2.0-2k3w3v2u5u6bfnoxl5rgnnna4on3lku7/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.22.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
- compiler:
|
||||
spec: gcc@=9.5.0
|
||||
paths:
|
||||
cc: /afs/psi.ch/sys/spack/0.23.0/opt/spack/unstable/linux-sles15-x86_64/gcc-7.5.0/gcc-9.5.0-ow3yhuibzp7u753hyh5xngfgegxgijxp/bin/gcc
|
||||
cxx: /afs/psi.ch/sys/spack/0.23.0/opt/spack/unstable/linux-sles15-x86_64/gcc-7.5.0/gcc-9.5.0-ow3yhuibzp7u753hyh5xngfgegxgijxp/bin/g++
|
||||
f77: /afs/psi.ch/sys/spack/0.23.0/opt/spack/unstable/linux-sles15-x86_64/gcc-7.5.0/gcc-9.5.0-ow3yhuibzp7u753hyh5xngfgegxgijxp/bin/gfortran
|
||||
fc: /afs/psi.ch/sys/spack/0.23.0/opt/spack/unstable/linux-sles15-x86_64/gcc-7.5.0/gcc-9.5.0-ow3yhuibzp7u753hyh5xngfgegxgijxp/bin/gfortran
|
||||
flags: {}
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.22.0
|
||||
environment: {}
|
||||
extra_rpaths: []
|
||||
|
118
env/sles15/x86_64/sysconfigs/packages.yaml
vendored
118
env/sles15/x86_64/sysconfigs/packages.yaml
vendored
@ -1,10 +1,13 @@
|
||||
packages:
|
||||
all:
|
||||
compiler: [gcc@12.3, cce, nvhpc]
|
||||
compiler: [gcc, nvhpc, cce]
|
||||
prefer:
|
||||
- spec: '^openmpi'
|
||||
when: '^mpi'
|
||||
providers:
|
||||
blas: [cray-libsci, openblas, nvhpc]
|
||||
lapack: [cray-libsci, openblas, nvhpc]
|
||||
mpi: [cray-mpich, openmpi]
|
||||
blas: [openblas, nvhpc, cray-libsci]
|
||||
lapack: [openblas, nvhpc, cray-libsci]
|
||||
mpi: [openmpi, cray-mpich]
|
||||
pkgconfig: [pkg-config]
|
||||
scalapack: [cray-libsci]
|
||||
require:
|
||||
@ -13,7 +16,6 @@ packages:
|
||||
when: "%gcc"
|
||||
- spec: "target=zen3"
|
||||
when: "%nvhpc"
|
||||
# Grace Hopper arch
|
||||
variants:
|
||||
- cuda_arch=80
|
||||
autoconf:
|
||||
@ -26,10 +28,26 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
ca-certificates-mozilla:
|
||||
require: '%gcc@7.5.0'
|
||||
cce:
|
||||
externals:
|
||||
- modules:
|
||||
- libfabric/1.22.0
|
||||
- PrgEnv-cray/8.5.0
|
||||
- cce/17.0.0
|
||||
spec: cce@=17.0.0
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: cc
|
||||
cxx: CC
|
||||
fortran: ftn
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
cairo:
|
||||
require: '%gcc@7.5.0'
|
||||
cassini-headers:
|
||||
require: '@main'
|
||||
cmake:
|
||||
require: '%gcc@7.5.0'
|
||||
require: '%gcc'
|
||||
coreutils:
|
||||
require: '%gcc@7.5.0'
|
||||
cray-libsci:
|
||||
@ -63,7 +81,7 @@ packages:
|
||||
spec: cray-pmi@6.1.13%gcc
|
||||
cuda:
|
||||
prefer:
|
||||
- spec: '@12.2.0'
|
||||
- spec: '@12.8.0'
|
||||
require: '@12.2.0:'
|
||||
externals:
|
||||
- modules:
|
||||
@ -72,6 +90,8 @@ packages:
|
||||
spec: cuda@12.2.0%nvhpc@23.9
|
||||
curl:
|
||||
require: '%gcc@7.5.0'
|
||||
cxi-driver:
|
||||
require: '@main'
|
||||
expat:
|
||||
require: '%gcc@7.5.0'
|
||||
fftw:
|
||||
@ -91,7 +111,31 @@ packages:
|
||||
gawk:
|
||||
require: '%gcc@7.5.0'
|
||||
gcc:
|
||||
require: '%gcc@7.5.0'
|
||||
externals:
|
||||
- prefix: /usr
|
||||
spec: gcc@7.5.0
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: /usr/bin/gcc
|
||||
cxx: /usr/bin/g++
|
||||
fortran: /usr/bin/gfortran
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.22.0
|
||||
- prefix: /usr
|
||||
spec: gcc@=12.3
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: /usr/bin/gcc-12
|
||||
cxx: /usr/bin/g++-12
|
||||
fortran: /usr/bin/gfortran-12
|
||||
operating_system: sles15
|
||||
target: x86_64
|
||||
modules:
|
||||
- libfabric/1.22.0
|
||||
- PrgEnv-gnu/8.5.0
|
||||
- gcc-native/12.3
|
||||
gdbm:
|
||||
require: '%gcc@7.5.0'
|
||||
gettext:
|
||||
@ -106,38 +150,21 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
gtkplus:
|
||||
require: 'default_library=shared,static'
|
||||
hdf5:
|
||||
prefer:
|
||||
- spec: '~mpi'
|
||||
externals:
|
||||
- modules:
|
||||
- cray-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5/1.12.2.9/crayclang/17.0
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl~mpi+shared~szip~threadsafe%cce@17.0.0
|
||||
- modules:
|
||||
- cray-parallel-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5-parallel/1.12.2.9/crayclang/17.0
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl+mpi+shared~szip~threadsafe%cce@17.0.0
|
||||
- modules:
|
||||
- cray-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5/1.12.2.9/gnu/12.3
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl~mpi+shared~szip~threadsafe%gcc@12.3
|
||||
- modules:
|
||||
- cray-parallel-hdf5/1.12.2.9
|
||||
prefix: /opt/cray/pe/hdf5-parallel/1.12.2.9/gnu/12.3
|
||||
spec: hdf5@1.12.2+cxx+fortran+hl+mpi+shared~szip~threadsafe%gcc@12.3
|
||||
libbsd:
|
||||
require: '%gcc@7.5.0'
|
||||
libcxi:
|
||||
require: '@main'
|
||||
libevent:
|
||||
require: '%gcc@7.5.0'
|
||||
# Crayism
|
||||
libfabric:
|
||||
buildable: false
|
||||
buildable: true
|
||||
require: '@main+cuda+uring fabrics=cxi,sockets,tcp,udp,xpmem'
|
||||
externals:
|
||||
- modules:
|
||||
- libfabric/1.15.2.0
|
||||
prefix: /opt/cray/libfabric/1.15.2.0
|
||||
spec: libfabric@1.15.2.0
|
||||
- libfabric/1.22.0
|
||||
prefix: /opt/cray/libfabric/1.22.0
|
||||
spec: libfabric@1.22.0
|
||||
libiconv:
|
||||
require: '%gcc@7.5.0'
|
||||
libidn2:
|
||||
@ -197,9 +224,18 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
nvhpc:
|
||||
externals:
|
||||
- modules:
|
||||
- nvhpc-nompi/23.9
|
||||
spec: nvhpc@23.9
|
||||
- spec: nvhpc@23.9
|
||||
prefix: /opt/nvidia/hpc_sdk
|
||||
extra_attributes:
|
||||
compilers:
|
||||
c: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvc
|
||||
cxx: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvc++
|
||||
fortran: /opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/bin/nvfortran
|
||||
operating_system: sles15
|
||||
modules: nvhpc-nompi/23.9
|
||||
environment:
|
||||
prepend_path:
|
||||
LD_LIBRARY_PATH: '/opt/nvidia/hpc_sdk/Linux_x86_64/23.9/compilers/lib:/opt/nvidia/hpc_sdk/Linux_x86_64/23.9/math_libs/lib64/stubs'
|
||||
opal:
|
||||
require:
|
||||
- spec: '%gcc'
|
||||
@ -215,11 +251,10 @@ packages:
|
||||
spec: openldap@2.4.46
|
||||
openmpi:
|
||||
require:
|
||||
- spec: 'schedulers=slurm fabrics=ofi +pmi pmi-interface=cray +cxx +cxx_exceptions +cuda +legacylaunchers'
|
||||
when: '%gcc'
|
||||
- spec: 'schedulers=slurm fabrics=ofi +pmi pmi-interface=cray +cxx +cuda +legacylaunchers'
|
||||
when: 'nvhpc'
|
||||
- spec: 'schedulers=slurm fabrics=ofi +pmi pmi-interface=cray +cxx +legacylaunchers'
|
||||
- spec: "schedulers=slurm fabrics=ofi,xpmem +cuda +internal-pmix"
|
||||
when: "@5.0.0:"
|
||||
- spec: "schedulers=slurm fabrics=ofi,xpmem +pmi +cxx +cxx_exceptions +cuda +legacylaunchers"
|
||||
when: "@:5.0.0"
|
||||
openssh:
|
||||
require: '%gcc@7.5.0'
|
||||
openssl:
|
||||
@ -243,6 +278,8 @@ packages:
|
||||
require: '%gcc@7.5.0'
|
||||
pkgconf:
|
||||
require: '%gcc@7.5.0'
|
||||
pmix:
|
||||
require: '+munge'
|
||||
py-fypp:
|
||||
require: '%gcc@7.5.0'
|
||||
python:
|
||||
@ -276,6 +313,7 @@ packages:
|
||||
externals:
|
||||
- modules:
|
||||
- xpmem/2.8.2-1.0_3.9__g84a27a5.shasta
|
||||
prefix: /usr
|
||||
spec: xpmem@2.8.2-1
|
||||
xxhash:
|
||||
require: '%gcc@7.5.0'
|
||||
|
8
env/sles15/x86_64/users/stable/spack.yaml
vendored
8
env/sles15/x86_64/users/stable/spack.yaml
vendored
@ -2,12 +2,14 @@ spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/spack-psi/env/sles15/x86_64/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/sles15/x86_64/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/sles15/x86_64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/sles15/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/stable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: $spack/opt/spack/stable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
||||
|
11
env/sles15/x86_64/users/unstable/spack.yaml
vendored
11
env/sles15/x86_64/users/unstable/spack.yaml
vendored
@ -2,15 +2,18 @@ spack:
|
||||
concretizer:
|
||||
unify: false
|
||||
include:
|
||||
- $spack/spack-psi/env/sles15/x86_64/sysconfigs/packages.yaml
|
||||
- $spack/spack-psi/env/sles15/x86_64/sysconfigs/compilers.yaml
|
||||
- $spack/../spack-psi/env/sles15/x86_64/sysconfigs/packages.yaml
|
||||
include_concrete:
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/sles15/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/system/spack-psi/env/sles15/x86_64/admin/unstable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/x86_64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/x86_64/admin/unstable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/stable
|
||||
- /afs/psi.ch/sys/spack/spack-psi/env/sles15/aarch64/admin/unstable
|
||||
specs: []
|
||||
upstreams:
|
||||
stable:
|
||||
install_tree: $spack/opt/spack/stable
|
||||
unstable:
|
||||
install_tree: $spack/opt/spack/unstable
|
||||
repos:
|
||||
- $spack/../user/$user/spack-repo
|
||||
view: false
|
||||
|
@ -6,9 +6,9 @@
|
||||
import os
|
||||
|
||||
from spack.package import *
|
||||
from spack.pkg.builtin.quantum_espresso import QuantumEspresso as SpackQuantumEspresso
|
||||
from spack.pkg.builtin.gams import Gams as SpackGams
|
||||
|
||||
class QuantumEspresso(SpackQuantumEspresso):
|
||||
|
||||
with when("%nvhpc +cuda"):
|
||||
depends_on("cuda", type=("build","link","run"))
|
||||
|
||||
class Gams(SpackGams):
|
||||
version("48.1", md5="5a59a973edfc4e3170b9535760593d62", expand=False)
|
||||
version("49.1", md5="bc9b82d015c9672f8c153003c7a5dd2a", expand=False)
|
37
packages/mfem/mfem_conduit_spack.patch
Normal file
37
packages/mfem/mfem_conduit_spack.patch
Normal file
@ -0,0 +1,37 @@
|
||||
diff --git a/config/defaults.mk b/config/defaults.mk
|
||||
index d6b8d59a1..d1ba6fb9a 100644
|
||||
--- a/config/defaults.mk
|
||||
+++ b/config/defaults.mk
|
||||
@@ -452,7 +452,7 @@ FMS_LIB = -Wl,-rpath,$(FMS_DIR)/lib -L$(FMS_DIR)/lib -lfms
|
||||
|
||||
# Conduit and required libraries configuration
|
||||
CONDUIT_DIR = @MFEM_DIR@/../conduit
|
||||
-CONDUIT_OPT = -I$(CONDUIT_DIR)/include/conduit
|
||||
+CONDUIT_OPT = -I$(CONDUIT_DIR)/include
|
||||
CONDUIT_LIB = \
|
||||
$(XLINKER)-rpath,$(CONDUIT_DIR)/lib -L$(CONDUIT_DIR)/lib \
|
||||
-lconduit -lconduit_relay -lconduit_blueprint -ldl
|
||||
@@ -469,8 +469,8 @@ endif
|
||||
# Sidre and required libraries configuration
|
||||
# Be sure to check the HDF5_DIR (set above) is correct
|
||||
SIDRE_DIR = @MFEM_DIR@/../axom
|
||||
-SIDRE_OPT = -I$(SIDRE_DIR)/include -I$(CONDUIT_DIR)/include/conduit\
|
||||
- -I$(HDF5_DIR)/include
|
||||
+SIDRE_OPT = -I$(SIDRE_DIR)/include -I$(CONDUIT_DIR)/include/conduit \
|
||||
+ -I$(CONDUIT_DIR)/include -I$(HDF5_DIR)/include
|
||||
SIDRE_LIB = \
|
||||
$(XLINKER)-rpath,$(SIDRE_DIR)/lib -L$(SIDRE_DIR)/lib \
|
||||
$(XLINKER)-rpath,$(CONDUIT_DIR)/lib -L$(CONDUIT_DIR)/lib \
|
||||
diff --git a/fem/conduitdatacollection.hpp b/fem/conduitdatacollection.hpp
|
||||
index 6ff1804e0..ad0a272a4 100644
|
||||
--- a/fem/conduitdatacollection.hpp
|
||||
+++ b/fem/conduitdatacollection.hpp
|
||||
@@ -17,7 +17,7 @@
|
||||
#ifdef MFEM_USE_CONDUIT
|
||||
|
||||
#include "datacollection.hpp"
|
||||
-#include <conduit.hpp>
|
||||
+#include <conduit/conduit.hpp>
|
||||
|
||||
namespace mfem
|
||||
{
|
24
packages/relion/package.py
Normal file
24
packages/relion/package.py
Normal file
@ -0,0 +1,24 @@
|
||||
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
|
||||
from spack.package import *
|
||||
from spack.pkg.builtin.relion import Relion as SpackRelion
|
||||
|
||||
|
||||
class Relion(SpackRelion):
|
||||
version("5.0.0", sha256="800ad0c0aa778cbf584fcf8986976645f2b25d677a80f168e5397975b9db6e47")
|
||||
|
||||
variant("python-exe-path", default="/data/project/bio/hpce/relion-5.0/miniconda3/envs/relion-5.0/bin/python", description="Path to conda env python binary")
|
||||
variant("torch-home-path", default="/data/project/bio/hpce/relion-5.0/torch", description="Path to pretrained model weights")
|
||||
|
||||
def cmake_args(self):
|
||||
args = super().cmake_args()
|
||||
|
||||
if "@5.0.0" in self.spec:
|
||||
args += ["-DPYTHON_EXE_PATH={0}".format(self.spec.variants["python-exe-path"].value)]
|
||||
args += ["-DTORCH_HOME_PATH={0}".format(self.spec.variants["torch-home-path"].value)]
|
||||
|
||||
return args
|
20
templates/user_hierachical_paths.lua
Normal file
20
templates/user_hierachical_paths.lua
Normal file
@ -0,0 +1,20 @@
|
||||
{% extends "modules/modulefile.lua" %}
|
||||
{% block footer %}
|
||||
|
||||
local user_module_root= pathJoin("/afs/psi.ch/sys/spack/user", os.getenv("USER"), "spack-install/modulefiles")
|
||||
|
||||
{% if 'mpi' in provides %}
|
||||
local user_projection= "{{ spec.architecture }}/{{ spec.name }}/{{ version_part }}/{{ spec.compiler.name }}/{{ spec.compiler.version }}"
|
||||
{% elif 'compiler' in provides %}
|
||||
local user_projection= "{{ spec.architecture }}/{{ spec.name }}/{{ spec.version }}"
|
||||
{% endif %}
|
||||
|
||||
|
||||
if user_projection then
|
||||
local user_path= pathJoin(user_module_root, user_projection)
|
||||
if isDir(user_path) then
|
||||
prepend_path("MODULEPATH", user_path, ":")
|
||||
end
|
||||
end
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user