[petsc-users] MPI_AllReduce vs VecScatterCreateToAll

Robert Ellis Robert.Ellis at geosoft.com
Mon Nov 7 22:42:25 CST 2011


Hello Petsc Developers,

I have a predominantly Petsc application but for simplicity it uses a very few MPI_AllReduce calls. I am finding that the MPI_AllReduce operations are sometimes causing problems (appears to be semaphore time outs) if the interprocess communication is slow. I never have any problem with the Petsc operations. Is it reasonable that Petsc would be more robust that MPI_AllReduce?

Also, is the VecScatterCreateToAll set of operations the best way to replace the MPI_AllReduce?

Thanks for any advice,
Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111108/a7bc28b3/attachment.htm>


More information about the petsc-users mailing list