Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Problem run exe in powershell

tuan
Beginner
469 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
440 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


SantoshY_Intel
Moderator
417 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


SantoshY_Intel
Moderator
404 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


Reply