Index: /issm/trunk-jpl/configure.ac
===================================================================
--- /issm/trunk-jpl/configure.ac	(revision 18397)
+++ /issm/trunk-jpl/configure.ac	(revision 18398)
@@ -14,8 +14,8 @@
 AC_PROG_F77([ifort g77 gfortran])
 
-AC_F77_LIBRARY_LDFLAGS
+#AC_F77_LIBRARY_LDFLAGS
 
 #Libraries and linking
-AC_PATH_XTRA      #figure out X library and include paths
+#AC_PATH_XTRA      #figure out X library and include paths
 
 #AUTOMAKE
Index: /issm/trunk-jpl/jenkins/imac-012301-gil
===================================================================
--- /issm/trunk-jpl/jenkins/imac-012301-gil	(revision 18397)
+++ /issm/trunk-jpl/jenkins/imac-012301-gil	(revision 18398)
@@ -13,15 +13,12 @@
 	--with-matlab-dir=$MATLAB_DIR \
 	--with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
-	--with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
 	--with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
-	--with-mpi-libflags=" $ISSM_DIR/externalpackages/mpich/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpl.a " \
-	--with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a" \
-	--with-math-lib="/usr/lib/libm.dylib" \
-	--with-graphics-lib="/usr/X11/lib/libX11.dylib" \
-	--with-numthreads=8 \
+	--with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lpmpich -lmpich -lmpl" \
 	--with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install  \
-	--with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
 	--with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
 	--with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
+	--with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
+	--with-numthreads=8 \
+	--enable-debugging \
 	--enable-development'
 
@@ -60,5 +57,4 @@
 						shell2junit  install.sh "
 
-
 #---------------------#
 # 4: ISSM Compilation #
@@ -70,20 +66,6 @@
 ISSM_COMPILATION="yes"
 
-#----------------------#
-# 5: Mail notification #
-#----------------------#
-
-#Mail delivery. If SKIPMAIL="no", the html nightly run report will be
-#sent to the adresses present in $ISSM_DIR/cron/mailinglist.
-SKIPMAIL="no"
-
-#Sender email address
-EMAIL_ADRESS="eric.larour@jpl.nasa.gov"
-
-#Mailing list
-MAILINGLIST="eric.larour@jpl.nasa.gov"
-
 #------------------------#
-# 6: Nightly run options #
+# 5: Nightly run options #
 #------------------------#
 
Index: /issm/trunk-jpl/jenkins/jenkins.sh
===================================================================
--- /issm/trunk-jpl/jenkins/jenkins.sh	(revision 18397)
+++ /issm/trunk-jpl/jenkins/jenkins.sh	(revision 18398)
@@ -3,49 +3,4 @@
 #It then processes the results and sends an email to the Ice developpers.
 
-#some functions
-function timer() #{{{
-{
-	if [[ $# -eq 0 ]]; then
-		echo $(date '+%s')
-	else
-		local  stime=$1
-		etime=$(date '+%s')
-
-		if [[ -z "$stime" ]]; then stime=$etime; fi
-
-		dt=$((etime - stime))
-		ds=$((dt % 60))
-		dm=$(((dt / 60) % 60))
-		dh=$((dt / 3600))
-		printf '%d:%02d:%02d' $dh $dm $ds
-	fi
-} #}}}
-function todaydate() #{{{
-{
-	suffix=`date | awk '{printf("%s-%s-%s  %s",$2,$3,$6,$4);}'`			 
-	echo $suffix;			 
-} #}}}
-function host_name() #{{{
-{
-	#return host name depending on the OS
-	if [ "$1" = "win7" ] 
-	then
-		HOST_NAME=`hostname | sed 's/-//g'`;
-	else
-		HOST_NAME=`hostname -s | sed 's/-//g'`;
-	fi
-	echo $HOST_NAME;
-} #}}}
-function pause() #{{{
-{
-pid=`ps aux -W | grep $1 | awk '{printf("%s\n",$1);}'`
-
-while [ -n "$pid" ]
-do
-	pid=`ps aux -W | grep $1 | awk '{printf("%s\n",$1);}'`
-done
-}
-#}}}
-
 #Get configuration
 #Source config file{{{
@@ -63,15 +18,9 @@
 source $1;
 #}}}
-#Initialize variables {{{
-TODAY=$(todaydate);
+#Get Operating system (OS) name{{{
 OS=$(uname -s)
 if [[ $OS == "CYGWIN_NT-6.1-WOW64" ]]; then 
 	OS="win7";
 fi
-HOST_NAME=$(host_name $OS);
-START_TIME=$(timer);
-ISSM_RELEASE=$(basename $(echo $REPOSITORY));
-USER=$(whoami);
-INIT_PATH=$(pwd);
 #}}}
 
@@ -212,35 +161,12 @@
 rm -rf $ISSM_DIR/execution/*
 
-#Prepare info.log
-#{{{
-rm -rf $ISSM_DIR/nightlylog
-mkdir  $ISSM_DIR/nightlylog
-INSTALL_TIME=$(timer)
-ELAPSED=$(timer $START_TIME)
-VERSION=$(svnversion $ISSM_DIR)
-cat << END > $ISSM_DIR/nightlylog/info.log
-name:      $(echo $NAME)
-today:     $(echo $TODAY)
-user:      $(echo $USER)
-host:      $(echo $HOST_NAME)
-OS:        $(echo $OS)
-release:   $(echo $ISSM_RELEASE)
-init_path: $(echo $INIT_PATH)
-is_matlab: $(echo $MATLAB_TEST)
-is_python: $(echo $PYTHON_TEST)
-elapsed_install: $(echo $ELAPSED)
-version: $(echo $VERSION)
-END
-#}}}
-
 #matlab tests
 if [ $MATLAB_TEST -eq 1 ]; then
 #Launch all tests on different cpus {{{
-MATLAB_START_TIME=$(timer);
 for (( i=1;i<=$NUMCPUS_RUN;i++ ))
 do
 	#Launch matlab and the nightly run script
 	cat > $ISSM_DIR/nightlylog/matlab_run$i.m << EOF
-	warning off %necessary to avoid a info.log of several Go for parallel runs
+	warning off %necessary to avoid a log of several Go for parallel runs
 	try,
 	$(if [ "$MATLAB_NROPTIONS" = ""  ]
@@ -269,5 +195,10 @@
 #wait until matlab closes
 if [ "$OS" = "win7" ]; then
-	pause MATLAB
+	pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n",MATLAB);}')
+
+	while [ -n "$pid" ]
+	do
+		pid=$(ps aux -W | grep MATLAB | awk '{printf("%s\n",MATLAB);}')
+	done
 else
 	wait
@@ -284,18 +215,4 @@
 #filter out windows characters: 
 cat matlab_log.log | tr -cd '\11\12\40-\176' > matlab_log.log2 && mv matlab_log.log2 matlab_log.log
-
-#}}}
-#Complete info.log {{{
-if [ $(cat matlab_log.log | grep "MATLABEXITEDCORRECTLY" | wc -l) -eq $NUMCPUS_RUN ]
-then
-	MATLABCRASH=0
-else
-	MATLABCRASH=1
-fi
-ELAPSED=$(timer $MATLAB_START_TIME)
-cat << END >>  $ISSM_DIR/nightlylog/info.log
-elapsed_matlab: $(echo $ELAPSED)
-matlab_crash:   $(echo $MATLABCRASH)
-END
 #}}}
 fi
@@ -312,11 +229,4 @@
 done
 
-#wait until python closes
-if [ "$OS" = "win7" ]; then
-	pause MATLAB
-else
-	wait
-fi
-
 #concatenate reports
 cd $ISSM_DIR/nightlylog/
@@ -327,26 +237,5 @@
 done
 #}}}
-#Complete info.log {{{
-if [ $(cat python_log.log | grep "PYTHONEXITEDCORRECTLY" | wc -l) -eq $NUMCPUS_RUN ]
-then
-	PYTHONCRASH=0
-else
-	PYTHONCRASH=1
-fi
-ELAPSED=$(timer $PYTHON_START_TIME)
-cat << END >>  $ISSM_DIR/nightlylog/info.log
-elapsed_python: $(echo $ELAPSED)
-python_crash:   $(echo $PYTHONCRASH)
-END
-#}}}
-fi
-
-#complete info.log
-#{{{
-ELAPSED=$(timer $START_TIME)
-cat << END >>  $ISSM_DIR/nightlylog/info.log
-elapsed_total:  $(echo $ELAPSED)
-END
-#}}}
+fi
 
 #process logs to be junit compatible
