Ignore:
Timestamp:
Mar 21, 2022, 5:00:11 PM (3 years ago)
Author:
romain.vande
Message:

LMDZ_MARS:
OMP : update the batch example for Occigen and the README associated
RV

Location:
trunk/LMDZ.MARS/deftank/occigen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/deftank/occigen/README

    r2216 r2644  
    33a job "run_month2" which runs a simulation for month #2 which then possibly
    44launches a job "run_month3" etc.
     5
     6OMP : in "run_month1" the number denoted A, B and C should be choose according
     7to 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
    513The starting and ending months of the simulation can be set in "run_month1"
    614One should adapt the script (and underlying "run0" and "run.def.ref") to
  • trunk/LMDZ.MARS/deftank/occigen/run_month1

    r2216 r2644  
    11#!/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
    45#SBATCH -J clim
    56#SBATCH --time=13:00:00
    67#SBATCH --output run_month1.%j.out
    78##SBATCH --mem=8GB
    8 #SBATCH --constraint=[HSW24|BDW28]
     9#SBATCH --constraint=[BDW28]
    910#SBATCH --exclusive
    1011
     
    3233
    3334\rm -f  error; touch error
     35
     36# environment setup for OpenMP:
     37export I_MPI_DOMAIN=auto
     38export I_MPI_PIN_RESPECT_CPUSET=0
     39#Make sure that OMP_NUM_THREADS = cpus-per-task * KMP_HW_SUBSET
     40export KMP_HW_SUBSET=1T
     41export OMP_NUM_THREADS=5                    #C
     42export OMP_STACKSIZE=400M
     43export KMP_AFFINITY=granularity=fine,compact,1,0,verbose
    3444
    3545case $true_num in
Note: See TracChangeset for help on using the changeset viewer.