Open
Description
I'm trying to test my code with a github action with the intel compilers on Ubuntu-latest:
name: Linux Intel
on: [push, pull_request]
permissions: {}
jobs:
linux_intel:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: [ '3.13']
toolchain:
- {compiler: intel, version: 2025.0}
- {compiler: intel, version: 2024.0}
- {compiler: intel, version: 2023.0}
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install build wheel pip-tools
pip-compile -o requirements.txt --extra test --strip-extras
python -m pip install -r requirements.txt
- uses: fortran-lang/setup-fortran@v1
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- name: Build
run: |
export CC=${{ matrix.toolchain.compiler }}
python -m build
python -m pip install dist/pyifb*.whl
- name: Test
# Don't use python -m pytest as that screws up the module loading
run: |
pytest -v
But i'm getting the following error:
Get:41 https://apt.repos.intel.com/oneapi all/main all Packages [167 kB]
Get:42 https://apt.repos.intel.com/oneapi all/main amd64 Packages [587 kB]
Fetched 10.3 MB in 2s (6050 kB/s)
Reading package lists...
W: https://apt.repos.intel.com/oneapi/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
+ case $version in
+ sudo apt-get install intel-oneapi-compiler-fortran-2025 intel-oneapi-compiler-dpcpp-cpp-2025
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package intel-oneapi-compiler-fortran-2025
E: Unable to locate package intel-oneapi-compiler-dpcpp-cpp-2025
Error: Process completed with exit code 100.
Am I doing something wrong? Or did intel rename their packages?
Metadata
Metadata
Assignees
Labels
No labels