Skip to content

Commit

Permalink
Have spack find externals before installing MPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Whitlock committed Oct 9, 2024
1 parent e24010f commit 941f185
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ services:
VOLUME /configs
ARG ompi_version
ENV ompi_version=$$ompi_version
CMD ls . && ls / && ls /configs && cp /configs/spack.yaml . && \
CMD cp /configs/spack.yaml . && \
spack -e . add openmpi@$${ompi_version} && \
spack -e . containerize >/configs/spack.Dockerfile
spack -e . containerize >/configs/spack.Dockerfile && \
sed -i -e 's/spack install/spack externals find --all \&\& spack install/;' /configs/spack.Dockerfile
args:
ompi_version: main
no_cache: true
Expand Down

0 comments on commit 941f185

Please sign in to comment.