From 941f18555e8c7a3d81e02461ee43d25024a88bed Mon Sep 17 00:00:00 2001 From: Matthew Whitlock Date: Tue, 8 Oct 2024 20:37:02 -0400 Subject: [PATCH] Have spack find externals before installing MPI --- .github/docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/docker-compose.yml b/.github/docker-compose.yml index bd47055..1a9bdda 100644 --- a/.github/docker-compose.yml +++ b/.github/docker-compose.yml @@ -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