[Beowulf] mpich2 mutex
gropp at mcs.anl.gov
Fri Jul 29 11:21:54 PDT 2005
At 04:31 PM 7/28/2005, Ik Ben wrote:
>I'm reading the book Using MPI-2 of William Gropp .
>In the book they explains how to create a mutex for RMA using the
>They speek about the functions MPE_Counter_nxtval etc... to create the mutex.
>I'm french and have it very difficult to merge the necessary pieces
>Can someone please show an example of the minimum code for creating a
>mutex using mpi-2 (planning to use Suse, but I don't think that this
The implementation of fetch and add with the scalable tree approach is
(thanks to Rajeev Thakur) included in the MPICH2 tests in the file
mpich2/test/mpi/rma/fetchandadd_tree.c . The simpler but non-scalable
version is available in fetchandadd.c in the same directory.
>I know that this seems like I'm to lazy to do my own homework, but it's
>Thanks in advance;
>Beowulf mailing list, Beowulf at beowulf.org
>To change your subscription (digest mode or unsubscribe) visit
More information about the Beowulf