Ignore:
Timestamp:
Dec 24, 2015, 2:10:58 PM (9 years ago)
Author:
emillour
Message:

Venus GCM:
Some minor modifications to compile/run with gfortran:

  • removed reference to intrinsic "ieee_arithmetic" module (only available with gfortran v5 and higher), and replaced calls to intrinsic "ieee_is_nan" with equivalent tests in physiq.F
  • added a LAPACK preprocessing flag around calls to dgesv (Lapack subroutine) in new_photochemistry_venus.F90 and adapted MESU and OCCIGEN arch files (GNOME and ADA arch files already include this flag).

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.VENUS/libf/phyvenus/physiq.F

    r1460 r1506  
    6969      USE compo_hedin83_mod2
    7070      use moyzon_mod, only: tmoy
    71       use ieee_arithmetic
     71!      use ieee_arithmetic
    7272      use temps_mod, only: itau_phy,day_ref,annee_ref
    7373      use logic_mod, only: iflag_trac
     
    962962c--------------------
    963963c   Ce test est necessaire pour eviter Xliq=NaN   
    964         IF (ieee_is_nan(d_tr_sed(i,k,1)).OR.
    965      &  ieee_is_nan(d_tr_sed(i,k,2))) THEN
     964!        IF (ieee_is_nan(d_tr_sed(i,k,1)).OR.
     965!     &  ieee_is_nan(d_tr_sed(i,k,2))) THEN
     966        IF ((d_tr_sed(i,k,1).ne.d_tr_sed(i,k,1)).OR.
     967     &      (d_tr_sed(i,k,2).ne.d_tr_sed(i,k,2))) THEN
    966968        PRINT*,'sedim NaN PROBLEM'
    967969        PRINT*,'d_tr_sed Nan?',d_tr_sed(i,k,:),'Temp',t_seri(i,k)
Note: See TracChangeset for help on using the changeset viewer.