Previously, we’ve been using the old Compaq fortran compiler, and since it has been dropped a long time ago, we are looking into the recent additions to the fortran arena. We purchased a full license of PVF Workstation Complete and are trying to get our code to compile. Most errors and warnings that have come up, have been dealt with easily, but I can’t figure out what to do for this particular error.
The code compiles fine, but when linking (building?), I get the error: "unresolved external symbol _ISNAN@4 referenced in function _LINTERP@24.
My issue is this, there is no call to ISNAN or _ISNAN in this routine… in fact the code is as follows:
REAL*8 XHI, XLO, YHI, YLO, Y, SCALEVAL, X
SCALEVAL = (X - XLO)/(XHI - XLO)
Y = (SCALEVAL * (YHI - YLO)) + YLO
I can only assume that the ‘/’ operator is invoking the _ISNAN function.
Can anyone tell me how to get this to compile or to resolve the _ISNAN function so that I can move forward? I’m sure other link errors will arise but until I get past this one, I can’t get anywhere.