Changeset 741 for palm


Ignore:
Timestamp:
Aug 18, 2011 6:33:16 AM (13 years ago)
Author:
raasch
Message:

bugfix for local append of output files with suffix (.nc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/mrun

    r738 r741  
    225225     # 06/04/11 - BjornM - bugfix for runs with mpt on lcsgi
    226226     # 17/08/11 - Siggi  - extensions for impi library
     227     # 18/08/11 - Siggi  - bugfix for local append of output files with suffix (.nc)
    227228
    228229
     
    41624163          if [[ "${actionout[$i]}" = "a" ]]
    41634164          then
    4164              printf "\n  >>> OUTPUT: ${localout[$i]}  append to  ${pathout[$i]}\n"
    4165              cat  ${localout[$i]}  >>  ${pathout[$i]}
     4165             if [[ "${extout[$i]}" != " "  &&  "${extout[$i]}" != "" ]]
     4166             then
     4167                printf "\n  >>> OUTPUT: ${localout[$i]}  append to  ${pathout[$i]}.${extout[$i]}\n"
     4168                cat  ${localout[$i]}  >>  ${pathout[$i]}.${extout[$i]}
     4169             else
     4170                printf "\n  >>> OUTPUT: ${localout[$i]}  append to  ${pathout[$i]}\n"
     4171                cat  ${localout[$i]}  >>  ${pathout[$i]}
     4172             fi
    41664173          fi
    41674174
Note: See TracChangeset for help on using the changeset viewer.