1
1

6 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
e23ab15da1 - Make attributes thread safe. Design decision: attributes are so far
away from the critical performance path that we do not attempt to
  provide fancy / fine-grained locking at all.  There is one global
  lock that protects most attribute actions.  Since attribute actions
  are non-blocking in nature, this will not cause deadlock.
- Fix a problem where attributes could get deleted from a communicator
  before the communicator was actually released.

This commit was SVN r3136.
2004-10-14 18:06:40 +00:00
Jeff Squyres
101a83ab5f Change attribute hashes to only be non-NULL on MPI objects that
actually have attributes cached on them.  If there are no attributes
cached on the object, the keyhash will be NULL.

This commit was SVN r2968.
2004-10-07 01:26:40 +00:00
Jeff Squyres
208b8410ba Bunches of fixes for attributes, particularly in terms of language
interoperability

This commit was SVN r2793.
2004-09-21 19:52:19 +00:00
Brian Barrett
41e17e2758 * rename pack.{c,h} to bufpack.{c,h} because there was already a pack.c in
src/mpi/c and you can't have two object files with the same name in
  the same library

This commit was SVN r2782.
2004-09-20 19:55:01 +00:00
Jeff Squyres
c85f931ae5 - query the daemon in a persistent universe to find out how many app
slots we have to fill in MPI_UNIVERSE_SIZE
- in a non-persistent universe, just use the size of COMM_WORLD for
  MPI_UNIVERSE_SIZE.  Note the comment in the file, however, I don't
  think that this is sufficient -- e.g., reserve 8 CPUs in a batch
  environment and then run "./master" -- UNIVERSE_SIZE should still be
  8, even though we don't have a persistent universe.  So more
  integration is necessary here.
- removed some debugging printfs and added a forgotten error condition

This commit was SVN r2751.
2004-09-18 10:04:31 +00:00
Jeff Squyres
eb4279559e Some fixes for the attribute code:
- move the attribute init section in ompi_mpi_init() down below where
  communicators are setup (we need MPI_COMM_WORLD to be setup before
  attributes and keyvals are setup)
- removed confusing extra wrapper class around ompi_hash_table_t;
  looks like it was a victim of slow eroding of members so I put took
  it out back and put it out of its misery
- added preliminary definitions for all the pre-defined keyvals.
  Still need more work here to assign their initial values, but I
  think Edgar was running into an atrribute problem and it may have
  been that the pre-defined attrs didn't yet exist.
- removed some LAM-specific predefined keyvals from mpi.h

This commit was SVN r2695.
2004-09-16 00:00:09 +00:00