Skip to content

Commit

Permalink
Activate compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Sep 11, 2023
1 parent bcbb7c5 commit 64dd076
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/linux_install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ runs:
echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/oneAPI.list" -o APT::Get::List-Cleanup="0"
sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-openmp intel-oneapi-mkl
ln -s ifort ifx
LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1)
# shellcheck source=/dev/null
source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
shell: bash

0 comments on commit 64dd076

Please sign in to comment.