On Tue, 21 Feb 2012, Dmitry Karpeev wrote:

> What's the right way of doing I/O when running in parallel?
> I heard a rumor of something like a libMesh:out stream that does the right
> thing (I'm guessing, send to rank 0 and print?),
> but I can't find anything like that.

By I/O you just mean low bandwidth buffered terminal messages?

libMesh::out and libMesh::err are useful because there are command
line options to play with redirecting them, but by default they
basically just spit to cout (which gets disabled except on rank 0) and
cerr (which gets to rank 0 somehow, in some random order; see your MPI
stack for details) and then printed.
---
Roy

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to