1
1

45 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
462adee81a Commit 1 of 4 to bring in the hetero branch to the trunk. Merged in
from:

svn merge -r5440:5448 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5549.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5440
  r5448
2005-05-01 00:47:35 +00:00
George Bosilca
3f89dc79e2 Protect the mutex declarations. They should be undeclared except if the threads are enabled.
Additionally it remove some compilation warnings.

This commit was SVN r5489.
2005-04-22 04:52:40 +00:00
Jeff Squyres
90e9b6ca14 - Name all the parameters in the fortran attribute callbacks to be
less confusing (when you have 5-6 parameters, it's easy to mis-count
  and have the wrong type if you don't have the associated names).
- Use proper types for the fortran callbacks
- Simplify the predefined Fortran attribute callbacks; do the work
  right there rather than calling the predefined C attribute callbacks
  (which would simply require further FINT_2_INT / INT_2_FINT
  translation anyway)

This commit was SVN r5038.
2005-03-26 04:03:54 +00:00
Jeff Squyres
99628f4535 - Ensure to call fortran functions with properly-converted parameters
- Ensure to return properly if we error in the fortran callbacks
- Don't bump the refcount of attributes an extra 1 when we create
  them; this just ensures that we never really delete them (oops)

This commit was SVN r5037.
2005-03-26 04:01:43 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
77c65d69cc * Merge changes from tim branch from r 4821 to 4892. Tree can now run
MPI and non-ORTE applications for RSH on one node with or without
  threads.  I think we're approaching convergence with the tim branch

This commit was SVN r4895.
2005-03-18 03:43:59 +00:00
Brian Barrett
6822a519bb * results from initial merge of the tim branch into the trunk. Compiles and
ompi_info works, but that's all that has been tested.

This commit was SVN r4827.
2005-03-14 20:57:21 +00:00
Jeff Squyres
76f2125c98 Fix some compiler warnings (specifically, from icc v8.0)
This commit was SVN r4093.
2005-01-21 13:54:38 +00:00
Jeff Squyres
3966e30902 Remove every part of MPI-2 one-sided functionality from the tree with
#if OMPI_WANT_MPI2_ONE_SIDED and some automake conditionals.  Also had
to add some AC_SUBSTs to eliminate part of mpif.h (otherwise the
"external" statements would have made undefined symbols).

All the MPI-2 one-sided functionality (including the skeleton
top-level MPI API functions that only invoke an MPI exception) can be
re-enabled with --enable-mpi2-one-sided.

This commit was SVN r3802.
2004-12-14 02:35:03 +00:00
Ralph Castain
5e560cb148 Fix a problem that affected attributes - we were missing the vm_register function call.
This commit was SVN r3692.
2004-12-03 21:05:22 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
Ralph Castain
bf9087d9d1 The merged main trunk and gpr integration branch. Tested on Mac only so far - will check out and test on Linux. If that has a problem, will back all changes out (again), but I think we have this one correct. Will send out a more complete change notice once testing is complete.
This commit was SVN r3644.
2004-11-20 19:12:43 +00:00
Brian Barrett
23a6d5bb60 * roll back r3584 (gpr changes to reduce floods) as it appears to cause
some instability on Linux

This commit was SVN r3587.

The following SVN revision numbers were found above:
  r3584 --> open-mpi/ompi@52add381d0
2004-11-17 02:30:07 +00:00
Brian Barrett
52add381d0 * Merge over the gpr changes Ralph has made on the gpr-integration branch.
This may trigger a complete rebuild :(.  Short overview of changes:

  - reduce number of network slams at startup
  - prevent gpr from hanging when doing process death code
  - general gpr cleanups

This commit was SVN r3584.
2004-11-16 22:53:33 +00:00
George Bosilca
9659288e74 I hate waiting on the airports. SO I start doing something usefull ...
I remove a lot of inter-dependence, I use the struct_t type.
BEWARE not all the function are ready.

This commit was SVN r3524.
2004-11-05 07:52:30 +00:00
Edgar Gabriel
b082c714ef adapting attributes to the new hash_table interfaces
This commit was SVN r3439.
2004-10-29 18:38:30 +00:00
Jeff Squyres
bba9b27575 - Be sure to unlock, even in error cases
- Be sure to propagate errors upward in the case of copy_all() and
  delete_all() 

This commit was SVN r3249.
2004-10-20 22:55:53 +00:00
Prabhanjan Kambadur
dac14aaf94 committing the header file fixes for protection against C++ name mangling. This is a hge commit. Please make sure that your files are protected right. There is some redundan protection in that the protection has been added right at teh beginning and at teh end ion some cases even thught typedefs are not requred to be protected. But this was done in order to have teh minimal change to the code base
This commit was SVN r3246.
2004-10-20 22:31:03 +00:00
Brian Barrett
cc44f2abc2 * Make the spawn constants slightly more clear in meaning
* fix typo in error message for spawning processes
* Remove the name field from the global ompi_process_info struct, replacing
  usage with calls to ompi_rte_get_self().  Cleaned up the resulting logic
  in ompi_rte_init() to make it slightly simpler when dealing with the
  singleton case.  Reduces data duplication and I believe fixes bug
  #1009 as a nice side effect.

This commit was SVN r3230.
2004-10-20 02:24:40 +00:00
Jeff Squyres
ceafa4d178 int->size_t fixes
This commit was SVN r3224.
2004-10-19 23:58:12 +00:00
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
Jeff Squyres
f08dab6638 Set *flag = 0 very early so that it's always 0, even if we return in
error

This commit was SVN r2788.
2004-09-21 00:26: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
8699fa86b2 - remove some printf's
- when copyying all attributes, if the callback function returns
  flag==0, don't copy the attribute

This commit was SVN r2733.
2004-09-16 23:54:01 +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
Jeff Squyres
7f83536f7a Fix a bunch of RUI's and ensure that all the Right functions are
invoked from the various finalize functions so that we don't have
resource leaks

This commit was SVN r2374.
2004-08-29 09:05:14 +00:00
Jeff Squyres
5e5042613f *really* rename the project to "openmpi". :-)
This commit was SVN r1370.
2004-06-17 18:21:08 +00:00
Vishal Sahay
2eb37a7c43 Handle Fortran stuff
This commit was SVN r1311.
2004-06-16 15:17:43 +00:00
Jeff Squyres
3772597c82 Add proper function signature to prototypes
This commit was SVN r1203.
2004-06-07 23:02:10 +00:00
David Daniel
563ac2a338 First pass of lam -> ompi conversion
This commit was SVN r1191.
2004-06-07 15:33:53 +00:00
Vishal Sahay
e68b17ec3d Few modifications about error code and some unused variable removal
This commit was SVN r1170.
2004-05-30 16:43:43 +00:00
Vishal Sahay
48d8dc1e2a Change some doxy comments
This commit was SVN r1169.
2004-05-30 16:24:20 +00:00
Vishal Sahay
4df4d27378 Clean up and modify some code
This commit was SVN r1168.
2004-05-30 16:21:44 +00:00
Vishal Sahay
e51724a75f Return the actual error code from the copy and delete function pointers instead of just LAM_ERROR, since these functions may need to specify some special error code which need to be propagated to the top level, as suggested by Edgar.
This commit was SVN r988.
2004-03-27 02:50:53 +00:00
Vishal Sahay
49c3d1e1ec Fix warnings due to improper signedness
This commit was SVN r980.
2004-03-26 16:18:55 +00:00
Brian Barrett
1cd0bbdbbf Number of small changes to fix compile warnings. Most of these should be
completely harmless

This commit was SVN r969.
2004-03-26 05:00:29 +00:00
Vishal Sahay
7bb2e7e3ba Add functionality to copy/delete all attributes at once, to be used by functions like MPI_*_DUP, MPI_*_FREE
This commit was SVN r953.
2004-03-23 23:44:53 +00:00
Vishal Sahay
af4a977a21 Change references to keyhash according to the comm/datatype/win object -- append a prefix to keyhash in the respective structure
This commit was SVN r938.
2004-03-19 16:34:09 +00:00
Jeff Squyres
aa8ef8bd0a Build system mods for the new directory organization
This commit was SVN r879.
2004-03-17 19:06:06 +00:00
David Daniel
7f8c2c3714 Updating header file names after the great directory reorganization.
This commit was SVN r877.
2004-03-17 18:45:16 +00:00
Jeff Squyres
1b67211597 Massive directory reorganization :-)
This commit was SVN r872.
2004-03-17 17:42:19 +00:00