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?

Could you change this to use mkstemp to get the temporary file?
Running multiple libMesh apps from the same working directory is
probably pretty rare, but it happens, and when it does there'd be a
race condition for "libmesh_temp_petsc_matrix.081702".

That temp-file-to-ofstream copy is a wonderful, horrifying hack, by
the way.
---
Roy

------------------------------------------------------------------------------
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