GitXplorerGitXplorer
r

setup-oneapi

public
16 stars
4 forks
7 issues

Commits

List of commits on branch main.
Verified
7d28c61c6092514a574424d189eee631ef72cbb9

update pre-commit (#56)

rrscohn2 committed 12 days ago
Verified
4f4dfee14ebb17be034bca7d06c13c8a29e711f6

Bump @actions/cache from 3.3.0 to 4.0.0 (#53)

ddependabot[bot] committed 12 days ago
Verified
6fef2814e257577ac03db813c8738b51ecbfb993

Update oneapi releases. (#55)

mmarcfehling committed 12 days ago
Verified
b3efa9ec14d5b5ad9566b6c203768202521460f5

Added links to spack packages. (#50)

mmarcfehling committed 2 months ago
Verified
059e2a3a54e47b5f633270c589ca324dfa2d3c58

Fix mpi-test.sh (#49)

mmarcfehling committed 2 months ago
Verified
90189af0949fc2f40bf1030376ca005871597d8c

2025 release (#48)

rrscohn2 committed 2 months ago

README

The README file for this repository.

============== setup-oneapi

.. image:: https://github.com/rscohn2/setup-oneapi/actions/workflows/main.yml/badge.svg :target: https://github.com/rscohn2/setup-oneapi/actions/workflows/main.yml

This GitHub action installs oneapi components. See example_.

Inputs

cache

Speed up install by using GitHub cache. Default true.

components

Components to install. Default none.

prune

Speed up cache save/restore by removing infrequently used files. Default true.

list

Show the list of available components. Default false.

Developer Info

Use nvm_ to install node.

Install dependencies::

npm i @vercel/ncc npm install

If you already installed then update with::

npm update

Run checkers as part of pre-commit hook::

pip install pre-commit pre-commit install

You can also run checkers manually::

pre-commit run --all

pre-commit automatically fixes most errors. Add the changed files to your commit and try again.

To publish a new oneapi release, update src/main.js. Get the URLS from the corresponding spack packages.

.. list-table:: :header-rows: 1

    • update src/main.js
    • spack package
    • ccl
    • intel-onepi-ccl_
    • dal
    • intel-onepi-dal_
    • dnn
    • intel-onepi-dnn_
    • dpl
    • intel-onepi-dpl_
    • icx/ifx
    • intel-onepi-compilers_
    • impi
    • intel-onepi-mpi_
    • ipp
    • intel-onepi-ipp_
    • ippcp
    • intel-onepi-ippcp_
    • mkl
    • intel-onepi-mkl_
    • tbb
    • intel-onepi-tbb_

Compile the package::

npm run build

Commit changes and submit via PR.

If CI passes, merge main branch into v0 branch.

You can add test cases to: CI_.

.. _intel-onepi-ccl: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py .. _intel-onepi-compilers: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py .. _intel-onepi-dal: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py .. _intel-onepi-dnn: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py .. _intel-onepi-dpl: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-dpl/package.py .. _intel-onepi-ipp: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py .. _intel-onepi-ippcp: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py .. _intel-onepi-mkl: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py .. _intel-onepi-mpi: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py .. _intel-onepi-tbb: https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py

.. _CI: .github/workflows/main.yml .. _example: https://github.com/rscohn2/test-setup-oneapi/blob/main/.github/workflows/main.yml .. _nvm: https://github.com/nvm-sh/nvm