Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Feb 25, 2022
1 parent f6eb95d commit 2fd1472
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion experimental/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ add_cray_mpich: bin/add_cray_mpich.py spack.yaml deps/spack

# Concretize
spack.lock: spack.yaml deps/spack add_cray_mpich
$(SRUN) $(SPACK) -e $(CURDIR) concretize --reuse
$(SRUN) $(SPACK) \
-e $(CURDIR) \
-c "config:install_tree:root:$(DOWNSTREAM_STORE)" \
concretize --reuse

# Distributed build using overlayfs.
# Spack believes it's installing to UPSTREAM_STORE, but in reality it's installing new
Expand Down
2 changes: 1 addition & 1 deletion experimental/bin/add_cray_mpich.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

for compiler in spack.compilers.all_compilers():
if compiler.name == 'gcc':
spec = Spec('cray-mpich@7.7.18 target=x86_64')
spec = Spec('cray-mpich@7.7.18')
spec.external_path = '/opt/cray/pe/mpt/7.7.18/gni/mpich-gnu'
spec.compiler = compiler.spec
spec.concretize()
Expand Down

0 comments on commit 2fd1472

Please sign in to comment.