[petsc-dev] DMGetOutputDM hangs on multiple procs

Sander Arens Sander.Arens at ugent.be
Tue Jul 26 06:22:32 CDT 2016


Hi Matt,

Could you please change MPI_LAND into MPI_LOR in the MPI_Allreduce function?

Thanks,
Sander

On 13 July 2016 at 12:21, Sander Arens <Sander.Arens at ugent.be> wrote:

> Ah, great! Thanks, Matt.
>
> On 13 July 2016 at 04:44, Matthew Knepley <knepley at gmail.com> wrote:
>
>> On Thu, Jun 23, 2016 at 8:33 AM, Matthew Knepley <knepley at gmail.com>
>> wrote:
>>
>>> On Thu, Jun 23, 2016 at 5:46 AM, Sander Arens <Sander.Arens at ugent.be>
>>> wrote:
>>>
>>>> I noticed that DMGetOutputDM hangs when using multiple procs. The
>>>> culprit is
>>>> https://bitbucket.org/petsc/petsc/commits/c26acbdef0eedda92db6423afb8b38a1502ca0c8.
>>>>
>>>> This doesn't work when one or more procs don't have any constraints
>>>> while others have, because the ones with constraints call DMClone
>>>> (collective) while the other procs don't.
>>>>
>>>
>>> Yep, will have to make the constraint logic global. I can do this at the
>>> PETSc Meeting
>>> next week in Vienna.
>>>
>>
>> My timing was off, but the fix is in 'next' if you want to try it.
>>
>>   Thanks,
>>
>>      Matt
>>
>>
>>>   Thanks,
>>>
>>>     Matt
>>>
>>>
>>>> Thanks,
>>>> Sander
>>>>
>>>
>>>
>>>
>>> --
>>> What most experimenters take for granted before they begin their
>>> experiments is infinitely more interesting than any results to which their
>>> experiments lead.
>>> -- Norbert Wiener
>>>
>>
>>
>>
>> --
>> What most experimenters take for granted before they begin their
>> experiments is infinitely more interesting than any results to which their
>> experiments lead.
>> -- Norbert Wiener
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160726/18dc5b46/attachment.html>


More information about the petsc-dev mailing list