[petsc-dev] -info from just one process?
Mark Adams
mfadams at lbl.gov
Fri Apr 23 07:03:43 CDT 2021
On Thu, Apr 22, 2021 at 1:45 PM Barry Smith <bsmith at petsc.dev> wrote:
>
> It would be straightforward to add an option to -info to output only
> from a particular MPI_COMM_WORLD global rank.
>
> Maybe an extra :rank at the end of the info options?
>
> Open 128k files is nuts.
>
Yep, and Fugaku can't deal with 128K MPI ranks then it should love 128K
files
>
> Barry
>
> On Apr 22, 2021, at 11:14 AM, Mark Adams <mfadams at lbl.gov> wrote:
>
> OK, so -info out.%p would do what I asked. Alas, what I really need it to
> reduce the output with 128K processes.
> Thanks,
>
> On Thu, Apr 22, 2021 at 11:54 AM Pierre Jolivet <pierre at joliv.et> wrote:
>
>>
>>
>> On 22 Apr 2021, at 5:33 PM, Jacob Faibussowitsch <jacob.fai at gmail.com>
>> wrote:
>>
>> Not out of the box no. There is -info ::self which makes info only print
>> from calls made on PETSC_COMM_SELF, but I don’t think that’s what you want.
>> Best advice would be to print to a file and grep the file for any lines
>> starting with the rank number you want.
>>
>>
>> There is no need for grep, IMHO, just do -info file and then open file.%p
>>
>> Thanks,
>> Pierre
>>
>> Best regards,
>>
>> Jacob Faibussowitsch
>> (Jacob Fai - booss - oh - vitch)
>>
>> On Apr 22, 2021, at 10:16, Mark Adams <mfadams at lbl.gov> wrote:
>>
>> Can I make -info only print from one process?
>> Mark
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20210423/578f264b/attachment-0001.html>
More information about the petsc-dev
mailing list