Changeset 19354


Ignore:
Timestamp:
05/08/15 17:01:15 (10 years ago)
Author:
glperez
Message:

CHG: Restored redirection of python output to log files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/jenkins/jenkins.sh

    r19353 r19354  
    251251        echo "--------------Running Python test for Rank $i---------------------"
    252252        ./runme.py --output=nightly --rank=$i --numprocs=$NUMCPUS_RUN $PYTHON_NROPTIONS
    253         #./runme.py --output=nightly --rank=$i --numprocs=$NUMCPUS_RUN $PYTHON_NROPTIONS 2>&1 > $ISSM_DIR/nightlylog/python_log$i.log &
     253        #./runme.py --output=nightly --rank=$i --numprocs=$NUMCPUS_RUN $PYTHON_NROPTIONS &> $ISSM_DIR/nightlylog/python_log$i.log
    254254        echo "--------------Running Python test for Rank $i---------------------"
    255255done
    256256
    257 #concatenate reports
    258 #cd $ISSM_DIR/nightlylog/
    259 #rm python_log.log
    260 #for (( i=1;i<=$NUMCPUS_RUN;i++ ))
    261 #do
    262 #       echo "This is the concatenation phase for rank: python_log$i.log"
    263 #       cat python_log$i.log
    264 #       cat python_log$i.log >> python_log.log
    265 #done
     257# concatenate reports
     258cd $ISSM_DIR/nightlylog/
     259rm python_log.log
     260for (( i=1;i<=$NUMCPUS_RUN;i++ ))
     261do
     262        echo "This is the concatenation phase for rank: python_log$i.log"
     263        cat python_log$i.log
     264        cat python_log$i.log >> python_log.log
     265done
    266266#}}}
    267267fi
Note: See TracChangeset for help on using the changeset viewer.