Changeset 3817
- Timestamp:
- Jun 27, 2025, 6:59:42 PM (45 hours ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/changelog.txt
r3810 r3817 4879 4879 - More interactive (keep asking the user to plot variables until he/she quits for ex); 4880 4880 - Simplification and generalization of the script to get user answers. 4881 4882 == 27/06/2025 == EM 4883 Move adastra_cpu_binding.sh to "adastra" subforlder of deftank. 4884 And adapt scripts and README there. 4885 -
trunk/LMDZ.MARS/deftank/adastra/README
r3033 r3817 1 >> EXAMPLES FOR OCCIGENCLUSTER1 >> EXAMPLES FOR ADASTRA CLUSTER 2 2 Job "run_month1" runs a simulation for month #1 and then possibly launches 3 3 a job "run_month2" which runs a simulation for month #2 which then possibly … … 8 8 >> to match your case 9 9 10 >> You might also need to adapt "run_month1" to match number of OpenMP threads 11 >> which MUST be specified both as 12 #SBATCH --cpus-per-task=... 13 >> in the job header 14 >> AND via the environment variable 15 export OMP_NUM_THREADS=... 16 >> in the script 17 10 >> You might also need to adapt "run_month1" if you run with less than 192 11 cores (ie. 24 MPI times 8 OpenMP). 12 >> If using 192 cores then you should aslo have the companion script 13 adastra_cpu_binding.sh 14 >> alongside "run_month1" -
trunk/LMDZ.MARS/deftank/adastra/run0
r3766 r3817 55 55 56 56 57 # Run GCM 58 srun --cpu-bind=threads --label -c${OMP_NUM_THREADS:=1} $gcm > lrun${numnew} 2>&1 57 # Run GCM using srun (no cpu binding... OK for MPI only) 58 #srun --cpu-bind=threads --label -c${OMP_NUM_THREADS:=1} $gcm > lrun${numnew} 2>&1 59 # Ideally using adequate cpu binding, especially if using mixed MPI/OpenMP on a full node 60 srun --ntasks-per-node=${SLURM_NTASKS_PER_NODE} --cpu-bind=none --mem-bind=none --label -- ./adastra_cpu_binding.sh ./$gcm > lrun${numnew} 2>&1 59 61 60 62 -
trunk/LMDZ.MARS/deftank/adastra/run_month1
r3766 r3817 5 5 #SBATCH --nodes=1 6 6 #SBATCH --ntasks-per-node=24 7 #SBATCH --cpus-per-task= 47 #SBATCH --cpus-per-task=8 8 8 #SBATCH --threads-per-core=1 # --hint=nomultithread 9 9 #SBATCH --exclusive
Note: See TracChangeset
for help on using the changeset viewer.