Dear folks,
I am using
>ifort -O3 -xHost -ipo
to compile a huge program package including a NAG Library file and get the following error message:
NAG_TProp.f(8887): remark #7922: The value was too small when converting to REAL(KIND=8); the result is in the denormalized range. [1.11253692925361D-308] DATA X02CON /1.11253692925361D-308 / -------------------^
The corresponding function in the file in which the error occurs looks like this
DOUBLE PRECISION FUNCTION X02AMF() C MARK 12 RELEASE. NAG COPYRIGHT 1986. C C RETURNS THE 'SAFE RANGE' PARAMETER C I.E. THE SMALLEST POSITIVE MODEL NUMBER Z SUCH THAT C FOR ANY X WHICH SATISFIES X.GE.Z AND X.LE.1/Z C THE FOLLOWING CAN BE COMPUTED WITHOUT OVERFLOW, UNDERFLOW OR OTHER C ERROR C C -X C 1.0/X C SQRT(X) C LOG(X) C EXP(LOG(X)) C Y**(LOG(X)/LOG(Y)) FOR ANY Y C DOUBLE PRECISION X02CON DATA X02CON /1.11253692925361D-308 / C .. Executable Statements .. X02AMF = X02CON RETURN END
My ifort version is
>ifort -V Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.133 Build 20141023 Copyright (C) 1985-2014 Intel Corporation. All rights reserved.
Is this a compiler problem? Are there any option I could try? I also couldn't find a 'newer' version of the NAG Routine online, so I can't tell if this occurs only with this quite old version.
Thank you in advance,
Maja