Skip to content

Commit

Permalink
Add a daint-specific spack.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Feb 22, 2022
1 parent 6fbe2d5 commit f2dc8e6
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
40 changes: 40 additions & 0 deletions environments/daint/spack.yaml
Original file line number Diff line number Diff line change
@@ -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: []
3 changes: 1 addition & 2 deletions experimental/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2dc8e6

Please sign in to comment.