<div class="gmail_extra">On Thu, May 3, 2012 at 10:33 PM, Cinstance <span dir="ltr"><<a href="mailto:cinstance@gmail.com" target="_blank">cinstance@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">
I am using PETSC as the linear solver for a CFD project. It is part of
an integrated frame work, and the project is developed under MS Windows.
<br><br>I use PETSC as prebuild libs in Visual Studio, so I cannot debug into PETSC code (at least for now I
haven't figured out how to). What make it worse is that the framework
ignored all the PetscPrintf messages. This leaves me in total darkness.<br>
<br>The framework has its own printf derived method. Is there a way to
pass it as a function pointer to petsc for it to use for printing stuff.
Does it have a way to pass on this? <br></blockquote><div><br></div><div>You really do not want to do this. PetscPrintf() is just a think wrapper around printf().</div><div><br></div><div>However, after years of development. This is the huge, waving red flag where you change</div>
<div>development practice since it is sapping 90% of your useful energy. If the company does</div><div>not realize that, quit. They are not world-beaters.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks,<br>Lesong</blockquote></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>
</div>