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

Files from Command 11.1.038 does not work

gkhudcflrrcom
Beginner
447 Views
In late June, I downloaded and installed w_cprof_p_11.1.035 on my HP x64 laptop running Vista Home Premium, which included VS2008 shell. I moved Fortran source files from my desktop that uses 11.0.066 compiler and created new Solution and Project on laptop. I built the executable from scratch using the compliler option /fpscomp:filesfromcmd on laptop. When I Start Without Debugging, the program craps out with the error forrtl: severe (39): error during read, unit 5, file "Unknown". The offending Fortranstatement isas follows: OPEN(UNIT=5,FILE=' '). I have submitted an issue to Intel Premier Support but wonder if anyone else has seen this issue and maybe knows the resolution for it. This compiler options works on the desktop running 11.0.066 with VS2005.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
447 Views
A workaround is to call the GetOpenFileName Win32 API routine. An example of this is provided with the compiler in the "Win32" Samples ZIP.
0 Kudos
Reply