- Timestamp:
- Jul 9, 2024, 9:50:38 AM (6 months ago)
- Location:
- BOL/LMDZ_Setup_amaury
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup_amaury/lmdz_env.sh
r5014 r5030 112 112 LMDZD="$root_dir/LMDZD" # Where the sources will be downloaded and compiled 113 113 LMDZ_INIT="$root_dir/LMDZ_Init" # Where to store shared files used for initialisation 114 NB_MPI_MAX= 33# Max number of MPI cores (only for running simulations)115 NB_OMP_MAX= 100# Max number of OMP threads (only for running simulations)114 NB_MPI_MAX=2 # Max number of MPI cores (only for running simulations) 115 NB_OMP_MAX=2 # Max number of OMP threads (only for running simulations) 116 116 NB_CORE_PER_NODE_MAX=0 # Max number of cores per node (real cores, not hyperthreading - only for running simulations, cluster-specific) 117 117 N_HYPERTHREADING=1 # How many hyperthreading threads per physical core -
BOL/LMDZ_Setup_amaury/main.sh
r4991 r5030 26 26 # Version of the tar file on https://lmdz.lmd.jussieu.fr/pub/src 27 27 # Last "testing" version, thoroughly checked by the LMDZ team : contains LMDZ rev 4729 (2023-10-22) 28 version="20240 308.trunk" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!28 version="20240508.CM7" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !! 29 29 svn="" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !! 30 30 # CONTACT LMDZ Team : … … 34 34 # Grid number of points IMxJMxLM 35 35 resol="144x142x79" 36 resol="32x32x39" # TODO TEMP37 36 38 37 ## Using XIOS for IOs: "-xios" (enabled) / "" (disabled) -
BOL/LMDZ_Setup_amaury/setup.sh
r5013 r5030 165 165 # NOTES : 166 166 # omp=8 by default (for Jean-Zay must be a divisor of 40 procs/node), but we need 167 # omp=1 for SPLA (only MPI parallelisation) 168 # omp=2 for veget=CMIP6 beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90 167 # omp=1 for SPLA (only MPI parallelisation) 169 168 ###################################################################### 170 169 jm=$(echo "$resol" | cut -dx -f2) … … 172 171 omp=8 173 172 if [[ $aerosols = "spla" ]]; then omp=1; fi 174 if [[ $veget = "CMIP6" && $xios = "y" ]]; then omp=2; fi175 173 if [[ $mpi -gt $NB_MPI_MAX ]]; then mpi=$NB_MPI_MAX; fi 176 174 if [[ $omp -gt $NB_OMP_MAX ]]; then omp=$NB_OMP_MAX; fi 177 175 178 176 # Compute how many mpi per node (required e.g. for Adastra) 177 mpi_per_node=0 179 178 if [[ $NB_CORE_PER_NODE_MAX -gt 0 ]]; then 180 179 local N_omp_mt=1 … … 273 272 ###################################################################### 274 273 275 # Choix du fichier trace ur.def coherent avec l'option "aerosols"274 # Choix du fichier tracer.def coherent avec l'option "aerosols" 276 275 # NOTE : Le nouveau tracer.def_nospla par defaut n'inclut pas Rn-Pb; 277 276 # si on les veut, il faut utiliser ci-dessous; a la place, tracer_RN_PB.def 278 277 #--------------------------------------------------------------------- 279 # NB: Si on change de traceur.def (entre spla et nospla), il faut refaire l'etape "initialisation" (ce0l)? 280 # Normalement les traceurs absents de start* files sont initialises=0 dans le code; verifier pour spla ! 278 # NB : Les traceurs absents de start* files sont initialises=0 dans le code 281 279 if [[ $aerosols = "spla" ]]; then 282 # ancien traceur pour l instant280 # nouveau tracer.def (remplace "traceur.def") 283 281 cp DEF/tracer.def_spla DEF/tracer.def 284 282 elif [[ $phylmd = "lmdiso" ]]; then 285 # nouveau traceur ,déjà copié si 'y'283 # déjà copié si 'y' 286 284 cp DEF/tracer.def_nospla DEF/tracer.def 287 285 fi … … 440 438 -e "s/time=.*.$/time=$cput/" \ 441 439 -e "s/ntasks=.*.$/ntasks=$mpi/" \ 442 -e "s/ntasks =.*.$/ntasks-per-node=$mpi_per_node/" \440 -e "s/ntasks-per-node=.*.$/ntasks-per-node=$mpi_per_node/" \ 443 441 -e "s/cpus-per-task=.*.$/cpus-per-task=$omp/" \ 444 442 -e "s/nthreads=.*./nthreads=$omp/" \
Note: See TracChangeset
for help on using the changeset viewer.