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

How to use ieee_exception to catch numerical exceptions?

hamid3252
Beginner
425 Views
Hi,
I would like to use the IEEE-related packages to catch numerical exceptions. But when I add the line:
use, intrinsic :: ieee_exception
in the code, I get this error while compiling:
error #7002: Error in opening the compiled module file. Check INCLUDE paths. [IEEE_EXCEPTION]
I tried to use the switch \\I to set the include path to the specified folder, but still it does not work. Here is my compile command:
ifort /c /I:"C:\\Program Files (x86)\\Intel\\Compiler\\11.0\\072\\fortran\\include\\Intel64\\\\" SysCallTest.f90
I would appreciate if you let me know what I am missing or where I am mistaken.
Thanks,
Hamidreza,
0 Kudos
2 Replies
IanH
Honored Contributor III
425 Views
You are missing an "s".

USE, INTRINSIC :: IEEE_EXCEPTIONS
0 Kudos
hamid3252
Beginner
425 Views
Thanks for your help!
0 Kudos
Reply