Ignore:
Timestamp:
Feb 2, 2024, 1:06:35 PM (4 months ago)
Author:
asima
Message:

The usual combination 5MPI * 8OMP per node crashes now with messages :

srun: warning: can't honor --ntasks-per-node set to 5 ... Ignoring --ntasks-per-node.
run: error: Unable to create step for job ...: More processors requested than permitted

(strangely enough, it still runs for 4MPI * 10OMP per node)

Solution adopted (and some comments added) : comment out "--ntasks-per-node=..."

For the record, other solutions that keep "--ntasks-per-node=..." :
--> add "--nodes=..." (=ntasks/ntasks-per-node)
--> or, replace "nthreads=8 ; export OMP_NUM_THREADS=$nthreads"

by "export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK"

(Not easy to have a job for HPC that could work, one day, on a PC as well...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/LMDZ_Setup/setup.sh

    r4734 r4796  
    456456# Choix du nombre de processeurs
    457457# NOTES :
    458 # omp=8 by default, but we need
     458# omp=8 by default (for Jean-Zay must be a divisor of 40 procs/node), but we need
    459459#   omp=1 for SPLA (only MPI parallelisation)
    460460#   omp=2 for veget=CMIP6 beacause of a bug in ORCHIDEE/src_xml/xios_orchidee.f90
Note: See TracChangeset for help on using the changeset viewer.