Changeset 5083
- Timestamp:
- 08/09/10 12:26:43 (15 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r5081 r5083 217 217 ln -s $ISSM_DIR/startup.m . 218 218 #}}} 219 #Create nightlylog directory and nightly.log {{{1220 #put installation elapsed time in nightly.log219 #Create nightlylog directory and info.log {{{1 220 #put installation elapsed time in info.log 221 221 INSTALL_TIME=$(timer) 222 222 ELAPSED_INSTALL=$(timer $START_TIME) 223 223 rm -rf $ISSM_DIR/nightlylog 224 224 mkdir $ISSM_DIR/nightlylog 225 cat << END > $ISSM_DIR/nightlylog/ nightly.log225 cat << END > $ISSM_DIR/nightlylog/info.log 226 226 today: $(echo $TODAY) 227 227 user: $(echo $USER) … … 247 247 #Launch matlab and the nightly run script 248 248 cat > $ISSM_DIR/nightlylog/matlab_run$i.m << EOF 249 warning off %necessary to avoid a nightly.log of several Go for parallel runs249 warning off %necessary to avoid a info.log of several Go for parallel runs 250 250 try, 251 251 cd $ISSM_DIR/test/NightlyRun … … 282 282 #}}} 283 283 #concatenate all reports {{{1 284 cd $ISSM_DIR/nightlylog/ 284 285 mv matlab_log1.log matlab_log.log 285 286 for (( i=2;i<=$NUMCPUS_RUN;i++ )) … … 291 292 done 292 293 #}}} 293 #Complete nightly.log {{{1294 #Complete info.log {{{1 294 295 ELAPSED_RUN=$(timer $INSTALL_TIME) 295 296 ELAPSED_TOTAL=$(timer $START_TIME) 296 cat << END >> $ISSM_DIR/nightlylog/ nightly.log297 cat << END >> $ISSM_DIR/nightlylog/info.log 297 298 elapsed_run: $(echo $ELAPSED_RUN) 298 299 elapsed_total: $(echo $ELAPSED_TOTAL) … … 303 304 #Build html report {{{1 304 305 cd $ISSM_DIR/nightlylog/ 305 sh ../ cron/report.sh306 sh ../scripts/report.sh 306 307 echo "html report located in $ISSM_DIR/nightlylog/report.html" 307 308 #}}}
Note:
See TracChangeset
for help on using the changeset viewer.