I am the student and i need to use fortran to run some of my codes, but i can not find a place to open the fortran compiler. Can you pls suggest me a way to open the compiler? Thank you.
( I have already installed the HPC tool kits)
Firstly, you need to source the oneAPI environment.
"C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
ifort: C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\bin\intel64
ifx: C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\bin
The Intel® Fortran Compiler Classic (ifort driver) in the Intel® oneAPI HPC Toolkit includes a full implementation of the Fortran 2018 standard.
The Intel® Fortran Compiler (Beta) (ifx driver) is also included in the Intel® oneAPI HPC Toolkit. The Intel® Fortran Compiler (Beta) (ifx) is a new compiler based on the Intel® Fortran Compiler Classic (ifort) frontend and runtime libraries, using LLVM backend technology.
More information here:
Thank you very much Rahul! But when i followed the instruction, i wasn't sure which one is the "Intel oneAPI command prompt for Visual Studio", so i went with the alternative approach, but it showed me the error message in the pic, i didnt install my visual studio in the drive C, is there a way i can redirect the setvars.bat file to the directory where i installed my visual studio? Thank you.