Changeset 1795 for LMDZ5/branches/testing/makelmdz
- Timestamp:
- Jul 18, 2013, 10:20:28 AM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1747-1749,1751,1753-1767,1769,1771-1772,1774-1776,1778-1794
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/makelmdz
r1752 r1795 98 98 case $1 in 99 99 "-h") cat <<fin 100 manuel complet sur http://...101 100 Usage : 102 makegcm [options] exec 103 [-h] : manuel abrege 104 [-d [[IMx]JMx]LM] : IM, JM, LM sont les dims en x, y, z (def: $dim) 105 [-p PHYS] : compilation avec la physique libf/phyPHYS, (def: lmd) 106 [-prod / -dev / -debug] : compilation en mode production (default) / developpement / debug . 107 [-c false/MPI1/MPI2] : couple ocean : MPI1/MPI2/false (def: false) 108 [-v false/true] : avec ou sans vegetation (def: false) 109 [-chimie INCA/false] : avec ou sans model de chimie INCA (def: false) 110 [-parallel none/mpi/omp/mpi_omp] : parallelisation (default: none) : mpi, openmp ou mixte mpi_openmp 111 [-g GRI] : conf. grille dans dyn3d/GRI_xy.h (def: reg inclue un zoom) 112 [-io IO] : choix d une librairie I/O, experts (def: ioipsl) 113 [-include INCLUDES] : variables supplementaires pour include 114 [-cpp CPP_KEY] : cle cpp supplementaires 115 [-adjnt] : adjoint, a remettre en route ... 116 [-mem] : version memoire reduite (si en mode parallele) 117 [-filtre NOMFILTRE] : prend le filtre dans libf/NOMFILTRE (def: filtrez) 118 [-link LINKS] : liens optionels avec d autres librairies 119 [-ext_src path] : chemin d un repertoire source avec des sources externe a compiler avec le modele 120 [-arch nom_arch] : nom de l architecture cible 121 exec : executable genere 101 makelmdz [options] -arch nom_arch exec 102 [-h] : brief help 103 [-d [[IMx]JMx]LM] : IM, JM, LM are the dimensions in x, y, z (default: $dim) 104 [-p PHYS] : set of physical parametrizations (in libf/phyPHYS), (default: lmd) 105 [-prod / -dev / -debug] : compilation mode production (default) / developement / debug 106 [-c false/MPI1/MPI2] : coupling with ocean model : MPI1/MPI2/false (default: false) 107 [-v false/orchidee2.0/orchidee1.9/true] : version of the vegetation model to include (default: false) 108 false : no vegetation model 109 orchidee2.0 : compile using ORCHIDEE 2.0 (or more recent version) 110 orchidee1.9 : compile using ORCHIDEE up to the version including OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6 111 true : (obsolete; for backward compatibility) use ORCHIDEE tag 1.9-1.9.6 112 [-chimie INCA/false] : with INCA chemistry model or without (default: false) 113 [-parallel none/mpi/omp/mpi_omp] : parallelism (default: none) : mpi, openmp or mixted mpi_openmp 114 [-g GRI] : grid configuration in dyn3d/GRI_xy.h (default: reg, inclues a zoom) 115 [-io IO] : Input/Output library (default: ioipsl) 116 [-include INCLUDES] : extra include path to add 117 [-cpp CPP_KEY] : additional preprocessing definitions 118 [-adjnt] : adjoint model, not operational ... 119 [-mem] : reduced memory dynamics (if in parallel mode) 120 [-filtre NOMFILTRE] : use filtre from libf/NOMFILTRE (default: filtrez) 121 [-link LINKS] : additional links with other libraries 122 [-fcm_path path] : path to the fcm tool (default: tools/fcm/bin) 123 [-ext_src path] : path to an additional set of routines to compile with the model 124 -arch nom_arch : target architecture 125 exec : executable to build 122 126 fin 123 127 exit;; … … 125 129 dim=$2 ; shift ; shift ;; 126 130 127 "-O")128 echo "option obsolete dans ce makegcm"129 exit;;130 131 131 "-p") 132 132 physique="$2" ; shift ; shift ;; … … 166 166 167 167 "-adjnt") 168 echo " option a reactiver";exit168 echo "not operational ... work to be done here ";exit 169 169 opt_dep="$opt_dep adjnt" ; adjnt="-ladjnt -ldyn3d " 170 170 optim="$optim -Dadj" ; shift ;; … … 351 351 fi 352 352 353 if [[ "$veget" == "true" ]] 354 then 353 if [[ "$veget" == "orchidee2.0" ]] 354 then 355 # orchidee2.0 : 356 # Compile with ORCHIDEE 2.0 (or more recent) 357 CPP_KEY="$CPP_KEY CPP_VEGET" 358 INCLUDE="${INCLUDE} -I${ORCH_INCDIR}" 359 LIB="${LIB} -L${ORCH_LIBDIR} -l${LIBPREFIX}orchidee " 360 elif [[ "$veget" == "orchidee1.9" ]] 361 then 362 # orchidee1.9 : 363 # Compile with ORCHIDEE version up to the inclusion of OpenMP in ORCHIDEE : tag 1.9-1.9.5(version AR5)-1.9.6 364 CPP_KEY="$CPP_KEY CPP_VEGET ORCHIDEE_NOOPENMP" 365 INCLUDE="${INCLUDE} -I${ORCH_INCDIR}" 366 LIB="${LIB} -L${ORCH_LIBDIR} -l${LIBPREFIX}sechiba -l${LIBPREFIX}parameters -l${LIBPREFIX}stomate -l${LIBPREFIX}parallel -l${LIBPREFIX}orglob" 367 elif [[ "$veget" == "true" ]] 368 then 369 # true : 370 # Obsolete, for backward compatibility. To be used with ORCHIDEE tag 1.9-1.9.6 371 # For this case, cpp flag ORCHIDEE_NOOPENMP must be added to the makelmdz_fcm arguments 355 372 CPP_KEY="$CPP_KEY CPP_VEGET" 356 373 INCLUDE="${INCLUDE} -I${ORCH_INCDIR}" 357 374 LIB="${LIB} -L${ORCH_LIBDIR} -l${LIBPREFIX}sechiba -l${LIBPREFIX}parameters -l${LIBPREFIX}stomate -l${LIBPREFIX}parallel -l${LIBPREFIX}orglob" 375 elif [[ "$veget" != "false" ]] 376 then 377 echo "Option -v $veget does not exist" 378 echo "Use ./makelmdz -h for more information" 379 exit 358 380 fi 359 381 … … 479 501 fi 480 502 481 if [[ $veget == "true" ]]503 if [[ $veget != "false" ]] 482 504 then 483 505 SUFF_NAME=${SUFF_NAME}_orch
Note: See TracChangeset
for help on using the changeset viewer.