New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 10698 for NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-openmpi_NAVITI_MERCATOR – NEMO

Ignore:
Timestamp:
2019-02-19T16:23:31+01:00 (5 years ago)
Author:
mathiot
Message:

check exit code from NEMO (do not copy anything if it failed on exit code other than 0/123456/999) + rename run.stat/tracer.stat/ocean.output to *_old in the current validation dir (ticket #2239)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-openmpi_NAVITI_MERCATOR

    r9576 r10698  
    6767 
    6868# 
    69   post_test_tidyup 
     69# 
     70# run post processing of sette only is run normally or expected error 
     71  NEMOEXIT=$? 
     72  case $NEMOEXIT in 
     73      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     74      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     75  esac 
    7076 
    7177# END_BODY 
Note: See TracChangeset for help on using the changeset viewer.