Ignore:
Timestamp:
Sep 11, 2013, 2:34:44 PM (11 years ago)
Author:
emillour
Message:

Mars GCM: (a first step towards using parallel dynamics)

  • IMPORTANT CHANGE: Implemented dynamic tracers. It is no longer necessary to compile the model with the '-t #' option, number of tracers is simply read from tracer.def file (as before). Adapted makegcm_* scripts (and co.) accordingly. Technical aspects of the switch to dynamic tracers are:
    • advtrac.h (in dyn3d) removed and replaced by module infotrac.F
    • tracer.h (in phymars) removed and replaced by module tracer_mod.F90 (which contains nqmx, the number of tracers, etc. and can be used anywhere in the physics).
  • Included some side cleanups: removed unused files (in dyn3d) anldoppler2.F, anl_mcdstats.F and anl_stats-diag.F, and all the unecessary dimensions.* files in grid/dimension.
  • Checked that changes are clean and that GCM yields identical results (in debug mode) to previous svn version.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/makegcm_gfortran

    r882 r1036  
    528528# Build the appropriate 'dimensions.h' file
    529529cd dimension
    530 ./makdim $ntrac $dim
     530./makdim $dim
    531531# echo contents of dimensions.h to standard output
    532532cat $libf/grid/dimensions.h
     
    554554echo dimension $dimension dim $dim
    555555if ( $dimension == 1 ) then
    556   echo pas de dynamique
    557   set dyn="L_DYN= DYN= L_FILTRE= DIRMAIN=phy$physique "
     556  echo "No dynamics"
     557##  set dyn="L_DYN= DYN= L_FILTRE= DIRMAIN=phy$physique "
     558## NB: we still need to have L_DYN=libdyn3d to reach routines and module
     559## objects which are located in dyn3d
     560  set dyn="L_DYN=-ldyn3d DYN= L_FILTRE= DIRMAIN=phy$physique "
    558561endif
    559562endif
Note: See TracChangeset for help on using the changeset viewer.