Skip to content

Redirecting libmesh and PETSc stdout/stderr #3040

Answered by jwpeterson
rebpoli asked this question in Q&A
Discussion options

You must be logged in to vote

To redirect libmesh output, you should pass --keep-cout --redirect-output on the command line. This will write all output to files called "log.processor.N" by default, where N is the processor rank. Regarding PETSc output, I don't believe this will be affected by our redirecting of std::cout because their print statements are (at some level) based around using C printf statements.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jwpeterson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants