Changeset 5354


Ignore:
Timestamp:
Nov 29, 2024, 3:28:41 PM (4 hours ago)
Author:
yann meurdesoif
Message:

function isnan() is a non-standard gnu extension and it is not compiling with nvidia compiler.
It has been standardize in fortran 2003 by using intrinsic module function ieee_is_nan()
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/Dust/checknanqfi.f90

    r5268 r5354  
    11SUBROUTINE checknanqfi(zq,qmin,qmax,comment)
    22  USE dimphy
     3  USE, intrinsic :: ieee_arithmetic
    34  IMPLICIT NONE
    45
     
    1617     DO i = 1, klon
    1718!        IF (zq(i,k).GT.qmax .OR. zq(i,k).LT.qmin) THEN
    18         IF (isnan(zq(i,k))) THEN
     19        IF (ieee_is_nan(zq(i,k))) THEN
    1920           jbad = jbad + 1
    2021           jadrs(jbad) = i
Note: See TracChangeset for help on using the changeset viewer.