Index: /issm/trunk/externalpackages/mpich/install-3.2-linux64-static.sh
===================================================================
--- /issm/trunk/externalpackages/mpich/install-3.2-linux64-static.sh	(revision 23224)
+++ /issm/trunk/externalpackages/mpich/install-3.2-linux64-static.sh	(revision 23225)
@@ -22,15 +22,13 @@
 	--disable-shared \
 	--enable-strict=all \
+	--enable-fast \
 	--with-pic
 
-# #Compile mpich (this new version supports parallel make)
-# if [ $# -eq 0 ]; then
-# 	make
-# else
-# 	make -j $1
-# fi
-
-#Compile MPICH with one thread
-make
+#Compile mpich (this new version supports parallel make)
+if [ $# -eq 0 ]; then
+	make
+else
+	make -j $1
+fi
 
 make install
Index: /issm/trunk/externalpackages/petsc/install-3.7-linux64-static.sh
===================================================================
--- /issm/trunk/externalpackages/petsc/install-3.7-linux64-static.sh	(revision 23224)
+++ /issm/trunk/externalpackages/petsc/install-3.7-linux64-static.sh	(revision 23225)
@@ -18,19 +18,18 @@
 ./config/configure.py \
 	--prefix="$ISSM_DIR/externalpackages/petsc/install" \
+	--with-single-library=1 \
+	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
+	--with-shared-libraries=0 \
+	--with-pic=1 \
+	--with-debugging=0 \
 	--with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \
-	--PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
-	--with-debugging=0 \
-	--with-valgrind=0 \
-	--with-x=0 \
-	--with-ssl=0 \
-	--with-shared-libraries=0 \
+	--download-fblaslapack=1 \
 	--download-metis=1 \
 	--download-parmetis=1 \
+	--with-x=0 \
+	--download-scalapack=1 \
 	--download-mumps=1 \
-	--download-fblaslapack=1 \
-	--download-scalapack=1 \
-	--COPTFLAGS="-fPIC" \
-	--CXXOPTFLAGS="-fPIC" \
-	--FOPTFLAGS="-fPIC"
+	--with-ssl=0 \
+	--with-valgrind=0
 
 #Compile and intall
Index: /issm/trunk/jenkins/linux64_ross_static
===================================================================
--- /issm/trunk/jenkins/linux64_ross_static	(revision 23224)
+++ /issm/trunk/jenkins/linux64_ross_static	(revision 23225)
@@ -16,5 +16,5 @@
 	--with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
 	--with-mpi-libflags="$ISSM_DIR/externalpackages/mpich/install/lib/libmpifort.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpi.a -lrt -lpthread" \
-	--with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install  \
+	--with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
 	--with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
 	--with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
@@ -24,5 +24,6 @@
 	--with-math77-dir=$ISSM_DIR/externalpackages/math77/install \
 	--with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \
-	--with-pic'
+	--with-pic \
+	--with-numthreads=4'
 
 #PYTHON and MATLAB testing
@@ -51,8 +52,8 @@
 #number of cpus used in ISSM installation and compilation (one is usually
 #safer as some packages are very sensitive to parallel compilation)
-NUMCPUS_INSTALL=1
+NUMCPUS_INSTALL=10
 
 #number of cpus used in the nightly runs.
-NUMCPUS_RUN=1
+NUMCPUS_RUN=10
 
 #Nightly run options. The matlab routine runme.m will be called
