ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 22 forks source link

Logic difference between asynchronous and synchronous parallel ghost filling routine #138

Closed donnaaboise closed 6 years ago

donnaaboise commented 6 years ago

Async routine shows bitwise equality for runs on different processor counts, whereas synchronous algorithm shows differences. Figure this out!

donnaaboise commented 6 years ago
donnaaboise commented 6 years ago

Problem was that some work has to be done before sending local patches on proc border to remote processors. Coarse grid regions on the processor boundary must be filled. They were filled in the async case, but not in the sync. case. Simple to move the communication call after these coarse grid cells on the boundary have been filled.