<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 01/02/13 17:53, Jed Brown wrote:<br>
</div>
<blockquote
cite="mid:CAM9tzSmszw7xM98yrHnKm5OQib+8RaQ2FzYSmmbg2s4=8LrPXA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">On Wed, Jan 2, 2013 at 10:47 AM, Hoang
Giang Bui <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:hgbk2008@gmail.com" target="_blank">hgbk2008@gmail.com</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">That's great. Thank
you very much.<br>
<br>
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.</div>
</blockquote>
</div>
<br>
</div>
<div class="gmail_extra">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<br>
<br>
PETSC_ARCH=arch2 ./ex1.py</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra" style="">to select at run-time.
(Normally arch1 might be debugging while arch2 is optimized,
or maybe a different compiler or MPI implementation.)</div>
</div>
</blockquote>
<br>
Works nicely, thanks.<br>
<br>
Giang<br>
<br>
</body>
</html>