[Users] Printing values when using MPI

Chris Stevens c.stevens at ru.ac.za
Tue Jun 19 05:29:42 CDT 2018


Hi Ian,

thanks for that, much appreciated!

Chris


On 06/17/2018 11:21 PM, ian.hinder at aei.mpg.de wrote:
>
>
>> On 17 Jun 2018, at 10:52, Chris Stevens <c.stevens at ru.ac.za 
>> <mailto:c.stevens at ru.ac.za>> wrote:
>>
>> Hi everyone,
>>
>> 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).
>>
>> 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.
>>
>> 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.
>>
>> Thus my question:
>>
>> How can you force Cactus to print out a statement from any process?
>>
>
> Add -roe to the Cactus command line and you will get separate output 
> and error files from each process.
>
> -- 
> Ian Hinder
> https://ianhinder.net
>

-- 
Dr Chris Stevens

Claude Leon Postdoctoral Fellow

Department of Mathematics

Rhodes University

Room 5

Ph: +27 46 603 8932

Web: www.chrisdoesmaths.com <http://www.chrisdoesmaths.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20180619/45c8b721/attachment.html 


More information about the Users mailing list