Changeset 648


Ignore:
Timestamp:
May 4, 2012, 10:24:20 AM (13 years ago)
Author:
emillour
Message:

Mars GCM:

  • some syntax corrections in thermcall_main_mars, vdif_cd, pbl_parameters which cause problems when compiling with some strict compilers (g95, gfortran)
  • added an initialisation of 'varian' in initracer for cases when using conrath dust; because that value can be is used elsewhere (e.g. surfacearea)

JYC+EM

Location:
trunk/LMDZ.MARS
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r645 r648  
    16531653  arguments in call to simpleclouds and rdust() should only be recomputed
    16541654  if dust_mass & dust_number tracers are available).
     1655
     1656== 04/05/12 == JYC+EM
     1657- some syntax corrections in thermcall_main_mars, vdif_cd, pbl_parameters
     1658  which cause problems when compiling with some strict compilers (g95, gfortran)
     1659- added an initialisation of 'varian' in initracer for cases when using
     1660  conrath dust; because that value can be is used elsewhere (e.g. surfacearea)
  • trunk/LMDZ.MARS/libf/phymars/initracer.F

    r635 r648  
    440440      else
    441441
     442       ! initialize varian, which may be used (e.g. by surfacearea)
     443       ! even with conrath dust
     444       nueff_lift = 0.5
     445       varian=sqrt(log(1.+nueff_lift))
     446
    442447       if (dustbin.gt.1) then
    443448        print*,'initracer: STOP!',
  • trunk/LMDZ.MARS/libf/phymars/pbl_parameters.F

    r636 r648  
    149149!       zu2(ig)=MAX(pu(ig,1)*pu(ig,1)+pv(ig,1)*pv(ig,1)
    150150!     &                                ,(0.3*wstar_in(ig))**2)
    151        zu2(ig)=pu(ig,1)*pu(ig,1)+pv(ig,1)*pv(ig,1)+
     151       zu2(ig)=pu(ig,1)*pu(ig,1)+pv(ig,1)*pv(ig,1)
    152152     &     + (log(1.+0.7*wstar_in(ig) + 2.3*wstar_in(ig)**2))**2
    153153
  • trunk/LMDZ.MARS/libf/phymars/thermcell_main_mars.F90

    r628 r648  
    12411241
    12421242      if (1 .eq. 0) then
    1243       call thermcell_dqup(ngridmx,nlayermx,ptimestep     &
    1244      &     ,fm,entr,  &
    1245      &    masse,ztv,zdthladj)
     1243!      call thermcell_dqup(ngridmx,nlayermx,ptimestep     &
     1244!     &     ,fm,entr,  &
     1245!     &    masse,ztv,zdthladj)
    12461246      else
    12471247
  • trunk/LMDZ.MARS/libf/phymars/vdif_cd.F

    r636 r648  
    150150!         zu2(ig)=MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),             &
    151151!     &      (0.3*wstar(ig))**2)
    152           zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) +
     152          zu2(ig)=pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)
    153153     &     + (log(1.+0.7*wstar(ig) + 2.3*wstar(ig)**2))**2
    154154
  • trunk/LMDZ.MARS/makegcm_gfortran

    r646 r648  
    381381        else if $LINUX then
    382382           ## for gfortran
    383            set optim="-g -Wall -fcheck=all -fwhole-file -fbounds-check -ffpe-trap=invalid,zero,overflow"
    384            set optim90="-g -Wall -fcheck=all -fwhole-file -fbounds-check -ffpe-trap=invalid,zero,overflow"
    385            set optimtru90="-g -Wall -fcheck=all -fwhole-file -fbounds-check -ffpe-trap=invalid,zero,overflow"
     383           set optim="-g -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow"
     384           set optim90="-g -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow"
     385           set optimtru90="-g -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow"
    386386        else
    387387           echo "pas d option debug predefinie pour cette machine"
Note: See TracChangeset for help on using the changeset viewer.