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

Unable to start program

Richard_R_1
Beginner
6,219 Views

I am using Visual Studio 2010 with the Intel Visual Fortran Composer XE 2013 for Windows* OS and am also getting the Unable to Start program error(which has the full path to my executable).  I am able to create the executable using Build.  Also when I try to run the program using Ctrl F5  I get a different error: Unable to start program C:\Windows\system32\cmd.exe.  I have checked the value for the Free Form Sources as suggested in the Developer Zone Forum and it is .f90

When I Click on the Windows strart button and type cmd.exe into the search window and click on cmd.exe I do get the command prompt window.

Any suggestions would be appreciated.

Please let me know if know if you need additional information.

Thanks in advance for your help.

0 Kudos
26 Replies
Steven_L_Intel1
Employee
1,370 Views

Ok, that all looks good. Hmm - can you temporarily disable the Symantec Endpoint antivirus and see if the problem persists?

0 Kudos
Richard_R_1
Beginner
1,370 Views

I don't have the capability to disable the Symantec Endpoint virus software.

I am checking with our security staff to see if this is possible.
 

0 Kudos
Richard_R_1
Beginner
1,370 Views

Sorry for the delay. 

I was told by the department security staff that I would not be able to disable the Symantec Endpoint virus software.  In the meantime I installed Microsoft Visual Studio 2010 and the Intel Visual Fortran Composer XE software on my laptop which also runs Windows 7.  I compiled and executed the same Fortran program that I was using on my desktop and the program ran successfully.  The laptop also has Symantec Endpoint virus software installed and running.  Any ideas on what is causing the problem on my desktop?

0 Kudos
Steven_L_Intel1
Employee
1,370 Views

I truly have no idea - it's not as if Visual Studio is giving you any helpful information.

Here's something to try. Go to your C++ "hello world" project and in the Debugging property page, replace the path to the executable with the one for your Fortran EXE. Will it run from there?

0 Kudos
Richard_R_1
Beginner
1,370 Views

Here is what showed up in the Output window when I put the path to the Fortran executable(See attached file) into the Debug Command property.

'a111714temp.exe': Loaded 'G:\a111714temp\a111714temp\a111714temp\Debug\a111714temp.exe', Symbols loaded.
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\imagehlp.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'a111714temp.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
The program '[6048] a111714temp.exe: Native' has exited with code 0 (0x0).

0 Kudos
Steven_L_Intel1
Employee
1,370 Views

The program ran successfully there. Very strange. I will ask our VS development team if they have any ideas about this.

0 Kudos
Reply