Ignore:
Timestamp:
Apr 3, 2014, 9:09:47 AM (11 years ago)
Author:
emillour
Message:

Generic model:
Major cleanup, in order to ease the use of LMDZ.GENERIC with (parallel) dynamics
in LMDZ.COMMON: (NB: this will break LMDZ.UNIVERSAL, which should be thrashed
in the near future)

  • Updated makegcm_* scripts (and makdim) and added the "-full" (to enforce full recomputation of the model) option
  • In dyn3d: converted control.h to module control_mod.F90 and converted iniadvtrac.F to module infotrac.F90
  • Added module mod_const_mpi.F90 in dyn3d (not used in serial mode)
  • Rearanged input/outputs routines everywhere to handle serial/MPI cases. physdem.F => phyredem.F90 , phyetat0.F => phyetat0.F90 ; all read/write routines for startfi files are gathered in module iostart.F90
  • added parallelism related routines init_phys_lmdz.F90, comgeomphy.F90, dimphy.F90, iniphysiq.F90, mod_grid_phy_lmdz.F90, mod_phys_lmdz_mpi_data.F90, mod_phys_lmdz_mpi_transfert.F90, mod_phys_lmdz_omp_data.F90, mod_phys_lmdz_omp_transfert.F90, mod_phys_lmdz_para.F90, mod_phys_lmdz_transfert_para.F90 in phymars and mod_const_mpi.F90 in dyn3d (for compliance with parallelism)
  • added created generic routines 'planetwide_maxval' and 'planetwide_minval', in module "planetwide_mod", that enable obtaining the max and min of a field over the whole planet. This should be further imroved with computation of means (possibly area weighed), etc.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/grid/dimension/makdim

    r135 r1216  
    11#!/bin/bash
    22
    3 nqmx=$1
    4 shift
     3#nqmx=$1
     4#shift
    55for i in $* ; do
    66   list=$list.$i
    77done
    8 
    9 fichdim=dimensions${list}.t${nqmx}
     8fichdim=dimensions${list}
     9#fichdim=dimensions${list}.t${nqmx}
    1010
    1111echo $fichdim
     
    1818   jm=$2
    1919   lm=$3
    20    n2=$1
     20#   n2=$1
    2121   ndm=1
    2222
     
    5151!   INCLUDE 'dimensions.h'
    5252!
    53 !   dimensions.h contient les dimensions du modele
    54 !   ndm est tel que iim=2**ndm
    55 !   nqmx est la dimension de la variable traceur q
     53!   dimensions.h contains the model dimensions
     54!   
    5655!-----------------------------------------------------------------------
    5756
    58       INTEGER, parameter :: iim= $im
     57      INTEGER, parameter :: iim=$im
    5958      INTEGER, parameter :: jjm=$jm
    6059      INTEGER, parameter :: llm=$lm
    6160      INTEGER, parameter :: ndm=$ndm
    62 
    63       integer, parameter :: nqmx=$nqmx
    6461
    6562!-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.