[petsc-users] problem running petsc4py

Hoang Giang Bui hgbk2008 at gmail.com
Wed Jan 2 11:26:07 CST 2013


On 01/02/13 17:53, Jed Brown wrote:
> On Wed, Jan 2, 2013 at 10:47 AM, Hoang Giang Bui <hgbk2008 at gmail.com 
> <mailto: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.)

Works nicely, thanks.

Giang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130102/e3f9d0a2/attachment.html>


More information about the petsc-users mailing list