Skip to content

Commit

Permalink
Update intel-oneapi install script
Browse files Browse the repository at this point in the history
  • Loading branch information
wdeconinck authored and awnawab committed Nov 30, 2023
1 parent ae322e0 commit bc824f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/tools/install-intel-oneapi.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/sh
#!/usr/bin/env bash

KEY=GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB
version=2023.2.0
KEY=GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB
wget https://apt.repos.intel.com/intel-gpg-keys/$KEY
sudo apt-key add $KEY
rm $KEY
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-compiler-fortran \
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic \
intel-oneapi-mpi \
intel-oneapi-mpi-devel \
intel-oneapi-mkl
intel-oneapi-compiler-fortran-$version \
intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-$version \
intel-oneapi-mpi-devel-2021.10.0 \
intel-oneapi-mkl-$version
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ jobs:
name:
- linux gnu-10
- linux clang-12
- linux nvhpc-21.9
- linux intel
- linux intel-classic
- macos

include:
Expand Down Expand Up @@ -74,9 +73,9 @@ jobs:
cmake_options: -DCMAKE_CXX_FLAGS=--diag_suppress177
caching: true

- name : linux intel
- name : linux intel-classic
os: ubuntu-20.04
compiler: intel-oneapi
compiler: intel-classic
compiler_cc: icc
compiler_cxx: icpc
compiler_fc: ifort
Expand Down Expand Up @@ -152,7 +151,7 @@ jobs:
${ECWAM_TOOLS}/install-intel-oneapi.sh
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
echo "CACHE_SUFFIX=$(icc -dumpversion)" >> $GITHUB_ENV
echo "CACHE_SUFFIX=$CC-$($CC -dumpversion)" >> $GITHUB_ENV
- name: Install MPI
shell: bash -eux {0}
Expand Down

0 comments on commit bc824f1

Please sign in to comment.