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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
intel-mpiInstall intel-oneapi-mpi-develnotrue
intel-fortranInstall intel-oneapi-compiler-fortran (ifx)notrue
intel-cppInstall intel-oneapi-compiler-dpcpp-cpp (icx/icpx)notrue
free-disk-spaceRemove unused SDKs from the runner before apt-installing oneAPI (~5 GB freed)notrue
setvars-argsExtra args passed to setvars.sh (e.g. "--config=...")no""
hdf5-cache-restoreRestore a previously cached HDF5 install (opt-in). When false, all hdf5-* inputs are ignored.nofalse
hdf5-versionHDF5 version string, used as part of the cache key (only used when hdf5-cache-restore=true)no1.14.3
hdf5-install-dirDirectory where HDF5 is/was installed (only used when hdf5-cache-restore=true)no${{ github.workspace }}/hdf5-install
hdf5-cache-keyFull 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""

no outputs