Changeset 4986 for BOL/LMDZ_Setup_amaury
- Timestamp:
- Jun 17, 2024, 10:11:26 AM (5 months ago)
- Location:
- BOL/LMDZ_Setup_amaury
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup_amaury/reb.sh
r4958 r4986 31 31 #@JZ#SBATCH --output=post${type}%j.out # nom du fichier de sortie 32 32 #@JZ#SBATCH --error=post${type}%j.out # nom du fichier d'erreur (ici en commun avec la sortie) 33 #@SP#Spirit 34 #@SP#SBATCH --job-name=Seq 35 #@SP#SBATCH --nodes=1 36 #@SP#SBATCH --ntasks-per-node=1 37 #@SP#SBATCH --time=00:30:00 38 #@SP#SBATCH --output=post${type}%j.out 39 #@SP#SBATCH --error=post${type}%j.out 40 #@ADS#Adastra 41 #@ADS#SBATCH --job-name=Seq 42 #@ADS#SBATCH --nodes=1 43 #@ADS#SBATCH --ntasks-per-node=1 44 #@ADS#SBATCH --time=00:30:00 45 #@ADS#SBATCH --output=post${type}%j.out 46 #@ADS#SBATCH --error=post${type}%j.out 33 47 34 48 # on se place dans le repertoire de soumission … … 53 67 54 68 echo "Submitting the rebuild job $job" 55 $ RUNCMD "$job"69 $SUBMITCMD "$job" 56 70 done -
BOL/LMDZ_Setup_amaury/setup.sh
r4980 r4986 23 23 # c/ #SBATCH --qos=qos_cpu-dev (this line is in script_SIMU, by default it is commented out) 24 24 #If you want to change "time", or "nday", but still run in "test" mode, modify the "if [ $debug = 1 ]...; fi" further below. 25 testmode= n25 testmode="y" # TODO revert 26 26 27 27 # Radiative code : "oldrad" or "rrtm" or "ecrad" … … 33 33 # in order to re-run the initialisation job, which downloads the aerosol files and interpolates them) 34 34 aerosols="clim" 35 aerosols="n" # TODO revert when we fix/investigate the aerosols issue 35 36 36 37 # SURFACE/VEGETATION SCHEME … … 41 42 # - number: orchidee version number : only rev 7983 on branch _2_2, and 7994 on trunk, are available 42 43 veget="CMIP6" 43 veget="none" # TODO temp 44 44 45 #AS : If you have installed the model with a given "veget" option, and you want to change it : 45 46 # --> RECOMMENDED : re-install the model from scratch in a new TEST_PROD folder … … 66 67 # With XIOS : adjust DEF/XMLfiles*/file*xml 67 68 68 netcdf=0 # TODO set back to 069 netcdf=0 69 70 } 70 71 … … 120 121 121 122 LIMIT="LIMIT" 122 123 ######################################################################124 # Choix du nombre de processeurs125 # NOTES :126 # omp=8 by default (for Jean-Zay must be a divisor of 40 procs/node), but we need127 # omp=1 for SPLA (only MPI parallelisation)128 # omp=2 for veget=CMIP6 beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90129 ######################################################################130 jm=$(echo "$resol" | cut -dx -f2)131 (( mpi = ( jm + 1 ) / 2 ))132 omp=8133 if [[ $aerosols = "spla" ]]; then omp=1; fi134 if [[ $veget = "CMIP6" && $xios = "y" ]]; then omp=2; fi135 if [[ $mpi -gt $NB_MPI_MAX ]]; then mpi=$NB_MPI_MAX; fi136 if [[ $omp -gt $NB_OMP_MAX ]]; then omp=$NB_OMP_MAX; fi137 123 138 124 case $rad in … … 196 182 if [[ $ans != y ]]; then exit 1; fi 197 183 fi 184 185 ###################################################################### 186 # Choix du nombre de processeurs 187 # NOTES : 188 # omp=8 by default (for Jean-Zay must be a divisor of 40 procs/node), but we need 189 # omp=1 for SPLA (only MPI parallelisation) 190 # omp=2 for veget=CMIP6 beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90 191 ###################################################################### 192 jm=$(echo "$resol" | cut -dx -f2) 193 (( mpi = ( jm + 1 ) / 2 )) 194 omp=8 195 if [[ $aerosols = "spla" ]]; then omp=1; fi 196 if [[ $veget = "CMIP6" && $xios = "y" ]]; then omp=2; fi 197 if [[ $mpi -gt $NB_MPI_MAX ]]; then mpi=$NB_MPI_MAX; fi 198 if [[ $omp -gt $NB_OMP_MAX ]]; then omp=$NB_OMP_MAX; fi 198 199 } 199 200 … … 456 457 457 458 if [[ $testmode = "y" ]]; then 458 sed -i'' -e "s/time=.*.$/time=00: 30:00/" -e "s/#nday=1/nday=1/" -e "s/#@TESTQ//" "$SIMRUNTOPDIR/tmp_$SIM"459 sed -i'' -e "s/time=.*.$/time=00:10:00/" -e "s/#nday=1/nday=1/" -e "s/#@TESTQ//" "$SIMRUNTOPDIR/tmp_$SIM" 459 460 fi 460 461 } … … 710 711 source lmdz_env.sh 711 712 712 # TODO Amaury: commented-out for now // /!\ check w/ Adriana: "groupe@cpu" never appears in seasonal.sh...713 ## Pour les post-traitements714 #sed -i'' -e "s/groupe@cpu/$groupe@cpu/" seasonal.sh715 713 local=$(pwd) 716 714 … … 769 767 if [ "$aerosols" = "spla" ]; then 770 768 echo Your aerosol choice is "spla", so you need ERA 10m-winds interpolated on LMDZ grid 771 echo Use script era2gcm_uv10m.sh 769 echo Use script era2gcm_uv10m.sh 772 770 fi 773 771 else … … 783 781 784 782 echo "To recompile the model :" 785 echo "run the compile${sufiso}.sh script created in the present folder: ./compile${sufiso}.sh gcm " 783 echo "run the compile${sufiso}.sh script created in the present folder: ./compile${sufiso}.sh gcm "
Note: See TracChangeset
for help on using the changeset viewer.