Shiqing Fan
066d5fb9d7
The standard does not imply that the contents of the buffer should be defined/addressable at this point. Remove the buffer checks in these functions.
...
This commit was SVN r23988.
2010-11-03 09:36:24 +00:00
Shiqing Fan
a7dc32afb0
Remove the OPAL_DECLSPEC for the event functions.
...
This commit was SVN r23987.
2010-11-03 09:10:12 +00:00
Rolf vandeVaart
1b231f7e73
More miscellaneous cleanup of bfo.
...
This commit was SVN r23986.
2010-11-02 20:11:47 +00:00
Shiqing Fan
505efbaa27
Update the CMake scripts, solve a few export symbols for Windows.
...
This commit was SVN r23976.
2010-11-02 16:39:27 +00:00
Jeff Squyres
9c15a30b75
Really fix the libevent make distcheck problem. The main issue is how
...
libevent creates its event-config.h during "make all" (vs. during
configure). The prior method around this didn't work because it wrote
an event-config.h.in in the source tree -- a Bad Idea(tm). The new
way uses AC_CONFIG_COMMAND to get stuff executed at the end of
config.status to create event-config.h. This seems to work properly
during make distcheck.
This commit was SVN r23975.
2010-11-01 23:28:50 +00:00
Rolf vandeVaart
c23b26a66f
Add a function to debug messages stuck in queues.
...
Change all tabs to spaces.
This commit was SVN r23974.
2010-11-01 14:23:34 +00:00
Jeff Squyres
6bd41cf5d8
Fixes for vpath builds; this should enable 'make dist' again.
...
This commit was SVN r23973.
2010-10-29 22:07:52 +00:00
Jeff Squyres
22496c774c
Ensure to unalias some popular aliases so that this script doesn't get
...
hung waiting for stdin input
This commit was SVN r23970.
2010-10-29 13:37:19 +00:00
Ralph Castain
875a6d61a4
Return correct status code
...
This commit was SVN r23969.
2010-10-29 00:43:50 +00:00
Ralph Castain
0171e05942
Only add include paths for event headers if --with-devel-headers was specified
...
This commit was SVN r23968.
2010-10-29 00:43:10 +00:00
Ralph Castain
838ed14401
Include the libevent headers when --with-devel-headers is specified. Ensure that the proper include paths are added to the wrapper compilers - thanks to Jeff for figuring out how to do it.
...
This commit was SVN r23967.
2010-10-28 21:26:07 +00:00
Ralph Castain
9ea2b196ce
Convert the opal_event framework to use direct function calls instead of hiding functions behind function pointers. Eliminate the opal_object_t abstraction of libevent's event struct so it can be directly passed to the libevent functions.
...
Note: the ompi_check_libfca.m4 file had to be modified to avoid it stomping on global CPPFLAGS and the like. The file was also relocated to the ompi/config directory as it pertains solely to an ompi-layer component.
Forgive the mid-day configure change, but I know Shiqing is working the windows issues and don't want to cause him unnecessary redo work.
This commit was SVN r23966.
2010-10-28 15:22:46 +00:00
Ralph Castain
c13b0bb668
Update some debugger attachment code per LLNL request
...
This commit was SVN r23965.
2010-10-28 03:06:20 +00:00
Brian Barrett
50394a05f2
Restore ordering to installdirs components
...
This commit was SVN r23964.
2010-10-28 01:03:16 +00:00
Terry Dontje
b3f2ac8d46
removed direct include of stdbool.h from event.h that was causing studio C++ issues. Also removed include of stdbool.h in a couple other places since it was already being pulled in via opal_config_bottom.h.
...
This commit was SVN r23963.
2010-10-27 20:47:42 +00:00
Brian Barrett
3ed00ba148
More fixes to make OMPI compile with minimal ORTE support again
...
This commit was SVN r23962.
2010-10-27 20:40:39 +00:00
Rolf vandeVaart
4cb414e0cd
Fix a place where I did not error out frags.
...
This commit was SVN r23961.
2010-10-27 17:21:08 +00:00
Shiqing Fan
21db13a17a
Fix the CMake error that caused by unexpected empty string.
...
This commit was SVN r23960.
2010-10-27 15:06:15 +00:00
Shiqing Fan
199df1eadf
Rename a few var names.
...
This commit was SVN r23959.
2010-10-27 11:52:57 +00:00
Nathan Hjelm
e7bfbe1d1a
added missing object initialization/destruction of mca_oob_tcp_component.tcp_listen_thread_event
...
This commit was SVN r23958.
2010-10-26 22:09:37 +00:00
Jeff Squyres
33c3b71317
We had long-ago added a new loop type to libevent: EVLOOP_ONELOOP.
...
After talking with Brian, we're pretty sure that this is only because
really, really old libevent didn't allow bitwise or-ing of the other
loop types, because what we really need is (EVLOOP_ONCE |
EVLOOP_NONBLOCK). And that's what EVLOOP_ONELOOP did (i.e., we
changed the logic of libevent's event.c to let ONELOOP do both ONCE
and NONBLOCK things).
In the new libevent version, we didn't implement EVLOOP_ONELOOP
properly. As a result, and we got hangs in the SM BTL add_procs
function. Note that the SM BTL wasn't to blame -- it was purely a
side-effect of bad ONELOOP integration (i.e., if you got past the SM
BTL add_procs, you may well have hung somewhere else).
This commit removes all ONELOOP customizations from event.c and
returns it to (almost) its original state from the libevent 2.0.7-rc
distribution. Everwhere in the code base where we used ONELOOP, we
now use (ONCE | NONBLOCK).
This commit was SVN r23957.
2010-10-26 20:29:22 +00:00
Ralph Castain
a5c440c974
Turn off libevent's internal thread support to (hopefully) minimize performance hit
...
This commit was SVN r23956.
2010-10-26 20:10:44 +00:00
Ralph Castain
810dc9ad78
Fix typo
...
This commit was SVN r23955.
2010-10-26 19:53:17 +00:00
Samuel Gutierrez
c25945ce48
remove one more extra semicolon
...
This commit was SVN r23954.
2010-10-26 17:30:34 +00:00
Samuel Gutierrez
e1589a2a28
remove an extra semi-colon
...
This commit was SVN r23953.
2010-10-26 17:23:30 +00:00
Shiqing Fan
fae7076d64
add new files into the tarball.
...
This commit was SVN r23952.
2010-10-26 14:55:37 +00:00
Shiqing Fan
a3d9c91ff7
Exclude stdbool.h for Windows, and use the definition in opal. Immigrate the socket pair support from libevent. Fix other minor things and make it compile.
...
This commit was SVN r23951.
2010-10-26 14:53:50 +00:00
Ralph Castain
847e43703f
Remove cruft
...
This commit was SVN r23950.
2010-10-26 14:49:36 +00:00
Ralph Castain
ebb4962072
fix typo
...
This commit was SVN r23949.
2010-10-26 14:48:20 +00:00
Ralph Castain
8d5045de16
Make what is going on more obvious
...
This commit was SVN r23948.
2010-10-26 14:39:09 +00:00
Jeff Squyres
2ddd485ef1
Fix SCTP's use of events.
...
This commit was SVN r23947.
2010-10-26 13:13:02 +00:00
Shiqing Fan
b2c3cb300c
Correctly configure the new libevent mca for Windows.
...
This commit was SVN r23946.
2010-10-26 09:33:47 +00:00
Ralph Castain
7f103c8a9d
Supply missing argument
...
This commit was SVN r23945.
2010-10-26 07:24:55 +00:00
Ralph Castain
894230b121
This stuff is soooo out-of-date that a complete rewrite would be required - thankfully, nobody cares
...
This commit was SVN r23944.
2010-10-26 06:22:31 +00:00
Ralph Castain
86c7365e8e
Clean up a few initialization issues - don't think these are impacting the shared memory situation as it didn't fix the problem.
...
Setup the event API to support multiple bases in preparation for splitting the OMPI and ORTE events. Holding here pending shared memory resolution.
This commit was SVN r23943.
2010-10-26 02:41:42 +00:00
Ralph Castain
fc46dfa78a
Remove stale code
...
This commit was SVN r23942.
2010-10-26 02:37:56 +00:00
George Bosilca
17379a6097
tmp is on the stack, therefore storing its address for later
...
usage is FORBIDEN. Set it to NULL by now, and hope the cbdata
is never used by the timer callbacks.
This commit was SVN r23941.
2010-10-25 19:07:13 +00:00
George Bosilca
5882290cdd
We need a default value or the compiler will whine.
...
This commit was SVN r23940.
2010-10-25 19:05:45 +00:00
George Bosilca
bd9e48d5cf
Add the missing default case. Cleanup required by the author.
...
This commit was SVN r23939.
2010-10-25 18:55:18 +00:00
Jeff Squyres
ed1e9a412a
Need these files in all tarballs -- so don't conditionally add them to
...
EXTRA_DIST.
This commit was SVN r23938.
2010-10-25 18:31:38 +00:00
Jeff Squyres
d14474969b
Need this variable in optimized builds, too.
...
This commit was SVN r23937.
2010-10-25 18:31:01 +00:00
George Bosilca
bc3e1376ba
event-config.h only exists in the builddir, so we need to explicitly
...
include it while building.
This commit was SVN r23936.
2010-10-25 18:29:52 +00:00
George Bosilca
c2e40f8616
Remove a warning about signed to unsigned comparaison.
...
This commit was SVN r23935.
2010-10-25 18:29:11 +00:00
George Bosilca
b9a06afd98
opal_event_libevent207 is prototyped as const, so it should be defined as const.
...
This commit was SVN r23934.
2010-10-25 18:28:42 +00:00
Ralph Castain
aaec8ec426
Fix orte-ps so it correctly reports out on processes within a job
...
This commit was SVN r23933.
2010-10-25 17:53:53 +00:00
Jeff Squyres
1d1571a86c
Fix vpath builds.
...
This commit was SVN r23932.
2010-10-25 17:48:02 +00:00
Ralph Castain
a04da165bc
Remove the sample and test code from the libevent distro - don't need to include them in ompi
...
This commit was SVN r23931.
2010-10-25 14:53:33 +00:00
Ralph Castain
bab990d812
Revert r23928 as being the incorrect fix. The correct fix is not to include ipv6 interfaces when ipv6 support was not requested.
...
This commit was SVN r23930.
The following SVN revision numbers were found above:
r23928 --> open-mpi/ompi@7394f6d167
2010-10-25 14:31:18 +00:00
Abhishek Kulkarni
c671ec52d1
Fix broken trunk compile after the libevent changes.
...
This commit was SVN r23929.
2010-10-25 14:11:48 +00:00
Ralph Castain
7394f6d167
Silence warnings about IPV6 sa_family not known when ipv6 support is not enabled in configure
...
This commit was SVN r23928.
2010-10-25 13:56:23 +00:00