On Tue, Sep 9, 2014 at 9:36 PM, Laboure, Vincent M <[email protected]> wrote: > I was using the version 1.3.0 and I just upgraded to 1.4.0+ > When I try to run one of my old (working) codes, I get the following error: > > File "myCode.py", line 599, in <module> > solver = PETScKrylovSolver('gmres','ilu') > NameError: name 'PETScKrylovSolver' is not defined > > > Does that mean that the installation was not done properly or is it a > deprecated term?
Most likely, it means that PETSc support was not enabled when you compiled DOLFIN. Take a look at the output from when you run cmake in the DOLFIN build directory. It should tell you whether PETSc is enabled or not. Note that you need PETSc 3.3 or later for the latest development version of DOLFIN and you must set PETSC_DIR (and perhaps PETSC_ARCH) if PETSc is not installed in a common location (like /usr or /usr/local). Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
