Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Problem run exe in powershell

tuan
Beginner
1,359 Views

after installing Intel One for Fortran coding. The exe file from Visual Studio 2017 can not run in PowerShell with any message. While it can run normally in VS.  I really cannot figure out how to deal with this, can anyone help me with this please? 

0 Kudos
3 Replies
SantoshY_Intel
Moderator
1,330 Views

Hi,


Thanks for reaching out to us.


As of now, PowerShell is not officially supported by Intel oneAPI.

For now, you can follow the below steps as a workaround.


1.Open Intel one API command prompt.

2.Type "Powershell" in Intel one API command prompt.

3.Powershell is invoked and now you can check for ifort --version

4.Now you can run the sample Fortran program using ifort

ifort ./sample.f90

./sample.exe


Let us know if you face any further issues.


Thanks & Regards,

Santosh


0 Kudos
SantoshY_Intel
Moderator
1,307 Views

Hi,


We haven't heard back from you. Is the solution provided helped? If yes, Could you please confirm whether we can close this thread?


Thanks & Regards,

Santosh


0 Kudos
SantoshY_Intel
Moderator
1,294 Views

Hi,


As we have not heard back from you, we are considering that your issue has been resolved and we have answered all your queries. So we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.


Have a Good day!


Thanks & Regards

Santosh


0 Kudos
Reply