From: Omri Schwarz <omri@byophisycs.lanl.gov>
Newsgroups: comp.parallel.mpi
Subject: Shared Memory with MPI [Question from an uninitiated one]
Date: Mon, 24 Aug 1998 11:30:02 -0600
Organization: Los Alamos National Laboratory
Message-Id: <35E1A319.9B5EB747@byophisycs.lanl.gov>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hi, looking all around my MPI refs, ["Using MPI", the HP manual,
URL's all around] I could find refs on how to simulate shared memory,
but not on how
to use it. My code constantly refers to, but does not modify, a huge
array,
but the processors should be able to refer to the same memory block.
Unfortunately, while chapters abound on how to construct the right
datatype
and send it in a message, I could find nothing on how to just pass a
pointer.
Could anyone please tell me how that might be accomplished?

Apologies if the answer is staring me in the face.
Multiple answers will be compiled and posted;
please CC replies to omri 'at' biophysics 'dot' lanl 'dot' gov

Thatnks in advance.

Omri Schwarz,
Unfrozen Caveman Parallel Programmer.

