Changeset 2186 for issm/trunk/cron/nightlyrun.sh
- Timestamp:
- 09/10/09 14:11:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r2185 r2186 107 107 cd $ep 108 108 cp configs/$OS/* . 109 ./install.sh $NUMCPUS 109 ./install.sh $NUMCPUS_INSTALL 110 110 cd .. 111 111 done … … 135 135 then 136 136 cd $ISSM_DIR/src/c 137 ./intel-compile.sh >> ../../c-compilation.log 2>&1137 ./intel-compile.sh 138 138 cd $ISSM_DIR/src/mex 139 make install >> ../../mex-compilation.log 2>&1139 make install 140 140 cd $ISSM_DIR 141 141 else 142 make -j $NUMCPUS >> ../../cmex-compilation.log 2>&1143 make -j $NUMCPUS install >> ../../cmex-compilation.log 2>&1142 make -j $NUMCPUS_INSTALL 143 make -j $NUMCPUS_INSTALL install 144 144 fi 145 145 fi … … 162 162 #Launch matlab and the nightly run script 163 163 cd $ISSM_DIR/cron/ 164 ./run.sh $ NROPTIONS164 ./run.sh $1 165 165 ELAPSED_RUN=$(timer $INSTALL_TIME) 166 166 ELAPSED_TOTAL=$(timer $START_TIME) … … 176 176 exit 177 177 178 #send mail 179 source cron/mailinglist 180 for i in `echo $MAILINGLIST`; do 181 182 if [ "$OS" = "winxp32" ] 183 then 184 email -html -f "ISSM Nightly run $EMAIL_ADRESS" -s "Nightly runs of $ISSM_RELEASE , operating system: $OS. " $i < report.html 185 else 186 if [ "$OS" = "linux64" ] 178 #send mail if requested 179 if [ "$SKIPMAIL" != "yes" ] 180 then 181 source cron/mailinglist 182 for i in `echo $MAILINGLIST`; do 183 184 if [ "$OS" = "winxp32" ] 187 185 then 188 cat - report.html <<HERE | /usr/lib/sendmail -oi -t 186 email -html -f "ISSM Nightly run $EMAIL_ADRESS" -s "Nightly runs of $ISSM_RELEASE , operating system: $OS. " $i < report.html 187 else 188 if [ "$OS" = "linux64" ] 189 then 190 cat - report.html <<HERE | /usr/lib/sendmail -oi -t 189 191 From: "ISSM Nightly run" <$EMAIL_ADRESS> 190 192 To: $i … … 194 196 HERE 195 197 else 196 198 cat - report.html <<HERE | /usr/sbin/sendmail -oi -t 197 199 From: "ISSM Nightly run" <$EMAIL_ADRESS> 198 200 To: $i … … 201 203 Content-Type: text/html 202 204 HERE 205 fi 203 206 fi 204 fi 205 206 done 207 done 208 fi
Note:
See TracChangeset
for help on using the changeset viewer.