Ignore:
Timestamp:
05/06/21 10:24:13 (3 years ago)
Author:
acosce
Message:

for ICOLMDZORINCA_v7 config add the possibility to read nqtot from pre-process inca file and write it automatically in run_dynamico.def

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v7/ICOLMDZORINCA_v7/GENERAL/DRIVER/dynamico.driver

    r5695 r5711  
    2323    fi 
    2424 
     25 
     26    if [ -f ${SUBMIT_DIR}/../../../bin/inca_${OptMode}_${ConfChem}.dat ];  then  
     27        eval $(grep nbtrac ${SUBMIT_DIR}/../../../bin/inca_${OptMode}_${ConfChem}.dat) || nbtrac=4 
     28    else 
     29        nbtrac=0 
     30    fi 
     31 
     32 
    2533    IGCM_debug_PopStack "ICO_Initialize" 
    2634} 
     
    3745        IGCM_comp_modifyDefFile blocker run_dynamico.def etat0_start_iteration_reset n 
    3846    fi 
     47 
     48    if [ ${nbtrac} -ne 0 ] ; then 
     49        ((nbtrac=nbtrac+3)) 
     50        IGCM_comp_modifyDefFile nonblocker run_dynamico.def nqtot ${nbtrac} 
     51    fi 
     52 
    3953 
    4054    # Set lenght for execution  
Note: See TracChangeset for help on using the changeset viewer.