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 – 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)

Location:
NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE
Files:
17 edited

Legend:

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

    r9576 r10698  
    8282  fi 
    8383# 
    84   post_test_tidyup 
     84# 
     85# run post processing of sette only is run normally or expected error 
     86  NEMOEXIT=$? 
     87  case $NEMOEXIT in 
     88      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     89      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     90  esac 
    8591 
    8692# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-PW6_CALYPSO

    r9576 r10698  
    7474  fi 
    7575# 
    76   post_test_tidyup 
     76# 
     77# run post processing of sette only is run normally or expected error 
     78  NEMOEXIT=$? 
     79  case $NEMOEXIT in 
     80      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     81      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     82  esac 
    7783 
    7884# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-PW7_METO

    r9576 r10698  
    8484 
    8585# 
    86   post_test_tidyup 
     86# 
     87# run post processing of sette only is run normally or expected error 
     88  NEMOEXIT=$? 
     89  case $NEMOEXIT in 
     90      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     91      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     92  esac 
    8793 
    8894# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-PW7_MONSOON

    r9576 r10698  
    8383 
    8484# 
    85   post_test_tidyup 
     85# 
     86# run post processing of sette only is run normally or expected error 
     87  NEMOEXIT=$? 
     88  case $NEMOEXIT in 
     89      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     90      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     91  esac 
    8692 
    8793# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_ADA

    r9696 r10698  
    7676 
    7777# 
    78   post_test_tidyup 
     78# 
     79# run post processing of sette only is run normally or expected error 
     80  NEMOEXIT=$? 
     81  case $NEMOEXIT in 
     82      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     83      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     84  esac 
    7985 
    8086# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_IRENE

    r10427 r10698  
    6666 
    6767# 
    68   post_test_tidyup 
     68# 
     69# run post processing of sette only is run normally or expected error 
     70  NEMOEXIT=$? 
     71  case $NEMOEXIT in 
     72      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     73      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     74  esac 
    6975 
    7076# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_IRENE_DEBUG

    r10427 r10698  
    6666 
    6767# 
    68   post_test_tidyup 
     68# 
     69# run post processing of sette only is run normally or expected error 
     70  NEMOEXIT=$? 
     71  case $NEMOEXIT in 
     72      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     73      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     74  esac 
    6975 
    7076# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-X64_MOBILIS

    r10632 r10698  
    8888  fi 
    8989# 
    90   post_test_tidyup 
     90# 
     91# run post processing of sette only is run normally or expected error 
     92  NEMOEXIT=$? 
     93  case $NEMOEXIT in 
     94      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     95      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     96  esac 
     97 
    9198# END_BODY 
    9299# Don't remove neither change the previous line 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-XC40_METO

    r9988 r10698  
    8484 
    8585# 
    86   post_test_tidyup 
     86# 
     87# run post processing of sette only is run normally or expected error 
     88  NEMOEXIT=$? 
     89  case $NEMOEXIT in 
     90      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     91      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     92  esac 
     93 
    8794# END_BODY 
    8895# Don't remove neither change the previous line 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-XC_ARCHER_INTEL

    r9576 r10698  
    9090  fi 
    9191# 
    92   post_test_tidyup 
     92# 
     93# run post processing of sette only is run normally or expected error 
     94  NEMOEXIT=$? 
     95  case $NEMOEXIT in 
     96      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     97      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     98  esac 
     99 
    93100# END_BODY 
    94101# Don't remove neither change the previous line 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-ifort_athena

    r9576 r10698  
    7474  fi 
    7575# 
    76   post_test_tidyup 
     76# 
     77# run post processing of sette only is run normally or expected error 
     78  NEMOEXIT=$? 
     79  case $NEMOEXIT in 
     80      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     81      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     82  esac 
    7783 
    7884# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-ifort_athena_xios

    r9576 r10698  
    100100  fi 
    101101# 
    102   post_test_tidyup 
     102# 
     103# run post processing of sette only is run normally or expected error 
     104  NEMOEXIT=$? 
     105  case $NEMOEXIT in 
     106      0|123456|999) echo " NEMO finished with exit code $NEMOEXIT " ; post_test_tidyup ;; 
     107      *) echo " NEMO abort on an unexpected error (segmentation fault or whatever) $NEMOEXIT " 
     108  esac 
    103109 
    104110# END_BODY 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-macport_osx

    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 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-macport_osx_debug

    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 
  • NEMO/branches/2019/fix_sette_ticket2239/BATCH_TEMPLATE/batch-openmpi_KARA_MERCATOR_XIOS

    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 
  • 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 
  • 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.