Index: /issm/trunk-jpl/externalpackages/petsc/install-3.5-greenplanet.sh
===================================================================
--- /issm/trunk-jpl/externalpackages/petsc/install-3.5-greenplanet.sh	(revision 20598)
+++ /issm/trunk-jpl/externalpackages/petsc/install-3.5-greenplanet.sh	(revision 20599)
@@ -21,6 +21,6 @@
  --prefix="$ISSM_DIR/externalpackages/petsc/install" \
  --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
- --with-blas-lapack-dir="/opt/intel/mkl/10.2.4.032/" \
- --with-mpi-dir="/sopt/mpi/openmpi-1.5.4_psm/intel/" \
+ --with-blas-lapack-dir="/sopt/Intel/composer_xe_2015.0.090/mkl/" \
+ --with-mpi-dir="/sopt/mpi/openmpi-1.8.3/intel_15.0.0/bin/" \
  --known-mpi-shared-libraries=1 \
  --with-debugging=0 \
@@ -33,15 +33,17 @@
  --download-parmetis=1 \
  --download-scalapack=1 \
- --download-mumps=1 \
- --COPTFLAGS="-lmpi -O3" \
- --FOPTFLAGS="-lmpi -O3" \
- --CXXOPTFLAGS="-lmpi -O3"
+ --download-mumps=1 
 
 #prepare script to reconfigure petsc
 cat > script.queue << EOF
-#PBS -S /bin/bash
-#PBS -l nodes=1:ppn=1
-#PBS -q c6145
-#PBS -l walltime=10
+#!/bin/bash
+#SBATCH -p c6145
+#SBATCH -N 1 -n 1
+#SBATCH --mem-per-cpu=1gb
+#SBATCH --time=10
+#SBATCH --job-name=test
+
+module load compiler/intel/15.0.0
+module load mpi/openmpi/1.8.3/intel_15.0.0
 
 cd $(echo $ISSM_DIR)/externalpackages/petsc/src/
@@ -51,4 +53,4 @@
 #print instructions
 echo "== Now: cd src/ "
-echo "== qsub script.queue "
+echo "== sbatch script.queue "
 echo "== Then run reconfigure script generated by PETSc and follow instructions"
