<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Jun 2018, at 10:52, Chris Stevens <<a href="mailto:c.stevens@ru.ac.za" class="">c.stevens@ru.ac.za</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hi everyone,</p><p class="">I am currently debugging some code and have been printing out
(using either CCTK_INFO and/or printf) debugging information at
particular grid points (LOCAL mode).</p><p class="">From what I can tell, Cactus only allows output from one process,
say rank 0, to stop flooding of the output by printing everything
once per process. However if I am wanting data from a particular
grid point, and this grid point is not in the printing process,
nothing will output.</p><p class="">I have been getting around this by turning off MPI (fine for one
iteration or so) but now I am doing longer runs I need to be able
to print out this information with MPI.</p><p class="">Thus my question:</p><p class="">How can you force Cactus to print out a statement from any
process?<br class=""></p></div></div></blockquote><div><br class=""></div><div>Add -roe to the Cactus command line and you will get separate output and error files from each process.</div></div><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">-- <br class="">Ian Hinder<br class=""><a href="https://ianhinder.net" class="">https://ianhinder.net</a><br class=""></div></div>
</div>
<br class=""></body></html>