On Fri, Mar 11, 2011 at 1:25 AM, Tim Kroeger
<[email protected]> wrote:
> On Thu, 10 Mar 2011, John Peterson wrote:
>
>> The attached patch makes PetscMatrix::print_personal() print to file.
>> Would you try it out and see if that works for you?
>
> Your patch makes it even more difficult to write to a file in parallel,
> because my trick to open the file on one processor and use std::cout on the
> others confuses your method in that way that you create your custom
> PetscViewer on the first processor but call
> MatView(...,PETSC_VIEWER_STDOUT_SELF) on all other processors.  This causes
> PETSc to crash.

If you have been using a hack (passing a file on one processor and
std::cout on the others) then you should stop using that hack before
you try out the new patch...

-- 
John

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to