I have a program that compiles the 32-bit version with no problems, however when I try to compile the 64-bit version I get error #7002.
Error error #7002: Error in opening the compiled module file. Check INCLUDE paths. [IEEE_ARITHMETIC]
The offending line of code is
USE, INTRINSIC :: ieee_arithmetic, only : ieee_is_nan
I am using Intel Parallel Studio XE 2016 Update 3 Composer Edition for Fortran Windows in Microsoft Visual Studio 2015.
The command options for the Win32 platform are
/nologo /Od /names:lowercase /iface:cref /assume:underscore /module:"Win32\Release\\" /object:"Win32\Release\\" /Fd"Win32\Release\vc140.pdb" /libs:static /threads /c
The command options for the x64 platform are
/nologo /Od /names:lowercase /iface:cref /assume:underscore /module:"x64\Release\\" /object:"x64\Release\\" /Fd"x64\Release\vc140.pdb" /libs:static /threads /c
This would be controlled by the settings under Tools > Options > Intel Compilers and Tools > Visual Fortran > Compilers > x64 > Includes. This list should include "$(IFortInstallDir)compiler\include\Intel64". Look in C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.3.207\windows\compiler\include\intel64 to see if ieee_arithmetic.mod is there.
It could be that the compiler did not install properly and that trying a "Repair" on the Parallel Studio XE install will solve the problem.
The subdirectory intel64 is missing from the include directory.
When I try to do a repair, the installer says I need to start the install from the original media.
How do I repair an update?
I removed update 3 and update 2. Restarted my computer and installed update 3. intel64 is now in the include directory.
Thank you for your help.