Compiling issues concerning update_ghost_values()

Issue #302 invalid
Tianyi Li created an issue

After the removal of update_ghost_values() in GenericVector.h introduced in ee097aa, I cannot anymore compile FEniCS successfully with PETSc backend. Indeed, at the end when compiling the module _la.so, it complains about the missing of this function in GenericVector.h.

Manually re-adding these lines

-    /// Update ghost values
-    virtual void update_ghost_values() {}
-

into GenericVector.h it works fine. So shouldn't they be kept ?

Comments (3)

  1. Prof Garth Wells

    You need to regenerate the SWIG wrappers. Easiest way is to do git clean -fdx from the top-level directory and re-build DOLFIN.

  2. Martin Sandve Alnæs

    Johan and Simone has the same issue, could it be a bug in a new swig version? It's fine for me with swig 2.0.11.

  3. Log in to comment