Changeset 3817


Ignore:
Timestamp:
Jun 27, 2025, 6:59:42 PM (45 hours ago)
Author:
emillour
Message:

Mars PCM:
Move adastra_cpu_binding.sh to "adastra" subforlder of deftank.
And adapt scripts and README there.
EM

Location:
trunk/LMDZ.MARS
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3810 r3817  
    48794879  - More interactive (keep asking the user to plot variables until he/she quits for ex);
    48804880  - Simplification and generalization of the script to get user answers.
     4881
     4882== 27/06/2025 == EM
     4883Move adastra_cpu_binding.sh to "adastra" subforlder of deftank.
     4884And adapt scripts and README there.
     4885
  • trunk/LMDZ.MARS/deftank/adastra/README

    r3033 r3817  
    1 >> EXAMPLES FOR OCCIGEN CLUSTER
     1>> EXAMPLES FOR ADASTRA CLUSTER
    22Job "run_month1" runs a simulation for month #1 and then possibly launches
    33a job "run_month2" which runs a simulation for month #2 which then possibly
     
    88>> to match your case
    99
    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
     11cores (ie. 24 MPI times 8 OpenMP).
     12>> If using 192 cores then you should aslo have the companion script
     13adastra_cpu_binding.sh
     14>> alongside "run_month1"
  • trunk/LMDZ.MARS/deftank/adastra/run0

    r3766 r3817  
    5555
    5656
    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
     60srun --ntasks-per-node=${SLURM_NTASKS_PER_NODE} --cpu-bind=none --mem-bind=none --label -- ./adastra_cpu_binding.sh ./$gcm > lrun${numnew} 2>&1
    5961
    6062
  • trunk/LMDZ.MARS/deftank/adastra/run_month1

    r3766 r3817  
    55#SBATCH --nodes=1
    66#SBATCH --ntasks-per-node=24
    7 #SBATCH --cpus-per-task=4
     7#SBATCH --cpus-per-task=8
    88#SBATCH --threads-per-core=1 # --hint=nomultithread
    99#SBATCH --exclusive
Note: See TracChangeset for help on using the changeset viewer.