[Beowulf] mpich2 mutex
Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.
William Gropp gropp at mcs.anl.govFri Jul 29 11:21:54 PDT 2005
- Previous message: [Beowulf] mpich2 mutex
- Next message: [Beowulf] Infiniband Configuration Options
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 04:31 PM 7/28/2005, Ik Ben wrote: >Hi, >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 >lock/unlock method. >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 >together correctly. > >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 >matters...). 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. Bill >I know that this seems like I'm to lazy to do my own homework, but it's >not..... > >Thanks in advance; >Gilles Roman. > >_______________________________________________ >Beowulf mailing list, Beowulf at beowulf.org >To change your subscription (digest mode or unsubscribe) visit >http://www.beowulf.org/mailman/listinfo/beowulf William Gropp http://www.mcs.anl.gov/~gropp
- Previous message: [Beowulf] mpich2 mutex
- Next message: [Beowulf] Infiniband Configuration Options
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Beowulf mailing list
