Skip to content

Commit

Permalink
Back to mpich...
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Mar 1, 2022
1 parent 9a4beb1 commit 0527e16
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
23 changes: 13 additions & 10 deletions environments/daint/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ spack:
- llvm +clang +compiler-rt +cuda +libcxx +lld +lldb +omp_as_runtime +polly targets=amdgpu,bpf,nvptx
- pika +cuda
- sirius +cuda
- openmpi +cuda
packages:
all:
variants: [cuda_arch=60]
providers:
mpi: [openmpi]
mpi: [mpich]
blas: [openblas]
lapack: [openblas]
fftw-api: [fftw]
Expand All @@ -36,15 +35,15 @@ spack:
externals:
- spec: m4@1.4.18
prefix: /usr
openmpi:
mpich:
variants:
- +thread_multiple
- +cuda
- ~gpfs
- ~internal-hwloc
- ~lustre
- fabrics=auto
- schedulers=auto
- device=ch4
- netmod=ofi
- pmi=pmi2
- +fortran
- ~hydra
- +slurm
- ~verbs
perl:
externals:
- spec: perl@5.26.1~cpanm+shared+threads
Expand All @@ -53,6 +52,10 @@ spack:
externals:
- spec: pkg-config@0.29.2
prefix: /usr
slurm:
externals:
- spec: slurm@21-11-8-1
prefix: /usr
'compilers:':
- compiler:
spec: gcc@11.2.0
Expand Down
2 changes: 1 addition & 1 deletion experimental/Make.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ DOWNSTREAM_STORE:=$(CURDIR)/store
SRUN:=srun --pty -Ajenscscs -Cmc -N1

# `srun` command for distributed builds
SRUN_BUILD:=$(SRUN) -n8 -c32 --overcommit --oversubscribe
SRUN_BUILD:=$(SRUN) -n8 -c72 --overcommit --oversubscribe

GIT:=git
CURL:=curl
Expand Down
4 changes: 2 additions & 2 deletions experimental/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spack.lock: spack.yaml deps/spack
$(SRUN) $(SPACK) \
-e $(CURDIR) \
-c "config:install_tree:root:$(DOWNSTREAM_STORE)" \
concretize --reuse
concretize -f

# Distributed build using overlayfs.
# Spack believes it's installing to UPSTREAM_STORE, but in reality it's installing new
Expand All @@ -55,7 +55,7 @@ build: spack.lock deps/usr/bin/overlayfs
-c "config:install_tree:root:$(UPSTREAM_STORE)" \
-c "modules:default:enable::[]" \
-e $(CURDIR) \
install -j32 && touch "$@"
install -j72 && touch "$@"

# Create a layer, including the new database index
store.tar.zst: exclude.txt build deps/usr/bin/zstd
Expand Down

0 comments on commit 0527e16

Please sign in to comment.