[Developers] parfile-error warnings
Baiotti Luca
baiotti at ea.c.u-tokyo.ac.jp
Tue Nov 25 16:51:22 CST 2008
Erik Schnetter wrote:
> On Nov 8, 2008, at 14:59:34, Baiotti Luca wrote:
>
>> Hello,
>>
>> warnings like:
>>
>> CCTKi_SetParameter: Error at line 11 in parameter file ....par while
>> activating thorns
>> WARNING level 0 in thorn Cactus processor 277 host qb540
>> (line 93 of
>> /home/baiotti/Cactus/configs/whisky/build/Cactus/main/SetParams.c):
>> ->WARNING level 0 in thorn Cactus processor 131 host ...
>>
>>
>> are printed by each processor. If all processors read the same parfile,
>> could Cactus print only one warning/error message instead of one per
>> processor?
>
> The idea here (and in other, similar places) in Cactus is that warnings
> generated by any processor are displayed on the root processor, since
> warnings are important.
>
> What you are probably looking for is a possibility to display a warning
> only on the root processor. One could implement this here quickly with
> an if statement about the CCTK_WARN call. A more general mechanism
> would be more complex if it has to ensure that no warnings are lost.
Yes, I would like warnings that are identical on all processors to be
displayed only once on the root processor. Or at least the warnings
about parfile errors.
> Another annoying message is the very first message "setting warning
> level to...", displayed 12288 times if running on that many processors.
Could some cactus developer implement these improvements?
Ciao,
Luca
More information about the Developers
mailing list