From 1249a8c187c980ba2c2d602e99f385ba5b7d298f Mon Sep 17 00:00:00 2001 From: David Huber Date: Wed, 18 Dec 2024 10:41:28 -0600 Subject: [PATCH] Update Intel following ufs_utils --- .github/workflows/intel.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index 66e847806..9cd0933e2 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -79,8 +79,15 @@ jobs: spack env activate gsi-env spack compiler find spack external find + spack config add "packages:all:prefer:'%intel'" + spack config add "packages:mpi:require:intel-oneapi-mpi" + intel_mpi_version=$(basename $(realpath /opt/intel/oneapi/mpi/latest)) + sed -i "s|^ packages:| packages:\n intel-oneapi-mpi:\n buildable: false\n externals:\n - spec: intel-oneapi-mpi@${intel_mpi_version}\n prefix: /opt/intel/oneapi|" $SPACK_ENV/spack_intel.yaml + spack config add "packages:python:require:'@3.11'" + cat $SPACK_ENV/spack_intel.yaml + spack concretize - spack install --fail-fast --dirty + spack install --fail-fast --show-log-on-error --dirty spack clean -a gsi: