is it possible to use PETSc for large systems? Right now I am getting an out of memory error with the following code:
dolfin::PETScLUSolver algorithm;
algorithm.set_operator(A);
algorithm.solve(*u.vector(), b);
UMFPACK V5.7.6 (May 4, 2016): ERROR: out of memory
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error:
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error: Unable to successfully call PETSc function 'KSPSolve'.
*** Reason: PETSc error code is: 76 (Error in external library).
*** Where: This error was encountered inside /Users/travis/miniconda3/conda-bld/fenics_1494837782211/work/dolfin-2017.1.0/dolfin/la/PETScKrylovSolver.cpp.
*** Process: 0
***
*** DOLFIN version: 2017.1.0
*** Git changeset:
*** -------------------------------------------------------------------------
The number of DOFs is not really that high 2253001, I expected it to work, and right now I am limited to ~1M DOFs.
I am looking to possible options with the default anaconda binary (2017.1 running on a macOS 10.12).