Problem with log function - Intel fortran compiler under Linux
- From: Arjen Markus <arjen.markus@xxxxxxxxxx>
- Date: Thu, 04 Oct 2007 06:35:05 -0700
Hello,
we are experiencing a rather nasty problem with the Intel Fortran
compiler under Linux
(version 9.0). The program is big and so far we have not been able to
trim the code
so that a moderately sized program displays the problem too.
The point is this:
The first application of the log function on double precision reals
causes
an NaN (while the argument is a perfectly acceptable value of about
0.6).
If we add a dummy statement like:
aa =log(r)
as one of the first statements, the value of aa becomes NaN and some
later computations
succeed. (NaNs occur at a different positions).
Here is some more information:
Intel Fortran: 9.0
Linux: Red Hat Enterprise Linux, ES release 4.
Has anyone encounter similar problems? Does anyone know how to solve
this problem?
Regards,
Arjen
.
- Follow-Ups:
- Re: Problem with log function - Intel fortran compiler under Linux
- From: Arjen Markus
- Re: Problem with log function - Intel fortran compiler under Linux
- From: Arjen Markus
- Re: Problem with log function - Intel fortran compiler under Linux
- From: David Flower
- Re: Problem with log function - Intel fortran compiler under Linux
- From: wclodius
- Re: Problem with log function - Intel fortran compiler under Linux
- From: Dr Ivan D. Reid
- Re: Problem with log function - Intel fortran compiler under Linux
- Prev by Date: Re: What's wrong with this code ?
- Next by Date: Re: APL2007 update
- Previous by thread: Modules and User Supplied Subroutine
- Next by thread: Re: Problem with log function - Intel fortran compiler under Linux
- Index(es):
Relevant Pages
|