Changeset 4980 for BOL/LMDZ_Setup_amaury/script_SIMU
- Timestamp:
- Jun 13, 2024, 2:39:53 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup_amaury/script_SIMU
r4978 r4980 23 23 #@SP#SBATCH --time=00:30:00 24 24 #@SP#SBATCH --output=outNOM_SIMU%j 25 #@SP#SBATCH --error=outNOM_SIMU%j#@SP#Spirit26 #@SP#SBATCH --job-name=NOM_SIMU27 #@SP#SBATCH --ntasks=828 #@SP#SBATCH --cpus-per-task=829 #@SP#SBATCH --hint=nomultithread30 #@SP#SBATCH --time=00:30:0031 #@SP#SBATCH --output=outNOM_SIMU%j32 25 #@SP#SBATCH --error=outNOM_SIMU%j 33 26 #@ADS#Adastra … … 40 33 #@ADS#SBATCH --error=outNOM_SIMU%j 41 34 42 set -ex 43 set +u # Amaury 06/24: for local use (no $SLURM_CPUS_PER_TASK) - should be removed if we ever rewrite this whole legacy script properly... 35 set -eux 44 36 45 37 # Number of MPI processes : … … 48 40 nthreads=8 49 41 export OMP_NUM_THREADS=$nthreads 50 51 # For Jean-Zay (replacing the next 3 lines, commented out) 52 #export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK 53 42 #@JZ#export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK # For Jean-Zay (replacing the next 3 lines, commented out) 54 43 # private memory for each thread 55 44 export OMP_STACKSIZE=800M 56 # Binding 57 export OMP_PLACES=cores 45 46 47 #@JZ#export OMP_PLACES=cores # "binding" present in old script_SIMU, but terribly reduces performance on Spirit... 48 ulimit -s unlimited 49 #@SP ulimit -Ss 8192 58 50 59 51 simul=NOM_SIMU 60 ulimit -s unlimited61 #### reste ada : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/smplocal/pub/NetCDF/4.1.3/lib:/smplocal/pub/HDF5/1.8.9/seq/lib62 63 52 64 53 reseau_local=0 … … 403 392 if [ $num -le 250 ] ; then 404 393 sed -e 's/^simul=.*.$/simul='$simul_new'/' -e 's/^\# @ job_nam.*.=.*.$/\# @ job_name = '$simul_new'/' tmp_$simul >| tmp_$simul_new 405 sbatchtmp_$simul_new394 $SUBMITCMD tmp_$simul_new 406 395 fi 407 396 fi … … 417 406 418 407 cd $SCRIPTDIR 419 sbatchtmp_$simul408 $SUBMITCMD tmp_$simul
Note: See TracChangeset
for help on using the changeset viewer.