Skip to content

Commit

Permalink
debug ubuntu_intel.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA authored Nov 18, 2024
1 parent bcf6b31 commit e8e554f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ubuntu_intel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ defaults:
# Set I_MPI_CC/F90 so IntelLLVM is used.
env:
cache_key: intel
CC: mpiicc
FC: mpiifort
CXX: mpiicpc
CC: mpiicx
FC: mpiifx
CXX: mpiicpx
I_MPI_CC: icx
I_MPI_F90: ifx
I_MPI_CXX: icpx

# The jobs are split into:
# 1. a dependency build step (setup), and
Expand Down Expand Up @@ -50,7 +51,7 @@ jobs:
sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update
sudo apt-get install intel-oneapi-dev-utilities intel-oneapi-mpi-devel-2021.10.0 intel-oneapi-openmp intel-oneapi-compiler-fortran-2023.2.1 intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2023.2.1
sudo apt-get install intel-oneapi-dev-utilities intel-oneapi-mpi-devel intel-oneapi-openmp intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2023.2.1
echo "source /opt/intel/oneapi/setvars.sh" >> ~/.bash_profile
# Install dependencies using Spack
Expand All @@ -65,9 +66,10 @@ jobs:
spack compiler find
sudo apt install cmake
spack external find
spack add intel-oneapi-mpi
spack config add "packages:all:prefer:'%oneapi'"
spack config add "packages:mpi:require:intel-oneapi-mpi"
spack concretize
spack install --dirty -v --fail-fast
spack install --dirty --show-log-on-error --fail-fast
spack clean --all
ufs_utils:
Expand Down

0 comments on commit e8e554f

Please sign in to comment.