Changeset 3393 for palm/trunk/SCRIPTS


Ignore:
Timestamp:
Oct 22, 2018 4:22:55 PM (6 years ago)
Author:
knoop
Message:

palmrun: added _stdout monitoring file and output filter for "STOP 1" in batch mode

Location:
palm/trunk/SCRIPTS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/.palm.iofiles

    r3322 r3393  
    4040SVFOUT*                    out:lnpe svfout    $fast_io_catalog/$run_identifier/SVF      _svf
    4141#
     42STDOUT*                    out:tr   d3#:pcr   $base_data/$run_identifier/MONITORING     _stdout
     43STDOUT*                    out:tra  d3r       $base_data/$run_identifier/MONITORING     _stdout
    4244RUN_CONTROL*               out:tr   d3#:pcr   $base_data/$run_identifier/MONITORING     _rc
    4345RUN_CONTROL*               out:tra  d3r       $base_data/$run_identifier/MONITORING     _rc
  • palm/trunk/SCRIPTS/palmrun

    r3346 r3393  
    22512251    printf "\n      \"$execute_command\" \n\n"
    22522252
    2253     $execute_command  <  coupling_steering
    2254 
    2255     if [[ ${PIPESTATUS[0]} != 0 ]]
     2253
     2254    if [[ $progress_bar_disabled = true ]]
     2255    then
     2256       $execute_command  <  coupling_steering  &> >(grep -v --line-buffered '^STOP 1$' &> >(tee STDOUT) )
     2257       exit_code=${PIPESTATUS[0]}
     2258    else
     2259       $execute_command  <  coupling_steering  &> >(tee STDOUT)
     2260       exit_code=${PIPESTATUS[0]}
     2261    fi
     2262
     2263    if [[ ${exit_code} != 0 ]]
    22562264    then
    22572265
Note: See TracChangeset for help on using the changeset viewer.