It is about MPI_win. Here is the
problem as it relates to MPI (it is a Boltzmann type equation).
There are N particles interacting with each other. Interaction is
directional, so that a particle interacts only with those
particles, which are within a narrow cone. The first step is to
segregate the initial set of N particles into subsets of
particles� (I called it 'objects'),� which interact with each
other. Here is what I do:
- Assign each object to a process.
- The process which owns a object:
- Makes a guess for the maximum number of particles expected
in this object.
- Allocates memory for it.
- Opens a shared window.
- All processes
- Each particle identify which object it belongs to, and
PUTs its data there.
- After assembly is done, objects are passed to a solver.
- Repeat
What do you mean with: "Why can�t all processes open one large
window?" I guess I miss something.
Thanks,
--Ted
On 05/21/2014 11:03 PM, Balaji, Pavan wrote:
On May 21, 2014, at 6:02 PM, Ted Sariyski <tsariysk@craft-tech.com> wrote:
Memory limitations. With one large window all processes have to allocate memory for the objects they own as well as for objects assigned to other process.
Are we talking about the same thing here? I�m referring to an MPI_Win. What objects do processes need to keep track of?
� Pavan
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss