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

Linker can't find ISO_FORTRAN_ENV

ender01
New Contributor I
1,876 Views
Hello all,

Last night I went down a rabbit hole and decided to try to get ArrayVisualizer integrated with VS2008/IVF (11.1.065 [IA-32]). I followed the directions given in the following post:

http://software.intel.com/en-us/forums/showthread.php?t=65273

Lo and behold, the demo program compiled and ran, and I was able to examine arrays in ArrayVisualizer while debugging. Life was good until I tried to recompile the code that I was working on. When I did, I got this message:

error #7002: Error in opening the compiled module file. Check INCLUDE paths. [ISO_FORTRAN_ENV]

Any suggestions?

Thanks,

Rich
0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,876 Views
That's not the linker, that's the compiler. ISO_FORTRAN_ENV.modintr should be in C:\Program Files\Intel\Compiler\11.1\065\include\ia32 and the INCLUDE path should have this folder (up to "include" - the compiler will add the ia32.)

My guess is that you corrupted the list of "Includes" and I note that, for some reason, that post omits the backslashes in the path. I'll edit it to reinstate them.

Click the Reset All button in that Tools > Options > Intel Fortran > Compilers dialog and carefully add the AV paths as a new line in the list.
0 Kudos
ender01
New Contributor I
1,876 Views
Curioser and curiouser...

I had figured that the backslashes were missing and had added them. The includes were:

$(IFortInstallDir)include
$(IFortInstallDir)include\ia32
$(IFortInstallDir)mkl\include
$(VCInstallDir)atlmfc\include
$(VCInstallDir)include
$(VCInstallDir)PlatformSDK\include
$(WindowsSdkDir)include
"C:\Program Files\Intel\Array Visualizer\include"

Similarly, the executables and libraries were:

:
$(WindowsSdkDir)bin
$(PATH)
"C:\Program Files\Intel\Array Visualizer\bin"

and

:
$(VCInstallDir)PlatformSDK\lib\x86
$(WindowsSdkDir)lib
"C:\Program Files\Intel\Array Visualizer\lib"

respectively. Per your recommendation, I hit the reset all button and re-added the paths via cut and paste from the edited post referenced above. No dice. I hit reset all again and did not add the paths and the compilation worked. I then added AV paths one at a time, first to Executables, then to Libraries, and finally to Include, trying the compilation after each update. The addition to the Includes is where the problem is. As soon as I add it, it can no longer find ISO_FORTRAN_ENV and as soon as I remove it, everything is peachy keen again.

Any ideas?
0 Kudos
Steven_L_Intel1
Employee
1,876 Views
Try it without the quotes.
0 Kudos
Reply