Index: sm/trunk/cron/nightlyrun1.0.sh
===================================================================
--- /issm/trunk/cron/nightlyrun1.0.sh	(revision 1537)
+++ 	(revision )
@@ -1,93 +1,0 @@
-#!/bin/bash
-#This bash script calls the nightlyrun.m matlab file to run our nightly test decks. 
-#It then processes the results and sends an email to the Ice developpers.
-
-#Some functions 
-function today_date {
-suffix=`date | awk '{printf("%s-%s-%s",$2,$3,$6);}'` 
-echo $suffix;
-}
-
-#create ISSM variables
-export ISSM_DIR="/u/wilkes-r1b/seroussi/svn/issm/trunk/cron/issm1.0"
-ISSM_RELEASE="issm1.0";
-
-#Figure out today's date
-today=`today_date`;
-host_name=`hostname`;
-
-#Erase previous code
-rm -rf issm1.0
-
-#Fetch svn code
-svn checkout http://s383-rhat/issm/svn/issm/branches/issm1.0
-source $ISSM_DIR/etc/environment.sh
-
-#Go to the issm directory
-cd $ISSM_DIR
-
-#install ISSM
-
-#1: install some packages
-cd externalpackages
-cd mpich2
-	sh install.sh
-cd ../petsc
-	cp configs/wilkes/configure.sh .
-	sh install.sh
-cd ../metis
-	sh install.sh
-cd ../triangle
-	sh install.sh
-cd $ISSM_DIR
-
-#2: install automake and autoconf
-cd devpackages
-make
-cd ..
-
-#3: generate MakeFiles
-sh scripts/automakererun.sh
-sh config/wilkes/linux64.sh
-
-#4: compile ISSM
-make -j 8
-make install
-
-#5: change issm.rc
-cd etc
-cat cluster.rc | sed -e "s/cluster_codepath=\/u\/astrid1\/larour\/issm\/trunk\/bin/cluster_codepath=\/u\/wilkes-r1b\/seroussi\/svn\/issm\/trunk\/cron\/issm1.0\/bin/g" | sed -e "s/cluster_executionpath=\/u\/wilkes-r1b\/larour\/Testing\/Execution/cluster_executionpath=\/u\/wilkes-r1b\/seroussi\/ExecutionNightlyRun/g"> cluster.bak
-mv cluster.bak cluster.rc
-cd ..
-
-#Launch matlab and the nightly run script
-matlab -nojvm -nosplash  > ./nightlylong.log << EOF 
-startup
-nightlyrun;
-EOF
-
-#removed unused lines to deal with a smaller file
-cat nightlylong.log | egrep 'difference: |NIGHTLYRUNTERMINATEDCORRECTLY' > nightly.log
-#rm nightlylong.log
-
-#Build html report
-sh cron/report.sh
-		
-#send mail
-source cron/mailinglist
-for i in `echo $MAILINGLIST`; do
-cat - report.html <<HERE | /usr/lib/sendmail -oi -t
-From: "ISSM Nightly run" <helene.seroussi@jpl.nasa.gov>
-To: $i
-Subject: Nightly runs of $ISSM_RELEASE on: $host_name. Date:$today.
-Mime-Version: 1.0
-Content-Type: text/html
-HERE
-done
-
-#Erase log and error logs
-#rm -rf nightly.log report.html
-
-#Erase ice code
-#cd ..
-#rm -rf issm1.0
