Ralph Castain
7fd3ee6662
Ensure we see the correct config.h, and silence the warnings caused by duplicate defines
...
This commit was SVN r25938.
2012-02-16 02:50:57 +00:00
Jeff Squyres
ba1b02dea0
Don't install this extra libevent file.
...
This commit was SVN r25808.
2012-01-27 20:38:00 +00:00
Jeff Squyres
e162945090
This script is generated and should not be in SVN.
...
This commit was SVN r25778.
2012-01-25 16:38:25 +00:00
Jeff Squyres
93a797cc33
r25511 didn't fully fix the OPAL_CHECK_VISIBILITY issue; we also need
...
to -I the opal/config directory so that autoregen can find our .m4
files.
This commit was SVN r25564.
The following SVN revision numbers were found above:
r25511 --> open-mpi/ompi@5751c45916
2011-12-02 19:45:39 +00:00
George Bosilca
5751c45916
Actually ... OMPI is lacking visibility, as it was all moved down in OPAL.
...
This commit was SVN r25511.
2011-11-28 04:27:06 +00:00
Shiqing Fan
fc46ed6438
Use the new libevent On Windows.
...
This commit was SVN r25462.
2011-11-09 14:05:35 +00:00
Jeff Squyres
78538b701d
Turns out that we're not even using that $includedir properly, so just
...
remove it.
This commit was SVN r25458.
2011-11-08 03:18:09 +00:00
Ralph Castain
a931c5b1eb
Redo a patch from late last night that replaces libevent 2.0.7 with libevent 2.0.13 as our default event library. Cleanup the libevent renames to correctly state 2013 as our new version.
...
This commit was SVN r25457.
2011-11-08 01:36:15 +00:00
Ralph Castain
a3ce355a60
Revert r25453 and r25450 until we can fix the libevent2013 configure code - still not getting the includedir to eval correctly.
...
This commit was SVN r25454.
The following SVN revision numbers were found above:
r25450 --> open-mpi/ompi@7f7d5c4f1f
r25453 --> open-mpi/ompi@c9fe8c32e2
2011-11-07 16:23:44 +00:00
Ralph Castain
c9fe8c32e2
Fix a bug in the configure.m4 to ensure we disable unused libevent modes. Edit their Makefile.am to remove bufferevent support since we don't use it either.
...
Sorry for mid-day correction.
This commit was SVN r25453.
2011-11-07 15:21:29 +00:00
Nathan Hjelm
7f7d5c4f1f
RFC: upgrade to libevent 2.0.13 (removing 2.0.7) timeout. Removed libevent 2.0.7
...
This commit was SVN r25450.
2011-11-07 04:32:36 +00:00
Jeff Squyres
9fa2130cfb
Fix typo that prevents VPATH builds.
...
This commit was SVN r25201.
2011-09-28 11:29:12 +00:00
Jeff Squyres
3d61d0f357
Fix up some long-latency bugs in the MCA even framework configury that
...
only became evident when there was more than one event component.
The libevent2013 component is still ompi_ignore'd for most developers.
This commit was SVN r25198.
2011-09-27 23:18:07 +00:00
Jeff Squyres
82c93611e6
Fix some problems with the libevent and hwloc frameworks:
...
* change components from setting <framework>_base_include to
opal_<framework>_<component>_include; the framework m4 will figure
out the winning component and pick the right "include" shell
variable. Ditto for the other shell variables (cppflags, ldflags,
etc.).
* misc fixes to hwloc/external
* add a bunch of missing "opal_" prefixes to shell variables
* add a few more / update a few comments in framework m4's
This commit was SVN r25174.
2011-09-21 23:06:13 +00:00
Ralph Castain
a818101d19
Silence compiler warning
...
This commit was SVN r25172.
2011-09-21 16:39:59 +00:00
Shiqing Fan
3e0ee394ef
Select only one libevent component.
...
This commit was SVN r25169.
2011-09-20 16:10:01 +00:00
Ralph Castain
052ccd4b1e
Set ignores
...
This commit was SVN r25163.
2011-09-20 13:47:05 +00:00
Ralph Castain
45396d8f9c
Add missing files
...
This commit was SVN r25162.
2011-09-20 13:37:22 +00:00
Nathan Hjelm
7cd8f21b7f
add libevent 2.0.13 module
...
This commit was SVN r25161.
2011-09-20 00:13:05 +00:00
Ralph Castain
92c7372e20
Per the RFC from Jeff, move hwloc from opal/mca/common to its own static framework ala libevent. Have ORTE daemons collect the topology info at startup and, if --enable-hwloc-xml is set, send that info back to the HNP for later use. The HNP only retains unique topology "templates" to reduce memory footprint. Have the daemon include the local topology info in the nidmap buffer sent to each app so the apps don't all hammer the local system to discover it for themselves.
...
Remove the sysinfo framework as hwloc replaces that functionality.
This commit was SVN r25124.
2011-09-11 19:02:24 +00:00
Shiqing Fan
3af7c9f7bb
Complete the MinGW build support on Windows.
...
This commit was SVN r25048.
2011-08-15 09:47:23 +00:00
Ralph Castain
8a7f9f8997
Hide libevent symbols when internal thread support enabled
...
This commit was SVN r24922.
2011-07-22 19:49:47 +00:00
Ralph Castain
3f0d13efe2
Fix libevent internal thread support
...
This commit was SVN r24920.
2011-07-22 19:18:49 +00:00
Ralph Castain
6201581544
Fix the symbol visibility issue for libevent by renaming all visible libevent symbols
...
This commit was SVN r24902.
2011-07-14 07:10:52 +00:00
Jeff Squyres
08a05a1e35
Minor additions to make OMPI trunk compatible with the latest GNU
...
Autotools:
* Autoconf 2.68
* Automake 1.11.1
* Libtool 2.4
* m4 1.4.16
This commit was SVN r24867.
2011-07-10 12:11:47 +00:00
Ralph Castain
4dc3ee369f
If event threads are enabled, we don't need to wakeup the event lib to pickup new events - so help valgrind to quit whining about it.
...
This commit was SVN r24837.
2011-06-29 22:52:28 +00:00
Shiqing Fan
ddc05e05d7
Avoid blocking select on Windows.
...
This commit was SVN r24396.
2011-02-16 08:48:21 +00:00
Nysal Jan
857c32784e
Fix detection of fd_mask
...
This commit was SVN r24320.
2011-01-28 06:20:32 +00:00
Josh Hursey
66af515061
Fix C/R functionality with the new libtool. This fixes the case where the restarted process cannot be checkpointed or finalized.
...
Short Version:
--------------
Event engine needs to be flushed so it does not use old/stale file descriptors.
Long Version:
-------------
The problem was that the restarted process was waiting for the socket to the local daemon to finish establishing during the 'sync' operation. The core problem was that the daemon was sending a header of 36 bytes, but the restarted process only received 35 bytes of the message. So the restarted process became stuck waiting for the last byte to arrive.
After many hours of digging, I figured out that the event engine was using the same file descriptor for its evsig_cb functionality (to signal itself when a signal arrives). So when the daemon wrote in to the new fd the event engine was stealing the first byte (*shakes fist at event engine*) before the recv() could be posted.
The solution is to use the event_reinit() function on restart to re-establish the now-stale file descriptors in the event engine. This seems to have fixed the problem.
A few other minor things:
-------------------------
* Add a check to make sure the event engine is balanced in its init/finalize
* Add the opal_event_base_close() to the BLCR restart exec function (still not 100% sure it is needed, but there it is).
This commit was SVN r24296.
2011-01-25 22:43:47 +00:00
Shiqing Fan
ec82e73bce
use sockets instead of pipes on Windows.
...
This commit was SVN r24174.
2010-12-15 14:34:25 +00:00
Rolf vandeVaart
3f7dd84278
Fix libevent so it can compile in the few cases where sys/queue.h does not exist.
...
1. Remove it from libevent207.h because it is not needed.
2. Add compat to the include list so it can use queue.h when needed.
This commit was SVN r24144.
2010-12-02 23:05:02 +00:00
Ralph Castain
c56185887b
Change the event base "wakeup" support to enable the passing of events to the central thread for add/del. Add a macro OPAL_UPDATE_EVBASE for this purpose as it will likely be widely used.
...
Update the ORTE thread support to utilize this capability. Update the rmcast framework to track the change.
This commit was SVN r24121.
2010-12-01 04:26:43 +00:00
Ralph Castain
2523c9b2e8
Overload the event_base_t struct to include a (hopefully) temporary change to deal with cross-event-base synchronization. This is done transparently so no code changes are required within the rest of the code base. Comments explain what was changed and why.
...
This commit was SVN r24105.
2010-11-30 16:14:19 +00:00
Ralph Castain
71f116d21f
Expose the event_active API
...
This commit was SVN r24090.
2010-11-24 23:30:13 +00:00
Ralph Castain
380835602c
Add support for internal libevent threading support. Add configure logic to define an appropriate flag, and then use that flag to expose the required functions.
...
This commit was SVN r24088.
2010-11-24 23:24:53 +00:00
Shiqing Fan
4fea0f021e
Per r24062, this should also be removed.
...
This commit was SVN r24064.
The following SVN revision numbers were found above:
r24062 --> open-mpi/ompi@3b0caf7dea
2010-11-17 17:14:55 +00:00
Rolf vandeVaart
3b0caf7dea
Remove inclusion of stdbool.h where not needed.
...
Change OMPI code in libevent to not use bool.
Add some comments to indicate OMPI specific code.
This should fix compiles on Sun Studio Solaris.
This commit was SVN r24062.
2010-11-17 15:14:00 +00:00
Ralph Castain
32be69eaef
Update the OMPI libevent interface module and the internal libevent event.c file to provide ability to disable specific event modes. Basically an issue between #define and checking to see if the value was defined to zero.
...
This commit was SVN r24056.
2010-11-16 16:06:32 +00:00
Ralph Castain
1b3421f16e
Fix a bug spotted by Rolf - ensure that disable-event-xxx results in the corresponding have_event_xxx being undefined or defined to 0
...
This commit was SVN r24055.
2010-11-16 04:37:30 +00:00
Ralph Castain
b43a4509ac
Remove stale mca param. Ensure that verbosity gets properly set for event framework debug
...
This commit was SVN r24050.
2010-11-13 15:37:17 +00:00
Ralph Castain
db014edb0b
Initialize boolean
...
This commit was SVN r24048.
2010-11-13 15:31:55 +00:00
Shiqing Fan
1f4eae2046
Type cast for compiling under VS 2010.
...
This commit was SVN r24044.
2010-11-12 08:31:23 +00:00
Jeff Squyres
dded8a9756
Ensure to always remove the .new file
...
This commit was SVN r24023.
2010-11-09 23:33:53 +00:00
Terry Dontje
8e0b24a45b
add comment to r23998 code change to be able to track libevent code change better
...
This commit was SVN r24005.
The following SVN revision numbers were found above:
r23998 --> open-mpi/ompi@e8aa8984a8
2010-11-08 14:36:28 +00:00
Terry Dontje
e8aa8984a8
corrected stdbool.h inclusion to allow Oracle C++ compilers to work with OMPI
...
This commit was SVN r23998.
2010-11-05 18:54:19 +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
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
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
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