1
1

94 Коммитов

Автор SHA1 Сообщение Дата
Josh Hursey
46810fd155 Some fixes to get the subset of mca directories compile under Windows.
Added a special case under the win_makefile for the gpr/replica directory
since it contains multiple dependant layers of directories.

Added a couple of OMPI_DECLSPECs. Change a conflicting variable name in
gpr_replica_dict_tl.c from 'new' to 'new_dict'.

This commit was SVN r5712.
2005-05-13 16:55:14 +00:00
George Bosilca
6714dfac4e Remove all useless checks that size_t is greater or equal to zero.
This commit was SVN r5687.
2005-05-11 14:19:48 +00:00
Jeff Squyres
bcd4797389 Commit 4 of 4 for bringing the changes over from the hetero branch.
Merged in from:

svn merge -r5506:5553 https://svn.open-mpi.org/svn/ompi/tmp/hetero .

This commit was SVN r5552.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r5506
  r5553
2005-05-01 00:58:06 +00:00
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
Tim Woodall
445d20ccab remove unlock - this is done externally
This commit was SVN r5469.
2005-04-20 14:19:14 +00:00
Jeff Squyres
191f8b2781 Move the declaration up into the C_DECLS protected area (needed for
ompi_info). 

This commit was SVN r5465.
2005-04-20 13:15:41 +00:00
Jeff Squyres
c8c0ad8666 Clarification of the DEBUG stuff
This commit was SVN r5318.
2005-04-13 19:09:49 +00:00
Jeff Squyres
e761e49f14 A few minor touchups (reviewed by George and Brian).
This commit was SVN r5300.
2005-04-13 14:04:15 +00:00
George Bosilca
a9ee215d5c Manage the reference count to the items using atomic operations.
Add a field storing a pointer to the list where an item belong.

This commit was SVN r5293.
2005-04-13 05:14:21 +00:00
George Bosilca
29f27495de In debug mode add 2 field to keep information about the place (file and line number) where the object
was created (or constructed). These 2 fields get initialized in OBJ_NEW and OBJ_CONSTRUCT.

This commit was SVN r5292.
2005-04-13 05:13:03 +00:00
Jeff Squyres
4f2cf477f4 Add some error checking when OMPI_ENABLE_DEBUG. It'll slow things
down a bit, but when we're debugging, it's worth it...

This commit was SVN r5225.
2005-04-08 15:31:28 +00:00
Josh Hursey
d495f5ee62 fixed a couple comments
This commit was SVN r5194.
2005-04-06 18:38:27 +00:00
Jeff Squyres
1876ecbf23 Add missing <string.h> for memset
This commit was SVN r5084.
2005-03-29 13:25:53 +00:00
Jeff Squyres
c33fb9a5b0 Some changes to the ompi_obj_t back-end functionality (front-end
interface is unchanged):
- the first call to OBJ_CONSTRUCT and OBJ_NET on a given class is now
  thread safe 
- fix memory leaks for the vtable constructor / destructors;
  orte_finalize() makes a call to free all the memory allocated for
  that stuff.  After ompi_class_finalize(), any calls to OBJECT
  functionality will be met with a swift, painful SEGV death!

This commit was SVN r5017.
2005-03-24 22:13:05 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Jeff Squyres
997dac244e Make sure we free the right things
This commit was SVN r5000.
2005-03-23 18:45:26 +00:00
Jeff Squyres
864012cef7 Ensure to check the right thing when freeing cb's
This commit was SVN r4997.
2005-03-23 17:42:27 +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
b80698eff4 Fix a minor bug with the right rotate.
This commit was SVN r4190.
2005-01-27 18:11:36 +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
George Bosilca
20ddf644e2 The standard C (ISO C) does not allow macros returning values. Switch to an inline function.
This commit was SVN r4023.
2005-01-17 21:26:17 +00:00
Jeff Squyres
91b186234d Add more missing .h files to Makefile.am's so that distribution
tarballs can be built.

This commit was SVN r4014.
2005-01-15 03:33:02 +00:00
Tim Woodall
ea698d2165 correct includes
This commit was SVN r3919.
2005-01-07 17:59:14 +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
George Bosilca
452920ed6c Correctly handle the free list grow.
This commit was SVN r3639.
2004-11-19 21:34:17 +00:00
Brian Barrett
5ee42c2a58 * correct the installation paths of a bunch of headers
* make sure to install the libevent header
* make Automake create the sysconf_DATA directory before trying to
  install the config files

This commit was SVN r3614.
2004-11-18 03:53:42 +00:00
Rich Graham
7755ed6ad4 inline a few more functions.
This commit was SVN r3600.
2004-11-17 19:25:22 +00:00
Rich Graham
f00e702a07 inline the write to head function.
This commit was SVN r3573.
2004-11-16 04:21:30 +00:00
Rich Graham
2e6eaf6d5f code changes to support sm.
This commit was SVN r3534.
2004-11-06 22:00:24 +00:00
Edgar Gabriel
2d8d4639b4 modifying the get_value_ptr* interfaces as discussed
This commit was SVN r3438.
2004-10-29 18:38:10 +00:00
Prabhanjan Kambadur
59032bceff this is some cleanup which was breaking on windows. the atomic.h removal of STATIC INLINE macro because goerge removed its use from all files
This commit was SVN r3434.
2004-10-29 15:23:10 +00:00
George Bosilca
9ebd1fdcf2 Remove a compiler warning (explicit conversion from unsigned to signed).
This commit was SVN r3425.
2004-10-28 23:40:45 +00:00
George Bosilca
9972663a12 Pedentic changes in atomic.h :)
Correct the ompi_object_update function to work correctly with the supplied increment.

This commit was SVN r3418.
2004-10-28 22:33:40 +00:00
Prabhanjan Kambadur
c275a54c1f last set of changes which completes the win build
This commit was SVN r3414.
2004-10-28 22:21:20 +00:00
Prabhanjan Kambadur
650b04c4b4 changes:
--------
1. malloc casts to the right pointers
2. function parameter casts in the components (eg., recv requires a (char *) typecast 
   else cL compiler barfs)
3. added my own errno indirection. this is only in oob/tcp module. ompi_errno is #defined
   ro errno in unix land and to a function ompi_get_error which returns the equivalent
   error code.
4. implemented our own fcntl to prevent spaghetti coding. this currently only takes
   F_GETFL and F_SETFL arguments, does nothing on F_GETFL and sets the nonblocking 
   option on F_SETFL
5. Moved some extern declarations to global scope since the CL compiler does not do 
   the right things if they are declared and used in static inline functions.
6. Protection around some header files. changed sys/errno to errno.
7. defined in_proto_t (unsigned uint16_t) to DWORD ... comments are welcome

This commit was SVN r3394.
2004-10-28 18:13:43 +00:00
George Bosilca
8c0d5522b1 Change to the new atomic operations.
This commit was SVN r3388.
2004-10-28 17:41:10 +00:00
Tim Woodall
ee20f3c6b0 added a hash table indexed by ompi_process_name_t
This commit was SVN r3316.
2004-10-25 19:53:44 +00:00
Jeff Squyres
1c4aafba31 Replace hard-coded OMPI_FORTRAN_HANDLE_MAX with a real configure test
to determine min(INT_MAX, max fortran INTEGER value)

This commit was SVN r3305.
2004-10-23 21:08:12 +00:00
Jeff Squyres
113ce723e1 Convert all ompi_bitmap_t and ompi_pointer_array_t indexing from
size_t to int.  This is in recognition of the fact that these two
classes are primarily used for fortran<-->c convertsion of various
entities (attributes, MPI objects), and MPI defines that an int must
be used to hold MPI fortran handles.  Hence, why use size_t
internally?   See the comment in src/class/ompi_pointer_array.h for a
better description.

Mixed in a few attribute fixes in this commit as well.

This commit, therefore:
- converts the indexing from size_t to int
- changes all locations in the code that I could find that used size_t
  as the interface to ompi_bitmap_t or ompi_pointer_array_t
- convert to use OMPI_FINT_2_INT / OMPI_INT_2_FINT macros in various
  src/mpi/c/*f2c.c and src/mpi/c/*c2f.c files
- check the return code of ompi_comm_free() to ensure that everything
  worked properly before returning MPI_SUCCESS
- unified all src/mpi/c/*f2c.c functions (i.e., they all do the same
  thing)
- tie up some loose ends w.r.t. MPI_Request handling in fortran; set
  the req_f_to_c_index to MPI_UNDEFINED when it does not have a fortran
  index
- still need to add a configure test to find OMPI_FORTRAN_HANDLE_MAX
  for ompi_bitmap.c and ompi_pointer_array.c (hard-wired to INT_MAX
  right now)
- re-organized, consolidated, and unified some ompi_pointer_array.c
  code -- fixed a few minor bugs w.r.t. lowest_free (could have left
  some unintentional holes in the array)

This commit was SVN r3302.
2004-10-23 19:24:00 +00:00
Prabhanjan Kambadur
4257467fec this is the big windows commit. there are more things which have gone into this than i can remember. but basically, we are looking for
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows

This commit was SVN r3286.
2004-10-22 16:06:05 +00:00
Jeff Squyres
5b619898c8 Fix some compiler warnings
This commit was SVN r3250.
2004-10-20 22:56:33 +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
Jeff Squyres
d324a7725c - Add #if protection around non-portable system .h files
- Add #include "ompi_config.h" to all .c files, and ensure that it's
  the first #included file
- remove a few useless #if HAVE_CONFIG_H checks

This commit was SVN r3229.
2004-10-20 01:03:09 +00:00
Jeff Squyres
ceafa4d178 int->size_t fixes
This commit was SVN r3224.
2004-10-19 23:58:12 +00:00
Jeff Squyres
f8b780ab22 - Convert to OBJ interface
- Add a few more error checks
- Add a few more thing to conform to style guidelines
- int->size_t fixes
- remove some outdated error constants, use standardized ones
- make ompi_bitmap_size be inline

This commit was SVN r3223.
2004-10-19 23:53:55 +00:00
Tim Woodall
9092ffcc9e init member variables
This commit was SVN r3209.
2004-10-19 16:56:45 +00:00
Rich Graham
ba596cc476 First cut at shared memory implementation finished - not debugged,
and not working.

This commit was SVN r3203.
2004-10-18 23:24:53 +00:00
Prabhanjan Kambadur
d9e0ad22f4 file/file.c
info/info.c
group/mpi_group_init.c
communicator/comm_init.c
communicator/comm.c

This commit was SVN r3199.
2004-10-18 16:55:20 +00:00
Rich Graham
e83db5af32 save work in progress.
This commit was SVN r3049.
2004-10-11 22:56:46 +00:00