Ignore:
Timestamp:
May 11, 2014, 2:37:58 PM (11 years ago)
Author:
aslmd
Message:

LMDZ.MARS. Made number of scatterers a free dimension not in need to be prescribe at compiling time. Instead it must be set in callphys.def. See README for further information about this commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/makegcm_gfortran

    r1085 r1246  
    1313set grille=reg
    1414set dyntype="dyn"
    15 set scatterers="1"
    1615set full=""
    1716########################################################################
     
    288287             $LMDGCM/libf/grid/dimension/makdim
    289288
    290 -s nscat   Number of radiatively active scatterers
    291 
    292289-p PHYS    Selects the set of physical parameterizations
    293290           you want to compile the model with.
     
    348345     case -p
    349346        set physique="$2" ; set phys="PHYS=$physique" ; shift ; shift ; goto top
    350 
    351      case -s
    352         set scatterers="$2" ; shift ; goto top
    353347
    354348     case -g
     
    468462# build final name of libraries directory:
    469463if ( "$dyntype" == "olddyn" ) then
    470   set nomlib=${nomlib}_${dim_}_t${ntrac}_s${scatterers}_${grille}_olddyn
     464  set nomlib=${nomlib}_${dim_}_t${ntrac}_${grille}_olddyn
    471465else
    472   set nomlib=${nomlib}_${dim_}_t${ntrac}_s${scatterers}_${grille}
     466  set nomlib=${nomlib}_${dim_}_t${ntrac}_${grille}
    473467endif
    474468
     
    525519    #remove old dimensions.h file
    526520    \rm -f $libf/grid/dimensions.h
    527     #remove old scatterers.h file
    528     \rm -f $libf/phy$physique/scatterers.h
    529521  else
    530522    exit
     
    537529# echo contents of dimensions.h to standard output
    538530cat $libf/grid/dimensions.h
    539 
    540 cd $libf/phy$physique/scatterers
    541 # Build the appropriate 'scatterers.h' file
    542 ./make_scatterers $scatterers
    543 # echo contents of scatterers.h to standard output
    544 cat $libf/phy$physique/scatterers.h
    545531
    546532cd $LMDGCM
     
    826812PROG=$code
    827813
    828 # cleanup, remove dimensions.h and scatterers.h
     814# cleanup, remove dimensions.h
    829815\rm -f $libf/grid/dimensions.h
    830 \rm -f $libf/phy$physique/scatterers.h
Note: See TracChangeset for help on using the changeset viewer.