#After Plapack is fixed
./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --PETSC_ARCH=$PETSC_ARCH --PETSC_DIR=$PETSC_DIR  --with-debugging=no --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 --with-mpi-lib=/usr/lib/libmpi.so --with-mpi-include=/usr/include  --with-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --with-plapack-dir=$PETSC_DIR/externalpackages/PLAPACKR32/$PETSC_ARCH --FFLAGS=-I/usr/include --with-cc=icc --with-fc=ifort

#Before Plapack implodes
#./config/configure.py  --prefix=$PETSC_DIR --with-batch=1  --PETSC_ARCH=$PETSC_ARCH --PETSC_DIR=$PETSC_DIR  --with-debugging=no --with-shared=0 COPTFLAGS=-O3 FOPTFLAGS=-O3 --with-blas-lapack-dir=/opt/intel/mkl/9.1.023 --with-mpi-lib=/usr/lib/libmpi.so --with-mpi-include=/usr/include  --with-mpi-shared=0 --download-mumps=yes --download-scalapack=yes --download-blacs=yes  --download-plapack=yes --FFLAGS=-I/usr/include --with-cc=icc --with-fc=ifort
