Error: Unable to successfully call PETSc function 'VecScatterCreate'.

Issue #5 new
Evan Cummings created an issue

Running a simulation with IPOpt, solver "ma97", at iterate 1060 - something, I get the error

...
  File "/home/pf4d/Documents/dolfin-adjoint/dolfin_adjoint/utils.py", line 65, in gather
    arr = vec.gather(numpy.arange(vec.size(), dtype='intc'))
RuntimeError:

*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
***     fenics@fenicsproject.org
***
*** 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 'VecScatterCreate'.
*** Reason:  PETSc error code is: 1.
*** Where:   This error was encountered inside /build/dolfin-W5yB8A/dolfin-1.6.0/dolfin/la/PETScVector.cpp.
*** Process: 14
***
*** DOLFIN version: 1.6.0
*** Git changeset:  unknown
*** -------------------------------------------------------------------------

dolfin and dolfin_adjoint version 1.6... I do not have a minimal example, just looking for first guesses here.

Comments (4)

  1. Simon Funke

    Sorry, but this is hard to debug without being able to reproduce the issue. Maybe your array contains nans after some while?

  2. Log in to comment