Changeset 2644 for trunk/LMDZ.MARS/deftank
- Timestamp:
- Mar 21, 2022, 5:00:11 PM (3 years ago)
- Location:
- trunk/LMDZ.MARS/deftank/occigen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/deftank/occigen/README
r2216 r2644 3 3 a job "run_month2" which runs a simulation for month #2 which then possibly 4 4 launches a job "run_month3" etc. 5 6 OMP : in "run_month1" the number denoted A, B and C should be choose according 7 to these rules : 8 _ AxB = number of MPI threads should be .LE. to #lat/2 9 _ C = number of OMP tasks should be .LE. to #lev/10 10 _ BxC compatible to the node specification (ex; here BDW28 so .LT. 28 ) 11 _ Be carefull to change the line "export OMP_NUM_THREADS=" to the correct number C 12 5 13 The starting and ending months of the simulation can be set in "run_month1" 6 14 One should adapt the script (and underlying "run0" and "run.def.ref") to -
trunk/LMDZ.MARS/deftank/occigen/run_month1
r2216 r2644 1 1 #!/bin/bash 2 #SBATCH --nodes=1 3 #SBATCH --ntasks-per-node=24 2 #SBATCH --nodes=6 #A 3 #SBATCH --ntasks-per-node=4 #B 4 #SBATCH --cpus-per-task=5 #C 4 5 #SBATCH -J clim 5 6 #SBATCH --time=13:00:00 6 7 #SBATCH --output run_month1.%j.out 7 8 ##SBATCH --mem=8GB 8 #SBATCH --constraint=[ HSW24|BDW28]9 #SBATCH --constraint=[BDW28] 9 10 #SBATCH --exclusive 10 11 … … 32 33 33 34 \rm -f error; touch error 35 36 # environment setup for OpenMP: 37 export I_MPI_DOMAIN=auto 38 export I_MPI_PIN_RESPECT_CPUSET=0 39 #Make sure that OMP_NUM_THREADS = cpus-per-task * KMP_HW_SUBSET 40 export KMP_HW_SUBSET=1T 41 export OMP_NUM_THREADS=5 #C 42 export OMP_STACKSIZE=400M 43 export KMP_AFFINITY=granularity=fine,compact,1,0,verbose 34 44 35 45 case $true_num in
Note: See TracChangeset
for help on using the changeset viewer.