Changeset 2631 for LMDZ5/trunk


Ignore:
Timestamp:
Sep 22, 2016, 6:34:57 PM (8 years ago)
Author:
fhourdin
Message:

Modification de makelmdz et makelmdz_fcm pour les aerosols

Location:
LMDZ5/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz

    r2417 r2631  
    2727sisvat=false
    2828rrtm=false
     29rrtm=false
     30dust=false
    2931full=""
    3032
     
    110112[-sisvat true/false]  : compile with/without sisvat package (default: false)
    111113[-rrtm true/false]    : compile with/without rrtm package (default: false)
     114[-dust true/false]    : compile with/without the dust package from Boucher et al. (default: false)
    112115[-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp
    113116[-g GRI]                   : grid configuration in dyn3d/GRI_xy.h  (default: reg, inclues a zoom)
     
    173176      "-rrtm")
    174177          rrtm="$2" ; shift ; shift ;;
     178
     179      "-dust")
     180          dust="$2" ; shift ; shift ;;
    175181     
    176182      "-mem")
     
    447453   CPP_KEY="$CPP_KEY CPP_RRTM"
    448454   src_dirs="$src_dirs phy${physique}/rrtm"
     455fi
     456
     457if [[ "$dust" == "true" ]]
     458then
     459   CPP_KEY="$CPP_KEY CPP_Dust"
     460   src_dirs="$src_dirs phy${physique}/Dust"
    449461fi
    450462
  • LMDZ5/trunk/makelmdz_fcm

    r2417 r2631  
    2525sisvat=false
    2626rrtm=false
     27dust=false
    2728chimie=false
    2829parallel=none
     
    4647PHY_COMMON_PATH=$LMDGCM/.void_dir
    4748RRTM_PATH=$LMDGCM/.void_dir
     49DUST_PATH=$LMDGCM/.void_dir
    4850SISVAT_PATH=$LMDGCM/.void_dir
    4951COSP_PATH=$LMDGCM/.void_dir
     
    8789[-sisvat true/false]  : compile with/without sisvat package (default: false)
    8890[-rrtm true/false]    : compile with/without rrtm package (default: false)
     91[-dust true/false]    : compile with/without the dust package by Boucher and co (default: false)
    8992[-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp
    9093[-g GRI]                   : grid configuration in dyn3d/GRI_xy.h  (default: reg, inclues a zoom)
     
    138141      "-rrtm")
    139142          rrtm="$2" ; shift ; shift ;;
     143
     144      "-dust")
     145          dust="$2" ; shift ; shift ;;
    140146
    141147      "-chimie")
     
    351357fi
    352358
     359if [[ "$dust" == "true" ]]
     360then
     361   CPP_KEY="$CPP_KEY CPP_Dust"
     362   DUST_PATH="$LIBFGCM/%PHYS/Dust"
     363fi
     364
    353365if [[ $io == ioipsl ]]
    354366then
     
    580592echo "%DYN_PHYS_SUB  $DYN_PHYS_SUB_PATH" >> $config_fcm
    581593echo "%RRTM          $RRTM_PATH"     >> $config_fcm
     594echo "%DUST          $DUST_PATH"     >> $config_fcm
    582595echo "%SISVAT        $SISVAT_PATH"   >> $config_fcm
    583596echo "%COSP          $COSP_PATH"     >> $config_fcm
Note: See TracChangeset for help on using the changeset viewer.