1
1
Граф коммитов

30 Коммитов

Автор SHA1 Сообщение Дата
Ralph Castain
be53d9d720 Comm_spawn stuff
This commit was SVN r3765.
2004-12-09 20:54:31 +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
1ccb5cde4d Cleanup some of the warnings reported by George.
This commit was SVN r3647.
2004-11-21 17:20:42 +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
Tim Woodall
be253609ac changes to support running a non-threaded build on oversubscribed processors
This commit was SVN r3613.
2004-11-18 01:58:30 +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
Tim Woodall
e391c90105 correct the return value to the allocated buffer - in the
case of a partial read, the iovec no longer points to the
start of the allocated buffer or the entire length of the
message

This commit was SVN r3535.
2004-11-07 03:18:00 +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
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
Tim Woodall
a222c702ec cleanup of finalize code
- unregister all event handlers from event library
- cancel pending non-blocking receives with oob

This commit was SVN r2887.
2004-09-30 15:09:29 +00:00
Tim Woodall
f3479adbea fixed a problem in mca_oob_timedwait
This commit was SVN r2648.
2004-09-14 08:06:00 +00:00
Tim Woodall
92ae84828f changed debug macro name
removed debug output

This commit was SVN r2566.
2004-09-09 19:21:34 +00:00
Tim Woodall
32fa7b9b03 added support for an oob ping command - to check availability of a given process
This commit was SVN r2541.
2004-09-08 17:02:24 +00:00
Ralph Castain
e8c36d02c9 Not as bad as this all may look. Tim and I made a significant change to the way we handle the startup of the oob, the seed, etc. We have made it backwards-compatible so that mpirun2 and singleton operations remain working. We had to adjust the name server and gpr as well, plus the process_info structure.
This also includes a checkpoint update to openmpi.c and ompid.c. I have re-enabled the ompid compile.

This latter raises an important point. The trunk compiles the programs like ompid just fine under Linux. It also does just fine for OSX under the dynamic libraries. However, we are seeing errors when compiling under OSX for the static case - the linker seems to have trouble resolving some variable names, even though linker diagnostics show the variables as being defined. Thus, a warning to Mac users that you may have to locally turn things off if you are trying to do static compiles. We ask, however, that you don't commit those changes that turn things off for everyone else - instead, let's try to figure out why the static compile is having a problem, and let everyone else continue to work.

Thanks
Ralph

This commit was SVN r2534.
2004-09-08 03:59:06 +00:00
Tim Woodall
f43f072673 - further integration w/ gpr - use synchro/subscribe to asynchronously populate
a cache of peer addresses as they come online
- resolved issues with the event library

This commit was SVN r2434.
2004-09-01 23:07:40 +00:00
Tim Woodall
7bd0f1f4b3 resolved several race conditions
This commit was SVN r2402.
2004-08-31 02:57:39 +00:00
Tim Woodall
fa2883daf0 cast iov_base
This commit was SVN r2348.
2004-08-28 02:02:31 +00:00
Tim Woodall
09192b32b4 fix for threaded case
This commit was SVN r2345.
2004-08-28 01:34:48 +00:00
Tim Woodall
16d250b376 - integration of gpr/ns/oob w/ mpirun2
This commit was SVN r2344.
2004-08-28 01:15:19 +00:00
Tim Woodall
3d754c4941 - modifications to oob to support bringing up oob before anything else (ns)
- changed ns/gpr to register callback in component init (and ignore errors if not supported)

This commit was SVN r2303.
2004-08-25 17:39:08 +00:00
Tim Woodall
a2bc814a08 OOB API changes:
- removed send_hton/recv_ntoh routines as we now have send_packed/recv_packed 
- removed constness from apis
- adding flag (in work) to allow recv to allocate and return recv buffer
- updated edgars communicator code to use pack routines rather than ntoh routines

This commit was SVN r2095.
2004-08-12 22:41:42 +00:00
Tim Prins
593b0542ae Comments and doxygen updates to the oob.
This commit was SVN r1993.
2004-08-09 23:07:53 +00:00
Tim Prins
d2df4acb65 Get rid of some annoying compiler warnings.
This commit was SVN r1898.
2004-08-05 15:30:36 +00:00
Tim Prins
fe9f18c03b bug fixes:
-properly initialize variables in the oob_tcp_msg struct
-properly close peer sockets in the tcp oob
-fix compare in bucket allocator to use the correct variable
-remove duplicate free in teg

-updated the oob tests
-add more output to tcp oob when there are failures

This commit was SVN r1866.
2004-08-04 14:33:02 +00:00
Tim Woodall
9280e182f5 - changed oob i/f functions to accept tag parameter
- tcp implementation in progress
- changed calls to oob to reflect additional parameter

This commit was SVN r1839.
2004-08-02 21:24:00 +00:00
Tim Prins
02b99c1971 more changes to the tcp oob:
- changed the msg structure so it has a pointer to the process name
  and not the peer structure. This was done because on the receive side
  once a message has been read in it is no longer associated with a peer
  but rather just a process name.
- changed the lookup function to include a bool to determine whether to
  get the main tcp oob lock or not. This is useful if the caller already
  holds the lock.
- first cut of recv functions
- documentation updates

This commit was SVN r1747.
2004-07-15 19:08:54 +00:00
Tim Prins
8b836b72ff Lots of changes to the tcp oob:
- almost finished the send side of the oob
- added the lists that will hold the posted recieves and the
  actual recieves
- made it so we send an addition iovec first that contains the
  size of the total message so we can recieve into a temporary buffer
  before the user has posted a recieve

This commit was SVN r1736.
2004-07-15 13:51:40 +00:00
Tim Woodall
8c1f2a1a68 work in progress
This commit was SVN r1648.
2004-07-12 22:46:57 +00:00