Changeset 1357
- Timestamp:
- 07/23/09 07:29:56 (16 years ago)
- Location:
- issm/trunk/cron
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r1230 r1357 8 8 echo $suffix; 9 9 } 10 11 #Recover package for which we run nightly. 12 package=$1; 13 14 echo $package 15 exit 10 16 11 17 #create ISSM variables … … 57 63 #5: change issm.rc 58 64 cd etc 59 cat cluster.rc | sed -e "s/cluster_codepath=\/u\/ astrid1\/larour\/issm\/trunk\/bin/cluster_codepath=\/u\/wilkes-r1b\/morlighe\/svn\/issm\/trunk\/cron\/trunk\/bin/g" | sed -e "s/cluster_executionpath=\/u\/wilkes-r1b\/larour\/Testing\/Execution/cluster_executionpath=\/u\/wilkes-r1b\/morlighe\/ExecutionNightlyRun/g"> cluster.bak65 cat cluster.rc | sed -e "s/cluster_codepath=\/u\/wilkes-r1b\/larour\/Ice\/ice1.proto\/bin/cluster_codepath=\/u\/wilkes-r1b\/morlighe\/svn\/issm\/trunk\/cron\/trunk\/bin/g" | sed -e "s/cluster_executionpath=\/home\/larour\/Testing\/Execution/cluster_executionpath=\/u\/wilkes-r1b\/morlighe\/Execution/g"> cluster.bak 60 66 mv cluster.bak cluster.rc 61 67 cd .. 62 68 63 69 #Launch matlab and the nightly run script 70 if [[ package == "" ]] 71 matlab -nojvm -nosplash > ./nightlylong.log << EOF 72 startup 73 nightlyrun; 74 EOF 75 else 64 76 matlab -nojvm -nosplash > ./nightlylong.log << EOF 65 77 startup 66 warning off all 67 nightlyrun; 78 nightlyrun($1); 68 79 EOF 80 fi 69 81 70 82 #removed unused lines to deal with a smaller file 71 83 cat nightlylong.log | egrep 'difference: |NIGHTLYRUNTERMINATEDCORRECTLY' > nightly.log 72 #rm nightlylong.log84 rm nightlylong.log 73 85 74 86 #Build html report
Note:
See TracChangeset
for help on using the changeset viewer.