[petsc-dev] PetscFinalize broken with -options_table ?
Václav Hapla
vaclav.hapla at vsb.cz
Tue Mar 11 09:27:25 CDT 2014
FWICS PetscFinalize in petsc-current contains the following bug.
It calls
PetscObjectRegisterDestroyAll()
and after that, if -options_table is present, it calls
PetscViewerASCIIGetStdout(PETSC_COMM_WORLD,&viewer);
PetscOptionsView(viewer);
causing
[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: Only supports ASCII viewer!
because the viewer is destroyed already by PetscObjectRegisterDestroyAll.
I haven't tested petsc-dev but I can see in it's the same situation in
the pinit.c source.
Best regards,
Vaclav
--
Vaclav Hapla
Junior researcher / PhD student
IT4Innovations <http://www.it4i.eu/> / Dept. of Applied Mathematics
<http://am.vsb.cz/>
_office PI 328_
tel.: (+420) 597 329 078
Podnikatelsky inkubator VSB-TUO
Studentska 6202/17
708 00 Ostrava-Poruba
Czech Republic
_contact address_
IT4Innovations
VSB - Technical University of Ostrava
17. listopadu 15/2172
708 33 Ostrava-Poruba
Czech Republic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140311/15c1a9c8/attachment.html>
More information about the petsc-dev
mailing list