Changeset 5014


Ignore:
Timestamp:
Jul 4, 2024, 3:29:11 PM (10 days ago)
Author:
abarral
Message:

same as previous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup_amaury/lmdz_env.sh

    r5006 r5014  
    6464      NB_MPI_MAX=5
    6565      NB_OMP_MAX=1
     66      NB_CORE_PER_NODE_MAX=0
     67      N_HYPERTHREADING=1
    6668      MPICMD="mpirun -np"  # on spirit, we can't run MPI using srun from within sbatch
    6769      RUNBASHCMD="bash"
     
    9698      LMDZD="$root_dir/LMDZD"
    9799      LMDZ_INIT="$root_dir/LMDZ_Init"
    98       NB_MPI_MAX=1  # TODO 2000 in JZ
    99       NB_OMP_MAX=1  # TODO 20 in JZ
     100      NB_MPI_MAX=2000
     101      NB_OMP_MAX=200
     102      NB_CORE_PER_NODE_MAX=96
     103      N_HYPERTHREADING=2
    100104      MPICMD="srun -n"
    101105      RUNBASHCMD="srun --label --account=$account --constraint=GENOA --ntasks-per-node=1 -n 1 --time=00:10:00 -c"
     
    108112      LMDZD="$root_dir/LMDZD"  # Where the sources will be downloaded and compiled
    109113      LMDZ_INIT="$root_dir/LMDZ_Init"  # Where to store shared files used for initialisation
    110       NB_MPI_MAX=2  # Max number of MPI cores (only for running simulations)
    111       NB_OMP_MAX=1  # Max number of OMP threads (only for running simulations)
     114      NB_MPI_MAX=33  # Max number of MPI cores (only for running simulations)
     115      NB_OMP_MAX=100  # Max number of OMP threads (only for running simulations)
     116      NB_CORE_PER_NODE_MAX=0  # Max number of cores per node (real cores, not hyperthreading - only for running simulations, cluster-specific)
     117      N_HYPERTHREADING=1  # How many hyperthreading threads per physical core
    112118      MPICMD="mpirun -np" # command to run an mpi executable, as $MPICMD <nprocs> <script>
    113119      RUNBASHCMD="bash" # command to run a bash job, as $runbashcmd (nthreads) <script> [nthreads only supplied if =/="bash"]
Note: See TracChangeset for help on using the changeset viewer.