diff --git a/.github/workflows/gfortran.yml b/.github/workflows/gfortran.yml index 32f3fc58..2347e28b 100644 --- a/.github/workflows/gfortran.yml +++ b/.github/workflows/gfortran.yml @@ -121,42 +121,25 @@ jobs: fail_ci_if_error: true intel_build: - name: Intel OneAPI build - runs-on: ubuntu-20.04 - env: - FC: mpiifort - # Use GCC for C++ code to speed up the build - #CC: icc - #CXX: icpc - APT_PACKAGES: >- - intel-oneapi-compiler-fortran - intel-oneapi-mpi - intel-oneapi-mpi-devel - # intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic + name: Intel ifx build + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: fetch-depth: 2 - - name: Add Intel repository - run: | - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB - sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB - rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB - echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list - sudo apt-get update - - - name: Install Intel oneAPI compiler - run: | - sudo apt-get install ${{ env.APT_PACKAGES }} - source /opt/intel/oneapi/setvars.sh - printenv >> $GITHUB_ENV + - uses: fortran-lang/setup-fortran@v1 + id: setup-fortran + with: + compiler: ifx + version: '2024.1' - name: Build ABIN - run: ./configure --mpi "" && make + run: ./configure && make env: - FFLAGS: -O0 -fopenmp -warn all,noextern + FFLAGS: -O0 -qopenmp + #FFLAGS: -O0 -qopenmp #-warn all,noextern - name: Run End-to-End tests run: make e2etest