Skip to content
Snippets Groups Projects
Commit b1d14014 authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Few more changes

parent c2728e7a
No related branches found
No related tags found
No related merge requests found
Pipeline #180435 failed
...@@ -11,6 +11,13 @@ else ...@@ -11,6 +11,13 @@ else
git -C spack pull git -C spack pull
fi fi
cat > spack/etc/spack/config.yaml << EOF
config:
install_tree:
root: /stack/spack/opt/spack
EOF
echo "Adding spack system config file" echo "Adding spack system config file"
mkdir -p ${SPACK_SYSTEM_CONFIG_PATH} mkdir -p ${SPACK_SYSTEM_CONFIG_PATH}
......
...@@ -6,7 +6,11 @@ packages: ...@@ -6,7 +6,11 @@ packages:
require: require:
- spec: "cuda_arch=70" - spec: "cuda_arch=70"
when: "+cuda" when: "+cuda target=cascadelake"
- spec: "cuda_arch=90"
when: "+cuda target=icelake"
- spec: "+ipo" - spec: "+ipo"
when: "%gcc" when: "%gcc"
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
...@@ -18,6 +22,7 @@ packages: ...@@ -18,6 +22,7 @@ packages:
externals: externals:
- spec: rdma-core@44.1 - spec: rdma-core@44.1
prefix: /usr prefix: /usr
slurm: slurm:
version: [23-11-0-1] version: [23-11-0-1]
buildable: False buildable: False
...@@ -32,8 +37,8 @@ packages: ...@@ -32,8 +37,8 @@ packages:
require: require:
- spec: "+ownlibs" - spec: "+ownlibs"
cuda: # cuda:
variants: "+allow-unsupported-compilers" # variants: "+allow-unsupported-compilers"
hdf5: hdf5:
variants: "+hl +threadsafe +szip +cxx +fortran" variants: "+hl +threadsafe +szip +cxx +fortran"
...@@ -53,6 +58,7 @@ packages: ...@@ -53,6 +58,7 @@ packages:
- spec: "+rdmacm +rc +dc +ud +cma +mlx5_dv +parameter_checking +thread_multiple +verbs" - spec: "+rdmacm +rc +dc +ud +cma +mlx5_dv +parameter_checking +thread_multiple +verbs"
- spec: "cuda_arch=70 +gdrcopy" - spec: "cuda_arch=70 +gdrcopy"
when: "+cuda" when: "+cuda"
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
# External find # External find
# ---------------------------------------------------------------------------- # ----------------------------------------------------------------------------
......
spack: spack:
include: include:
- mirrors.yaml
- packages.yaml
- repos.yaml
- compiler_definitions.yaml - compiler_definitions.yaml
config:
install_tree:
root: /stack/spack/opt/spack
definitions: definitions:
- serial_codes_per_cluster: - serial_codes_per_cluster:
- python - python
...@@ -21,7 +14,7 @@ spack: ...@@ -21,7 +14,7 @@ spack:
- when: env['environment'] in ['helvetios', 'jed'] - when: env['environment'] in ['helvetios', 'jed']
mpis: mpis:
- openmpi - openmpi
- when: env['environment'] == 'izar' - when: env['environment'] in ['izar']
mpis: mpis:
- openmpi +cuda - openmpi +cuda
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment