Changeset 3132


Ignore:
Timestamp:
02/25/10 07:47:21 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed nightly run (new login name in cluster.rc)

Location:
issm/trunk/cron
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/nightlyrun.sh

    r2244 r3132  
    7575cluster_codepath=$ISSM_DIR/bin
    7676cluster_executionpath=$EXECUTION_PATH
     77cluster_login=$USER
    7778
    7879end
  • issm/trunk/cron/report.sh

    r2233 r3132  
    22#generate html report from nightly.log output file
    33
     4#First go to the nightly run directory (created by nightlyrun.sh)
    45cd $ISSM_DIR/test/Verification/NightlyRun/
     6
     7#----------------------------#
     8# Initialize local variables #
     9#----------------------------#
    510
    611#process nightly.log
     
    5863fi
    5964
    60 #build report.html
     65#-------------------#
     66# build report.html #
     67#-------------------#
    6168
    6269#first: summary
     
    111118fi
    112119
    113 #Matlab error report
    114 if [ -e matlaberror.log ]
    115 then
    116 cat << END > matlaberror.html
    117 <table $H2_STYLE><tr><td $H2_FONT>Matlab error</td></tr></table>
    118 <table $MATLAB_STYLE><tr><td $MATLAB_FONT>
    119 <pre>$(cat matlaberror.log)</pre>
    120 </td></tr></table>
    121 END
    122 else
    123         mktemp matlaberror.html
    124 fi
    125 
    126 #report content
     120
     121#report table
    127122if [ $IS_RUN -eq 1 ];
    128123then
     
    189184fi
    190185
     186#Matlab error report
     187if [ -e matlaberror.log ]
     188then
     189cat << END > matlaberror.html
     190<table $H2_STYLE><tr><td $H2_FONT>Matlab error</td></tr></table>
     191<table $MATLAB_STYLE><tr><td $MATLAB_FONT>
     192<pre>$(cat matlaberror.log)</pre>
     193</td></tr></table>
     194END
     195else
     196        mktemp matlaberror.html
     197fi
     198
    191199#last footer
    192200cat << END > footer.html
     
    197205
    198206#concatenate files
    199 cat summary.html matlaberror.html content.html footer.html > report.html
     207cat summary.htmlcontent.html matlaberror.html footer.html > report.html
    200208rm  summary.html content.html footer.html matlaberror.html matlab.log
Note: See TracChangeset for help on using the changeset viewer.