Last active
November 17, 2023 15:38
-
-
Save scivision/196cfa0df761ad4fcace8ff269128f7b to your computer and use it in GitHub Desktop.
oneAPI source scripts for Linux, macOS and Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$env:CC="icx" | |
$env:FC="ifx" | |
$env:CXX="icx" | |
& $env:comspec /c '"%PROGRAMFILES(X86)%\Intel\oneAPI\setvars.bat" && pwsh' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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