Skip to content

Commit

Permalink
Update Intel following ufs_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Dec 18, 2024
1 parent c698787 commit 1249a8c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1249a8c

Please sign in to comment.