Index: BOL/LMDZ_Setup_amaury/lmdz_env.sh
===================================================================
--- BOL/LMDZ_Setup_amaury/lmdz_env.sh	(revision 5028)
+++ BOL/LMDZ_Setup_amaury/lmdz_env.sh	(revision 5030)
@@ -112,6 +112,6 @@
       LMDZD="$root_dir/LMDZD"  # Where the sources will be downloaded and compiled
       LMDZ_INIT="$root_dir/LMDZ_Init"  # Where to store shared files used for initialisation
-      NB_MPI_MAX=33  # Max number of MPI cores (only for running simulations)
-      NB_OMP_MAX=100  # Max number of OMP threads (only for running simulations)
+      NB_MPI_MAX=2  # Max number of MPI cores (only for running simulations)
+      NB_OMP_MAX=2  # Max number of OMP threads (only for running simulations)
       NB_CORE_PER_NODE_MAX=0  # Max number of cores per node (real cores, not hyperthreading - only for running simulations, cluster-specific)
       N_HYPERTHREADING=1  # How many hyperthreading threads per physical core
Index: BOL/LMDZ_Setup_amaury/main.sh
===================================================================
--- BOL/LMDZ_Setup_amaury/main.sh	(revision 5028)
+++ BOL/LMDZ_Setup_amaury/main.sh	(revision 5030)
@@ -26,5 +26,5 @@
 # Version of the tar file on https://lmdz.lmd.jussieu.fr/pub/src
 # Last "testing" version, thoroughly checked by the LMDZ team : contains LMDZ rev 4729 (2023-10-22)
-version="20240308.trunk" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
+version="20240508.CM7" #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
 svn="" 			 #!! DON'T CHANGE IT WITHOUT CHECKING WITH LMDZ TEAM !!
 # CONTACT LMDZ Team :
@@ -34,5 +34,4 @@
 # Grid number of points IMxJMxLM
 resol="144x142x79"
-resol="32x32x39"  # TODO TEMP
 
 ## Using XIOS for IOs: "-xios" (enabled) / "" (disabled)
Index: BOL/LMDZ_Setup_amaury/setup.sh
===================================================================
--- BOL/LMDZ_Setup_amaury/setup.sh	(revision 5028)
+++ BOL/LMDZ_Setup_amaury/setup.sh	(revision 5030)
@@ -165,6 +165,5 @@
   # NOTES :
   # omp=8 by default (for Jean-Zay must be a divisor of 40 procs/node), but we need
-  #   omp=1 for SPLA (only MPI parallelisation)
-  #   omp=2 for veget=CMIP6 beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90
+  # omp=1 for SPLA (only MPI parallelisation)
   ######################################################################
   jm=$(echo "$resol" | cut -dx -f2)
@@ -172,9 +171,9 @@
   omp=8
   if [[ $aerosols = "spla" ]]; then omp=1; fi
-  if [[ $veget = "CMIP6" && $xios = "y" ]]; then omp=2; fi
   if [[ $mpi -gt $NB_MPI_MAX ]]; then mpi=$NB_MPI_MAX; fi
   if [[ $omp -gt $NB_OMP_MAX ]]; then omp=$NB_OMP_MAX; fi
 
   # Compute how many mpi per node (required e.g. for Adastra)
+  mpi_per_node=0
   if [[ $NB_CORE_PER_NODE_MAX -gt 0 ]]; then
     local N_omp_mt=1
@@ -273,15 +272,14 @@
   ######################################################################
 
-  # Choix du fichier traceur.def coherent avec l'option "aerosols"
+  # Choix du fichier tracer.def coherent avec l'option "aerosols"
   #  NOTE : Le nouveau tracer.def_nospla par defaut n'inclut pas Rn-Pb;
   #		si on les veut, il faut utiliser ci-dessous; a la place, tracer_RN_PB.def
   #---------------------------------------------------------------------
-  # NB: Si on change de traceur.def (entre spla et nospla), il faut refaire l'etape "initialisation" (ce0l)?
-  # Normalement les traceurs absents de start* files sont initialises=0 dans le code; verifier pour spla !
+  # NB : Les traceurs absents de start* files sont initialises=0 dans le code
   if [[ $aerosols = "spla" ]]; then
-    # ancien traceur pour l instant
+    # nouveau tracer.def (remplace "traceur.def")
     cp DEF/tracer.def_spla DEF/tracer.def
   elif [[ $phylmd = "lmdiso" ]]; then
-    # nouveau traceur , déjà copié si 'y'
+    # déjà copié si 'y'
     cp DEF/tracer.def_nospla DEF/tracer.def
   fi
@@ -440,5 +438,5 @@
   -e "s/time=.*.$/time=$cput/" \
   -e "s/ntasks=.*.$/ntasks=$mpi/" \
-  -e "s/ntasks=.*.$/ntasks-per-node=$mpi_per_node/" \
+  -e "s/ntasks-per-node=.*.$/ntasks-per-node=$mpi_per_node/" \
   -e "s/cpus-per-task=.*.$/cpus-per-task=$omp/" \
   -e "s/nthreads=.*./nthreads=$omp/" \
Index: BOL/LMDZ_Setup_amaury/test_ERAfiles_JeanZay.sh
===================================================================
--- BOL/LMDZ_Setup_amaury/test_ERAfiles_JeanZay.sh	(revision 5028)
+++ 	(revision )
@@ -1,54 +1,0 @@
-# Script pour tester la presence de fichiers de guidage ERA* sur Jean-Zay
-# 2021/04/15 
-# A. Sima (adriana.sima@lmd.ipsl.fr)
-
-
-#####################################################################
-# A choisir par l'utilisateur :
-#####################################################################
-
-# Guidage en vent(u&v) et/ou temperature, humidite
-guide_uv=y
-guide_t=y
-guide_q=y
-
-an=2000
-mois=01
-#
-# Choix des "rea"nalyses : ERA5, ERAI, OPERA
-rea=ERA5
-
-
-#####################################################################
-# Lien avec les fichiers netcdf contenant les d0 ECMWF 
-#####################################################################
-   echo -------- liens de telechargement a actualiser ----
-   if [ "$rea" = "ERA5" ] ; then
-     if [ $an -ge 2022 ] ; then 
-      ANA_DIR='/gpfsstore/rech/psl/rpsl376/ergon/ERA5/NETCDF/GLOBAL_025/hourly'
-      suf="ap1e5.GLOBAL_025"
-     else
-      ANA_DIR='/gpfsstore/rech/psl/rpsl376/ergon/ERA5/NETCDF/GLOBAL_025/4xdaily'
-      suf="aphe5.GLOBAL_025"
-     fi 
-   elif [ "$rea" = "ERAI" ] ; then
-      #ANA_DIR='http://prodn.idris.fr/thredds/dodsC/ipsl_private/rpsl376/ERAI/NETCDF/GLOBAL_1125/4xdaily'
-      ANA_DIR='/gpfsstore/rech/psl/rpsl376/ergon/ERAI/NETCDF/GLOBAL_1125/4xdaily'
-      #/gpfsstore/rech/psl/rpsl376/ergon/ERAI/NETCDF/GLOBAL_075/4xdaily/AN_PL/2006/u.200601.aphei.GLOBAL_075.nc 
-      suf="aphei.GLOBAL_1125"
-   else  #OPERA
-      #ANA_DIR='http://prodn.idris.fr/thredds/dodsC/ipsl_private/rpsl376/OPERA/NETCDF/4xdaily'
-      ANA_DIR='/gpfsstore/rech/psl/rpsl376/ergon/OPERA/NETCDF/4xdaily'
-      suf="aph.GLOBAL_1125"
-   fi
-
-
- fileu="$ANA_DIR/AN_PL/$an/u.$an$mois.$suf.nc"
- filev="$ANA_DIR/AN_PL/$an/v.$an$mois.$suf.nc"
- filet="$ANA_DIR/AN_PL/$an/ta.$an$mois.$suf.nc"
- fileq="$ANA_DIR/AN_PL/$an/r.$an$mois.$suf.nc"
-
-# verifier disponibilite des fichiers
-if [ "$guide_uv" = "y" ] ; then  ls $fileu ; ls $filev ; fi
-if [ "$guide_t" = "y" ] ; then  ls $filet ; fi
-if [ "$guide_q" = "y" ] ; then  ls $fileq ; fi
