[petsc-users] Problem with MPI_Allreduce

Praveen C cpraveen at gmail.com
Tue Sep 18 10:07:01 CDT 2018



> On 18-Sep-2018, at 8:19 PM, Balay, Satish <balay at mcs.anl.gov> wrote:
> 
> This warning will go away if you change the code to:
> 
> ierr = MPI_Allreduce(&lamx, &lambdax, 1, MPI_DOUBLE, MPI_MAX, PETSC_COMM_WORLD);CHKERRQ(ierr);
> 
> And its best to run code in gdb or valgrind to track down the crash.
> 
> Satish

Thank you, this fixed the warnings. There was some other bug in my code.

Best
praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180918/4fb272ea/attachment-0001.html>


More information about the petsc-users mailing list