Ignore:
Timestamp:
12/15/22 11:08:40 (19 months ago)
Author:
aclsce
Message:

Added fonctionality to create RUN_DIR and Job_debug to be launched directly in the RUN_DIR directory.

File:
1 edited

Legend:

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

    r1556 r1569  
    3838#==================================================== 
    3939# Turn in dry run mode ? (sys_Put_Rest, sys_Put_Out, sys_Get) 
    40 typeset -r DRYRUN=${DRYRUN:=0} 
     40if ([ X${DRYRUN} != X ] && [ ${DRYRUN} = 4 ]) ; then 
     41  typeset -r DRYRUN=0 
     42  typeset -r DRYRUN_DEBUG=4 
     43else 
     44  typeset -r DRYRUN=${DRYRUN:=0} 
     45  typeset -r DRYRUN_DEBUG=0 
     46fi 
    4147 
    4248# YOU MUST COMPILE YOUR EXE FILES FOR DRYRUN MODE ! 
     
    5460# |    3     |       yes           |    no      |  no     |      no                   | 
    5561# ------------------------------------------------------------------------------------- 
     62# |    4     |       yes           |    yes     |  creation of RUN_DIR and Job_debug  | 
     63# ------------------------------------------------------------------------------------- 
     64 
    5665 
    5766#===================================================== 
     
    14061415             (( index_host = current_core / NB_CORE_PER_NODE )) 
    14071416             host_value=${listnodes[${index_host}]} 
    1408                echo "$host_value" >> hostlist 
     1417             echo "$host_value" >> hostlist 
     1418             if [ ${DRYRUN_DEBUG} = 4 ] ; then 
     1419                 echo "node_${index_host}_X" >> hostlist_template 
     1420             fi 
    14091421             (( current_core = current_core + offset_comp_proc_loc )) 
    14101422          done 
Note: See TracChangeset for help on using the changeset viewer.