Changeset 1506 for trunk


Ignore:
Timestamp:
11/24/19 10:01:18 (4 years ago)
Author:
aclsce
Message:

Handling of SLURM_HOSTFILE variable by using activ and desactiv libIGCM functions (only for execution type 2, ie MPMP + MPI-OMP).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_sys/libIGCM_sys_jeanzay.ksh

    r1505 r1506  
    10871087 
    10881088  ulimit -s unlimited 
     1089  if [ ${executionType} -eq 2 ] ; then 
     1090    export SLURM_HOSTFILE=./hostlist 
     1091  fi 
     1092 
    10891093 
    10901094  IGCM_debug_PopStack "IGCM_sys_activ_variables" 
     
    11071111#D- MPI specifications 
    11081112# -------------------------------------------------------------------- 
    1109    unset SLURM_HOSTFILE 
     1113  if [ ${executionType} -eq 2 ] ; then 
     1114    unset SLURM_HOSTFILE 
     1115  fi 
    11101116# -------------------------------------------------------------------- 
    11111117#D- Other specifications 
     
    13461352      ## This is used when no error comes from executables and when something stopped an executable without notice.  
    13471353      export SLURM_WAIT=60 
    1348       export SLURM_HOSTFILE=./hostlist 
    13491354 
    13501355      EXECUTION="${HOST_MPIRUN_COMMAND} --cpu-bind=none --distribution=arbitrary --multi-prog ./run_file" 
Note: See TracChangeset for help on using the changeset viewer.