Ignore:
Timestamp:
07/05/17 20:18:51 (7 years ago)
Author:
sdipsl
Message:

CMIP6 workflow. Merging trunk into branch 'branch' r:1375:1398

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/libIGCM_v3.0_beta1/libIGCM_comp/libIGCM_comp.ksh

    r1375 r1399  
    778778              if [ X${OCE_PROC_MPI} != X ] ; then 
    779779                if [ ${OCE_PROC_MPI} -ne ${nb_restart_file} ] ; then 
    780                   IGCM_sys_rebuild ${generic_restart_file_name_out}.${extension_out} ${generic_restart_file_name_out}_????.${extension_out} 
     780                  IGCM_sys_rebuild_nemo ${generic_restart_file_name_out} ${nb_restart_file} ${extension_out} ${generic_restart_file_name_out}_????.${extension_out} 
    781781                  IGCM_sys_Rm ${generic_restart_file_name_out}_????.${extension_out} 
    782782                fi 
     
    13261326  fi 
    13271327 
    1328   # Test if keyid is set in filein, otherwise exit 
     1328  # Test if keyid is set in filein. If not exit for case all cases(blocker, force) except nonblocker. 
    13291329  if [ $( grep -w ${keyid} ${filein} | wc -l ) = 0 ] ; then 
    1330     # Variable key is not set in filein, stop. 
    1331     IGCM_debug_Exit "IGCM_comp_modifyXmlFile : ${keyid} is not set in the file. Bad syntax of ${filein} file." 
    1332     IGCM_debug_PopStack "IGCM_comp_modifyXmlFile" 
    1333     return 
     1330      if [ ${type} = nonblocker ] ; then 
     1331          # This is a nonblocker case, print warning but do nothing else 
     1332          IGCM_debug_Print 1 "IGCM_comp_modifyXmlFile: ${keyid} is not set in ${filein}. This is a nonblocker call so nothing is done." 
     1333      else 
     1334          # This is a blocker or force case : stop now 
     1335          IGCM_debug_Exit "IGCM_comp_modifyXmlFile : ${keyid} is not set in the file. Bad syntax of ${filein} file." 
     1336          IGCM_debug_PopStack "IGCM_comp_modifyXmlFile" 
     1337          return 
     1338      fi 
    13341339  fi 
    13351340 
    13361341  # Check if AUTO is set on the same line as keyid and keyattrib 
    13371342  if [  $( grep -w ${keyid} ${filein} | grep AUTO | wc -l ) = 1 ] ; then 
    1338     # Modifification will be done 
     1343    # Modification will be done 
    13391344    modify=yes 
    13401345  else 
     
    17151720          if [ X${AsynchronousRebuild} = Xfalse ] ; then 
    17161721            IGCM_debug_Print 2 "Rebuilding ${file_in} online" 
    1717             IGCM_sys_rebuild ${file_in} ${generic_file_name}_[0-9]*.nc 
     1722            # 
     1723            # for output.abort file, let use rebuild_NEMO : 13s instead of 20 mn. 
     1724            if [ ${file_in} = output.abort.nc ] ; then 
     1725              IGCM_sys_rebuild_nemo ${generic_file_name} ${nb_rebuild_file} "nc" ${generic_file_name}_[0-9]*.nc 
     1726            else 
     1727              IGCM_sys_rebuild ${file_in} ${generic_file_name}_[0-9]*.nc 
     1728            fi 
    17181729          else 
    17191730            IGCM_debug_Print 2 "Preparing offline rebuild for ${file_in}" 
Note: See TracChangeset for help on using the changeset viewer.