Skip to content

mumps: correct flags and possible oneAPI memory leaks #550

mumps: correct flags and possible oneAPI memory leaks

mumps: correct flags and possible oneAPI memory leaks #550

Workflow file for this run

name: oneapi-linux
env:
CC: icx
CXX: icpx
FC: ifx
# https://github.com/oneapi-src/oneapi-ci/blob/master/.github/workflows/build_all.yml
on:
push:
paths-ignore:
- ".github/workflows/ci_windows.yml"
- ".github/workflows/ci_macos.yml"
- ".github/workflows/ci.yml"
- "docs/**"
- "cmake/cray.cmake"
- "**.md"
workflow_dispatch:
# avoid wasted runs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
hwm14: [false]
steps:
- uses: actions/checkout@v6
# this must be before oneAPI script commands else the scripts do not exist on the image
- name: cache install oneAPI
id: cache-install
uses: actions/cache@v5
with:
path: |
/opt/intel/oneapi
key: oneapi-apt
- name: non-cache install oneAPI
if: steps.cache-install.outputs.cache-hit != 'true'
timeout-minutes: 8
# 5 minutes times out sometimes
run: |
sh -c .github/workflows/oneapi_setup_apt_repo_linux.sh
sudo apt install --no-install-recommends \
intel-oneapi-compiler-fortran \
intel-oneapi-compiler-dpcpp-cpp \
intel-oneapi-mpi \
intel-oneapi-mpi-devel \
intel-oneapi-mkl \
intel-oneapi-mkl-devel
- name: Setup Intel oneAPI environment
run: |
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: CMake build and Unit test
run: cmake --workflow release-unit
- name: Upload log failure
if: failure()
uses: actions/upload-artifact@v7
with:
name: oneapi-${{ runner.os }}-CMakeConfigureLog.yaml
path: build/CMakeFiles/CMakeConfigureLog.yaml
- name: exclude unused files from cache
if: steps.cache-install.outputs.cache-hit != 'true'
run: sh -c .github/workflows/oneapi_cache_exclude_linux.sh