Re: globalValue in parallel

2016-04-27 Thread Keller, Trevor (Fed)
Looking into the rest of the FiPy source, we're already calling allgather(sendobj) in several places, and rarely calling allgather(sendobj, recvobj). To preserve the existing function calls (all of which are lower-case) and mess with the code the least, removing the recvobj argument appears to

Re: globalValue in parallel

2016-04-27 Thread Guyer, Jonathan E. Dr. (Fed)
It sounds like you're volunteering to put together the pull request with appropriate tests > On Apr 27, 2016, at 4:06 PM, Keller, Trevor (Fed) > wrote: > > The mpi4py commit mentions that the receive object is no longer needed for > the lower-case form of the

Re: understanding convection terms

2016-04-27 Thread Daniel Wheeler
On Tue, Apr 26, 2016 at 10:57 AM, Kris Kuhlman wrote: > Daniel, > > Thank you. I am a bit surprised that the CentralDifference basically matches > the hybrid method, and is more accurate than upwind. Remember that central difference is second order accurate. The

globalValue in parallel

2016-04-27 Thread Kris Kuhlman
I built the trilinos-capable version of fipy. It seems to work for serial (even for a non-trivial case), but I am getting errors with more than one processor with a simple call to globalValue(), which I was trying to use to make a plot by gathering the results to procID==0 I used the latest git