Changeset 8811
- Timestamp:
- 07/06/11 08:43:47 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/scripts/report.sh
r8810 r8811 19 19 #Process matlab_log.log 20 20 cat matlab_log.log | egrep 'ERROR|SUCCESS|FAILURE' | grep -v "PETSC" | sed -e "s/>/\>/g" | sed -e "s/</\</g" > matlab.log 21 cat matlab_log.log | grep "PETSC" | sed -e "s/>/\>/g" | sed -e "s/</\</g" > petscerror.log 21 22 NUM_TOT=`wc -l matlab.log | awk '{print $1}'` 22 23 NUM_ERR=`cat matlab.log | grep 'ERROR' | grep -v "PETSC" | wc -l` … … 172 173 then 173 174 cat << END > matlaberror.html 174 <table $H2_STYLE><tr><td $H2_FONT>Matlab error </td></tr></table>175 <table $H2_STYLE><tr><td $H2_FONT>Matlab errors</td></tr></table> 175 176 <table $MATLAB_STYLE><tr><td $MATLAB_FONT> 176 177 <pre>$(cat matlaberror.log)</pre> … … 179 180 else 180 181 mktemp matlaberror.html 182 fi 183 184 #Matlab error report 185 if test -s petscerror.log 186 then 187 cat << END > petscerror.html 188 <table $H2_STYLE><tr><td $H2_FONT>PETSc errors</td></tr></table> 189 <table $MATLAB_STYLE><tr><td $MATLAB_FONT> 190 <pre>$(cat petscerror.log)</pre> 191 </td></tr></table> 192 END 193 else 194 mktemp petscerror.html 181 195 fi 182 196 … … 189 203 190 204 #concatenate files 191 cat summary.html content.html matlaberror.html footer.html > report.html192 rm summary.html content.html footer.html matlaberror.html matlab.log205 cat summary.html content.html matlaberror.html petscerror.html footer.html > report.html 206 rm summary.html content.html footer.html matlaberror.html petscerror.html matlab.log
Note:
See TracChangeset
for help on using the changeset viewer.