powershellfortranintel-fortranintel-oneapi

How to make ifort work on Windows Powershell?


Intel oneAPI command prompt can be invoked and works fine on my computer (Windows 10), but I want ifort work on Windows Powershell. Is there any way to do it?


Solution

    1. Open an Intel Fortran command shell prompt (shortcut installed in the Start menu or use call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat" intel64 vs2022 from a cmd window.
    2. Type powershell