[MPICH] "Using MPI-2" authors implementation of Global Arrays

peter_raeth at juno.com peter_raeth at juno.com
Fri Sep 28 08:43:56 CDT 2007


At issue still is that ga_destroy_mutexes calls MPI_Lock_free. I've downloaded the latest MPICH2 and included mpi.h but that call is not defined at compile time.

In ga_mutex, calls to MPE_Mutex_create are sending 3 arguments. But, the version of that call in shmem only takes 2 arguments. It appears that the book's authors had a different definition in mind. The authors enable multiple mutexes to be created at one time, whereas shmem creates them one at a time. Same for mutex destruction.

Some code modifications to ga_mutex would reconcile that code block with shmem but it might be better to get the authors' original definitions of MPE calls that do not appear in the MPE library.

Will continue to work on this since it would create a good general capability to use mutexes with independent cluster processes in the same way mutexes are used for threads.





More information about the mpich-discuss mailing list