Skip to content

Instantly share code, notes, and snippets.

@scivision
Last active November 17, 2023 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scivision/196cfa0df761ad4fcace8ff269128f7b to your computer and use it in GitHub Desktop.
Save scivision/196cfa0df761ad4fcace8ff269128f7b to your computer and use it in GitHub Desktop.
oneAPI source scripts for Linux, macOS and Windows
$env:CC="icx"
$env:FC="ifx"
$env:CXX="icx"
& $env:comspec /c '"%PROGRAMFILES(X86)%\Intel\oneAPI\setvars.bat" && pwsh'
source /opt/intel/onapi/setvars.sh
export FC=ifx CC=icx CXX=icpx
export MPI_ROOT=$I_MPI_ROOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment