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_ifort

    r1244 r1246  
    1313set grille=reg
    1414set dyntype="dyn"
    15 set scatterers="1"
    1615set full=""
    1716########################################################################
     
    301300             $LMDGCM/libf/grid/dimension/makdim
    302301
    303 -s nscat   Number of radiatively active scatterers
    304 
    305302-p PHYS    Selects the set of physical parameterizations
    306303           you want to compile the model with.
     
    361358     case -p
    362359        set physique="$2" ; set phys="PHYS=$physique" ; shift ; shift ; goto top
    363 
    364      case -s
    365         set scatterers="$2" ; shift ; goto top
    366360
    367361     case -g
     
    481475# build final name of libraries directory:
    482476if ( "$dyntype" == "olddyn" ) then
    483   set nomlib=${nomlib}_${dim_}_t${ntrac}_s${scatterers}_${grille}_olddyn
     477  set nomlib=${nomlib}_${dim_}_t${ntrac}_${grille}_olddyn
    484478else
    485   set nomlib=${nomlib}_${dim_}_t${ntrac}_s${scatterers}_${grille}
     479  set nomlib=${nomlib}_${dim_}_t${ntrac}_${grille}
    486480endif
    487481
     
    538532    #remove old dimensions.h file
    539533    \rm -f $libf/grid/dimensions.h
    540     #remove old scatterers.h file
    541     \rm -f $libf/phy$physique/scatterers.h
    542534  else
    543535    exit
     
    550542# echo contents of dimensions.h to standard output
    551543cat $libf/grid/dimensions.h
    552 
    553 cd $libf/phy$physique/scatterers
    554 # Build the appropriate 'scatterers.h' file
    555 ./make_scatterers $scatterers
    556 # echo contents of scatterers.h to standard output
    557 cat $libf/phy$physique/scatterers.h
    558544
    559545cd $LMDGCM
     
    838824PROG=$code
    839825
    840 # cleanup, remove dimensions.h and scatterers.h
     826# cleanup, remove dimensions.h
    841827\rm -f $libf/grid/dimensions.h
    842 \rm -f $libf/phy$physique/scatterers.h
Note: See TracChangeset for help on using the changeset viewer.