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

Error while compiling Fortran code in Visual studio and Intel Fortran compiler

Nikhil_L_
Beginner
183 Views

Hello all, 

I have written simple fortran code in visual studio. But when I run it in Visual studio with Intel fortran compiler: I am getting following error message:

Unable to start the program:

'C:Users\...\..Console4\Debug\Console4.exe 

Access is denied. 

Code is built successfully though. Here is a log for that:

1>------ Build started: Project: Console4, Configuration: Debug Win32 ------
1>Linking...
1>Embedding manifest...
1>
1>Build log written to  "file://C:\Users\...\Desktop\...\Console4\Console4\Debug\BuildLog.htm"
1>Console4 - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

 

Can anybody please help me to fix this issue? We are unable to determine where is this error message is coming from. 

Thank you in advance for your help in this matter, 

Nik

0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
183 Views

In most cases, this is caused by a virus scanner holding a lock on the newly created executable, since that is considered a sign of malware. Try temporarily disabling your antivirus tool to see if that changes things, and if it does, add your development folder to its exclusion list.

0 Kudos
Reply