Index: sm/trunk-jpl/scripts/run.sh
===================================================================
--- /issm/trunk-jpl/scripts/run.sh	(revision 14615)
+++ 	(revision )
@@ -1,59 +1,0 @@
-#!/bin/bash
-
-#prepare runs
-NUMCPUS_RUN=7
-NROPTIONS="";
-MATLAB_VERSION="7.6" #7.2,7.4,7.6 and 7.8
-#create softlink to startup {{{1
-cd $ISSM_DIR/test/NightlyRun/
-ln -s $ISSM_DIR/startup.m .
-#}}}
-
-#Launch all tests on different cpus
-for (( i=1;i<=$NUMCPUS_RUN;i++ ))
-do
-	#Launch matlab and the daily run script
-	cat > $ISSM_DIR/dailylog/matlab_run$i.m << EOF
-	warning off %necessary to avoid a daily.log of several Go for parallel runs
-	try,
-		cd $ISSM_DIR/test/NightlyRun
-		startup;
-		$(if [ "$NROPTIONS" = ""  ]
-	then
-		echo "runme('output','daily','rank',$i,'numprocs',$NUMCPUS_RUN);"
-	else
-		echo "runme($NROPTIONS,'output','daily','rank',$i,'numprocs',$NUMCPUS_RUN);"
-	fi
-	)
-	catch me,
-		%An error occured, get report and exit
-		directory=strsplit(pwd,'/');
-		message=getReport(me)
-		fid=fopen([ISSM_DIR '/dailylog/matlaberror.log'], 'at');
-		fprintf(fid,'\nMatlab error occured in: %s\n\n',directory{end});
-		fprintf(fid,'%s',message);
-		fclose(fid);
-	end
-	exit
-EOF
-
-	#Start run from dailylog directory
-	cd $ISSM_DIR/dailylog/
-
-	#Start test
-	/usr/local/pkgs/matlab-$MATLAB_VERSION/bin/matlab  -nojvm -nosplash  -r matlab_run$i -logfile matlab_log$i.log &
-
-done
-
-#wait until matlab closes
-wait
-
-#concatenate all reports
-mv matlab_log1.log  matlab_log.log
-for (( i=2;i<=$NUMCPUS_RUN;i++ ))
-do
-	cat matlab_log.log matlab_log$i.log > matlab_log.log.bak
-	mv matlab_log.log.bak matlab_log.log
-	rm matlab_log$i.log
-
-done
Index: sm/trunk-jpl/scripts/waitonlock.sh
===================================================================
--- /issm/trunk-jpl/scripts/waitonlock.sh	(revision 14615)
+++ 	(revision )
@@ -1,60 +1,0 @@
-#!/bin/bash
-#script version of waitonlock.m
-#function flag=waitonlock(filename,timelimit)
-#%WAITONLOCK - wait for a file
-#%
-#%   This routine will return when a file named 'filename' is written to disk.
-#%   If the time limit given in input is exceeded, return 0
-#%
-#%   Usage:
-#%      flag=waitonlock(filename,timelimit)
-
-#Check input value
-if [ $# -ne 2 ];
-then
-	#no config file specified: exit
-	echo "waitonlock.sh error message: bad usage"
-	exit 0
-fi
-
-#initialization
-TIME=1;
-STEP=1;  #step in seconds
-FILE=$1;
-
-#check time limit
-if [ "$2" == "Inf" ]
-then
-	echo infinity detected
-	LIMIT=999999999;
-else
-	echo not inf
-	let LIMIT=$2*60;
-fi
-
-#display
-echo "waiting for $1 hold on (ctl+c to stop)..."
-
-#Loop till file is found
-while [ $TIME -lt $LIMIT ]
-do
-
-	#lock file exists?
-	if [ -e $FILE ]; then
-		break;
-	fi
-
-	#No-> wait one second
-	sleep $STEP
-	let TIME+=1;
-	echo "waiting $TIME seconds ($TIME < $LIMIT)"
-	dummy=$(ls); #force bash to refresh file list
-
-done
-
-#Compute flag
-if [ $TIME -lt $LIMIT ]; then 
-	exit 1;
-else
-	exit 0;
-fi
