From f2dc8e6e1ac6ae0a362e84c4cf961b0fb7b9fa10 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 22 Feb 2022 13:53:07 +0100 Subject: [PATCH] Add a daint-specific spack.yaml --- environments/daint/spack.yaml | 40 +++++++++++++++++++++++++++++++++++ experimental/Makefile | 3 +-- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 environments/daint/spack.yaml diff --git a/environments/daint/spack.yaml b/environments/daint/spack.yaml new file mode 100644 index 00000000000000..52cb928278f03d --- /dev/null +++ b/environments/daint/spack.yaml @@ -0,0 +1,40 @@ +spack: + view: false + concretization: separately + specs: + - gromacs + - julia ^llvm ~clang ~compiler-rt ~libcxx ~lld ~lldb ~polly ^libgit2 ~mmap + - llvm +clang +compiler-rt +libcxx +lld +lldb +omp_as_runtime +polly targets=amdgpu,bpf,nvptx + - pika + - sirius + packages: + all: + target: + - broadwell + compilers: + - compiler: + spec: gcc@11.2.0 + paths: + cc: /opt/gcc/11.2.0/bin/gcc + cxx: /opt/gcc/11.2.0/bin/g++ + f77: /opt/gcc/11.2.0/bin/gfortran + fc: /opt/gcc/11.2.0/bin/gfortran + flags: {} + operating_system: sles15 + target: x86_64 + modules: [] + environment: {} + extra_rpaths: [] + - compiler: + spec: gcc@10.3.0 + paths: + cc: /opt/gcc/10.3.0/bin/gcc + cxx: /opt/gcc/10.3.0/bin/g++ + f77: /opt/gcc/10.3.0/bin/gfortran + fc: /opt/gcc/10.3.0/bin/gfortran + flags: {} + operating_system: sles15 + target: x86_64 + modules: [] + environment: {} + extra_rpaths: [] diff --git a/experimental/Makefile b/experimental/Makefile index cd41b528e12884..66273d8ebcdf07 100644 --- a/experimental/Makefile +++ b/experimental/Makefile @@ -27,8 +27,7 @@ deps/spack: # Setup the environment spack.yaml: deps/spack - cp $(CURDIR)/../environments/cscs/spack.yaml $@ - $(SPACK) -e $(CURDIR) config add 'packages:all:target:[haswell]' + cp $(CURDIR)/../environments/daint/spack.yaml $@ # Concretize spack.lock: spack.yaml deps/spack