Changeset 1085


Ignore:
Timestamp:
Oct 29, 2013, 2:24:19 PM (11 years ago)
Author:
emillour
Message:

Removed wrongly referenced module variables in lwb and physdem.
Added option "-full" to makegcm_* to force a full recompilation from scratch (ie: removing libo/... and makefile before launching makefile building and compilation).
EM

Location:
trunk/LMDZ.MARS
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/lwb.F

    r1047 r1085  
    77c----------------------------------------------------------------------
    88
    9       use dimradmars_mod, only: ndlon, ndlo2, kflev , nir
     9      use dimradmars_mod, only: ndlon, ndlo2, nir
    1010      use yomlw_h, only: nlaylte, xi , tstand, xp
    1111      implicit none
  • trunk/LMDZ.MARS/libf/phymars/physdem.F

    r1047 r1085  
    701701     .                   tsurf,tsoil,co2ice,emis,q2,qsurf)
    702702      use infotrac, only: nqtot, tnom
    703       use surfdat_h, only: emis
    704703      implicit none
    705704c
  • trunk/LMDZ.MARS/makegcm_g95

    r1036 r1085  
    1414set dyntype="dyn"
    1515set scatterers="1"
     16set full=""
    1617########################################################################
    1718# path a changer contenant les sources et les objets du modele
     
    332333           there is no need to specify  -Ldirn.
    333334
     335-full      Full (re)compilation (from scratch)
     336
    334337eod
    335338exit
     
    365368     case -olddyn
    366369        set dyntype="olddyn" ; shift; goto top
     370
     371     case -full
     372        set full="full" ; shift ; goto top
    367373
    368374     case -filtre
     
    606612
    607613echo "dimc $dimc"
     614
     615#cleanup for a full recompilation, if requested
     616if ("$full" == "full") then
     617# remove makefile and $libo
     618  cd $model
     619  \rm -f makefile
     620  \rm -rf $libo/*
     621endif
    608622
    609623########################################################################
  • trunk/LMDZ.MARS/makegcm_gfortran

    r1036 r1085  
    1414set dyntype="dyn"
    1515set scatterers="1"
     16set full=""
    1617########################################################################
    1718# path a changer contenant les sources et les objets du modele
     
    330331           there is no need to specify  -Ldirn.
    331332
     333-full      Full (re)compilation (from scratch)
     334
    332335eod
    333336exit
     
    363366     case -olddyn
    364367        set dyntype="olddyn" ; shift; goto top
     368
     369     case -full
     370        set full="full" ; shift ; goto top
    365371
    366372     case -filtre
     
    604610
    605611echo "dimc $dimc"
     612
     613#cleanup for a full recompilation, if requested
     614if ("$full" == "full") then
     615# remove makefile and $libo
     616  cd $model
     617  \rm -f makefile
     618  \rm -rf $libo/*
     619endif
    606620
    607621########################################################################
  • trunk/LMDZ.MARS/makegcm_ifort

    r1036 r1085  
    1414set dyntype="dyn"
    1515set scatterers="1"
     16set full=""
    1617########################################################################
    1718# path a changer contenant les sources et les objets du modele
     
    333334           there is no need to specify  -Ldirn.
    334335
     336-full      Full (re)compilation (from scratch)
     337
    335338eod
    336339exit
     
    366369     case -olddyn
    367370        set dyntype="olddyn" ; shift; goto top
     371
     372     case -full
     373        set full="full" ; shift ; goto top
    368374
    369375     case -filtre
     
    607613
    608614echo "dimc $dimc"
     615
     616#cleanup for a full recompilation, if requested
     617if ("$full" == "full") then
     618# remove makefile and $libo
     619  cd $model
     620  \rm -f makefile
     621  \rm -rf $libo/*
     622endif
    609623
    610624########################################################################
  • trunk/LMDZ.MARS/makegcm_pgf

    r1036 r1085  
    1414set dyntype="dyn"
    1515set scatterers="1"
     16set full=""
    1617########################################################################
    1718# path a changer contenant les sources et les objets du modele
     
    335336           there is no need to specify  -Ldirn.
    336337
     338-full      Full (re)compilation (from scratch)
     339
    337340eod
    338341exit
     
    368371     case -olddyn
    369372        set dyntype="olddyn" ; shift; goto top
     373
     374     case -full
     375        set full="full" ; shift ; goto top
    370376
    371377     case -filtre
     
    608614
    609615echo "dimc $dimc"
     616
     617#cleanup for a full recompilation, if requested
     618if ("$full" == "full") then
     619# remove makefile and $libo
     620  cd $model
     621  \rm -f makefile
     622  \rm -rf $libo/*
     623endif
    610624
    611625########################################################################
Note: See TracChangeset for help on using the changeset viewer.