[petsc-users] problem running petsc4py
Jed Brown
jedbrown at mcs.anl.gov
Wed Jan 2 10:53:31 CST 2013
On Wed, Jan 2, 2013 at 10:47 AM, Hoang Giang Bui <hgbk2008 at gmail.com> wrote:
> That's great. Thank you very much.
>
> Anyway. How do you have the Traceback functionality? I already compiled
> petsc --with-debugging=1 but the error still shown as I haven't set it.
>
You probably didn't configure petsc4py to use the debugging PETSC_ARCH. You
can use ./setup.py build --petsc-arch=arch1:arch2:arch3; ./setup.py install
--prefix=...; and then
PETSC_ARCH=arch2 ./ex1.py
to select at run-time. (Normally arch1 might be debugging while arch2 is
optimized, or maybe a different compiler or MPI implementation.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130102/44afe056/attachment.html>
More information about the petsc-users
mailing list