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_g95

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