[petsc-users] ex12 with Neumann BC

Olivier Bonnefon olivier.bonnefon at avignon.inra.fr
Thu Sep 26 08:04:50 CDT 2013


Hello,

I have implemented my own system from ex12.c. It works with Dirichlet 
BC, but failed with Neumann one.

So, I'm came back to the example /src/snes/example/tutorial/ex12.c, and 
I tried with Neumann BC:

./ex12 -bc_type NEUMANN

This leads to the following crach:

[0]PETSC ERROR: --------------------- Error Message 
------------------------------------
[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: Unsupported number of vertices 0 in cell 8 for element 
geometry computation!
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.4.2, Jul, 02, 2013
[0]PETSC ERROR: See docs/changes/index.html for recent updates.
[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
[0]PETSC ERROR: See docs/index.html for manual pages.
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: ./ex12 on a arch-linux2-c-debug named pcbiom38 by 
olivierb Thu Sep 26 14:53:32 2013
[0]PETSC ERROR: Libraries linked from 
/home/olivierb/SOFT/petsc-3.4.2/arch-linux2-c-debug/lib
[0]PETSC ERROR: Configure run at Thu Sep 26 14:44:42 2013
[0]PETSC ERROR: Configure options --with-debugging=1 --download-fiat 
--download-scientificpython --download-generator --download-triangle 
--download-ctetgen --download-chaco --download-netcdf --download-hdf5
[0]PETSC ERROR: 
------------------------------------------------------------------------
[0]PETSC ERROR: DMPlexComputeCellGeometry() line 732 in 
/home/olivierb/SOFT/petsc-3.4.2/src/dm/impls/plex/plexgeometry.c
[0]PETSC ERROR: DMPlexComputeResidualFEM() line 558 in 
/home/olivierb/SOFT/petsc-3.4.2/src/dm/impls/plex/plexfem.c
[0]PETSC ERROR: SNESComputeFunction_DMLocal() line 75 in 
/home/olivierb/SOFT/petsc-3.4.2/src/snes/utils/dmlocalsnes.c
[0]PETSC ERROR: SNESComputeFunction() line 1988 in 
/home/olivierb/SOFT/petsc-3.4.2/src/snes/interface/snes.c
[0]PETSC ERROR: SNESSolve_NEWTONLS() line 162 in 
/home/olivierb/SOFT/petsc-3.4.2/src/snes/impls/ls/ls.c
[0]PETSC ERROR: SNESSolve() line 3636 in 
/home/olivierb/SOFT/petsc-3.4.2/src/snes/interface/snes.c
[0]PETSC ERROR: main() line 582 in 
"unknowndirectory/"/home/olivierb/solvers/trunk/SandBox/PETSC/LANDSCAPE/REF/ex12.c
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 56.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

With Gbd, I saw that DMPlexGetConeSize is 0 for the last point.

Do I have forget a step to use Neumann BC ?

Thanks
Olivier Bonnefon

-- 
Olivier Bonnefon
INRA PACA-Avignon, Unité BioSP
Tel: +33 (0)4 32 72 21 58



More information about the petsc-users mailing list