migelo/Set up Intel oneAPI
Installs Intel oneAPI compilers (Fortran/DPC++/C++) and Intel MPI on a GitHub Actions runner, sources setvars.sh once, and propagates the resulting environment to GITHUB_ENV so subsequent steps in the same job inherit the oneAPI env (PATH, LD_LIBRARY_PATH, MKLROOT, I_MPI_ROOT, ...) without re-sourcing. Optionally restores a project's HDF5 install cache so downstream build steps can find a previously-built HDF5 (off by default).
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| intel-mpi | Install intel-oneapi-mpi-devel | no | true |
| intel-fortran | Install intel-oneapi-compiler-fortran (ifx) | no | true |
| intel-cpp | Install intel-oneapi-compiler-dpcpp-cpp (icx/icpx) | no | true |
| free-disk-space | Remove unused SDKs from the runner before apt-installing oneAPI (~5 GB freed) | no | true |
| setvars-args | Extra args passed to setvars.sh (e.g. "--config=...") | no | "" |
| hdf5-cache-restore | Restore a previously cached HDF5 install (opt-in). When false, all hdf5-* inputs are ignored. | no | false |
| hdf5-version | HDF5 version string, used as part of the cache key (only used when hdf5-cache-restore=true) | no | 1.14.3 |
| hdf5-install-dir | Directory where HDF5 is/was installed (only used when hdf5-cache-restore=true) | no | ${{ github.workspace }}/hdf5-install |
| hdf5-cache-key | Full cache key for the HDF5 install (only used when hdf5-cache-restore=true). If empty, a default key is composed from version + runner OS. | no | "" |
Outputs
no outputs