I'm currently using PETSc 3.6.0 and SLEPc 3.6.3. The configuration script for PETSc is
python ./config/configure.py \
PETSC_ARCH=linux-openmpi-gnu-cxx-real-opt \
--with-prefix=./ \
--with-mpi=1 \
--with-cc=mpicc \
--with-fc=mpif90 \
--with-cxx=mpicxx \
--with-c++-support=1 \
--with-c-support=0 \
--with-c-language=C++\
--with-fortran=0 \
--with-scalar-type=real \
--with-fortran-kernels=generic \
--download-superlu_dist \
--download-superlu \
--download-parmetis \
--download-metis \
--download-f2cblaslapack=1 \
--download-suitesparse \
--download-hypre \
--with-clanguage=c++ \
--with-mpirun=mpirun \
--with-mpiexec=mpiexec \
--with-debugging=0
I've attached a tarball that contains a stripped down version of the application code that seems to reproduce the errors that I've been seeing. I may not be handling the boundary conditions correctly, but I don't think that would explain the errors I'm seeing, which seems to be more related to the underlying structure of the matrices that I'm trying to set up.
This system represents a rectangular domain with a deeper square well in the center. The mass matrix is just the overlap matrix of the finite element basis functions. It should be similar to the one in step-36. I'm shooting for having the wave function go to zero on the boundary.
Bruce