Changeset 957 for trunk/LMDZ.COMMON/makelmdz
- Timestamp:
- May 10, 2013, 3:00:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz
r887 r957 24 24 fcm_path=none 25 25 cosp=false 26 bands="" 27 scatterers="" 26 28 dyn="" 27 29 … … 35 37 fi 36 38 if [[ "${machine:0:6}" == "vargas" ]] 39 then 40 arch="PW6_VARGAS" 41 fi 42 if [[ "${machine:0:6}" == "ada338" ]] 37 43 then 38 44 arch="PW6_VARGAS" … … 103 109 manuel complet sur http://... 104 110 Usage : 105 makegcm [options] exec 106 [-h] : manuel abrege 107 [-d [[IMx]JMx]LM] : IM, JM, LM sont les dims en x, y, z (def: $dim) 108 [-p PHYS] : compilation avec la physique libf/phyPHYS, (def: lmd) 109 [-prod / -dev / -debug] : compilation en mode production (default) / developpement / debug . 110 [-c false/MPI1/MPI2] : couple ocean : MPI1/MPI2/false (def: false) 111 [-v false/true] : avec ou sans vegetation (def: false) 112 [-chimie INCA/false] : avec ou sans modele de chimie INCA (def: false) 113 [-parallel none/mpi/omp/mpi_omp] : parallelisation (default: none) : mpi, openmp ou mixte mpi_openmp 114 [-g GRI] : conf. grille dans dyn3d/GRI_xy.h (def: reg inclue un zoom) 115 [-io IO] : choix d une librairie I/O, experts (def: ioipsl) 116 [-include INCLUDES] : variables supplementaires pour include 117 [-cpp CPP_KEY] : cle cpp supplementaires 118 [-adjnt] : adjoint, a remettre en route ... 119 [-filtre NOMFILTRE] : prend le filtre dans libf/NOMFILTRE (def: filtrez) 120 [-link LINKS] : liens optionels avec d autres librairies 121 [-ext_src path] : chemin d un repertoire source avec des sources externe a compiler avec le modele 122 [-arch nom_arch] : nom de l architecture cible 123 exec : executable genere 111 makeldmz [options] -arch arch exec 112 [-h] : brief help 113 [-d [[IMx]JMx]LM] : IM, JM, LM are the dimensions in x, y, z (default: $dim) 114 [-s nscat] : (Generic) Number of radiatively active scatterers 115 [-b IRxVIS] : (Generic) Number of infrared (IR) and visible (VIS) bands for radiative transfer 116 [-p PHYS] : set of physical parametrizations (in libf/phyPHYS), (default: lmd) 117 [-prod / -dev / -debug] : compilation mode production (default) / developement / debug . 118 [-c false/MPI1/MPI2] : (Earth) coupling with ocean model : MPI1/MPI2/false (default: false) 119 [-v false/true] : (Earth) with or without vegetation (default: false) 120 [-chimie INCA/false] : (Earth) with INCA chemistry model or without (default: false) 121 [-cosp cosp/false] : (Earth) add the cosp model (default: false) 122 [-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp 123 [-g GRI] : grid configuration in dyn3d/GRI_xy.h (default: reg, inclues a zoom) 124 [-io IO] : Input/Output library (default: ioipsl) 125 [-include INCLUDES] : extra include path to add 126 [-cpp CPP_KEY] : additional preprocessing definitions 127 [-adjnt] : adjoint model, not operational ... 128 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 129 [-link LINKS] : additional links with other libraries 130 [-fcm_path path] : path to the fcm tool (default: tools/fcm/bin) 131 [-ext_src path] : path to an additional set of routines to compile with the model 132 -arch arch : target architecture 133 exec : executable to build 124 134 fin 125 135 exit;; … … 127 137 dim=$2 ; shift ; shift ;; 128 138 129 "-O")130 echo "option obsolete dans ce makegcm"131 exit;;132 133 139 "-p") 134 140 physique="$2" ; shift ; shift ;; 141 142 "-s") 143 scatterers=$2 ; shift ; shift ;; 144 145 "-b") 146 bands=$2 ; shift ; shift ;; 135 147 136 148 "-g") … … 168 180 169 181 "-adjnt") 170 echo " option a reactiver";exit182 echo "not operational ... work to be done here ";exit 171 183 opt_dep="$opt_dep adjnt" ; adjnt="-ladjnt -ldyn3d " 172 184 optim="$optim -Dadj" ; shift ;; … … 416 428 cat $LIBFGCM/grid/dimensions.h 417 429 cd $LMDGCM 430 431 if [[ "$bands" != "" ]] 432 then 433 # Generic model, recreate bands.h (IR & VIS bands for radiative transfer) 434 bands=$(echo $bands | sed -e 's/[^0-9]/ /g') 435 cd $LIBFGCM/phy$physique/bands 436 ./makbands $bands 437 cat $LIBFGCM/phy$physique/bands.h 438 cd $LMDGCM 439 fi 440 441 if [[ "$scatterers" != "" ]] 442 then 443 # Generic model, recreate scatterers.h 444 cd $LIBFGCM/phy$physique/scatterers 445 ./make_scatterers $scatterers 446 cat $LIBFGCM/phy$physique/scatterers.h 447 cd $LMDGCM 448 fi 418 449 419 450
Note: See TracChangeset
for help on using the changeset viewer.