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/sette_batch_template – 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/sette_batch_template

    r9576 r10698  
    7575 
    7676# 
    77   post_test_tidyup 
     77# 
     78# run post processing of sette only is run normally or expected error 
     79  NEMOEXIT=$? 
     80  case $NEMOEXIT in 
     81      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     82      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     83  esac 
    7884 
    7985# END_BODY 
Note: See TracChangeset for help on using the changeset viewer.