Shiqing Fan
c03ea1a5f3
A more clean way to build on Windows.
...
It's not possible to combine two shared libraries on Windows, so we have to do it a bit different. First generate a small event static library by just linking the object files, and link it into other libraries that needs the libevent API.
This commit was SVN r24039.
2010-11-11 12:02:54 +00:00
Ralph Castain
bb521c6b7e
Properly count local procs to set oversubscribed condition
...
This commit was SVN r24037.
2010-11-10 21:59:35 +00:00
Ralph Castain
021bd77bf1
Don't free the event base if we aren't using progress threads
...
This commit was SVN r24036.
2010-11-10 21:58:58 +00:00
Ralph Castain
9c72737414
Send the recovery flag
...
This commit was SVN r24035.
2010-11-10 21:26:28 +00:00
Ralph Castain
57257ab9b4
Use the right event base if threads are disabled. Always update the seq num
...
This commit was SVN r24034.
2010-11-10 21:26:04 +00:00
Rolf vandeVaart
c74df90729
Fix compile warnings for unused functions.
...
This commit was SVN r24033.
2010-11-10 21:04:32 +00:00
Ralph Castain
cbb758c4fb
Allow mcast threads to be disabled
...
This commit was SVN r24032.
2010-11-10 20:16:41 +00:00
Ralph Castain
22e40d92a0
Cleanup thread termination
...
This commit was SVN r24031.
2010-11-10 19:36:44 +00:00
Rolf vandeVaart
e5e301b564
Abort when unknown header is received.
...
This commit was SVN r24030.
2010-11-10 19:13:56 +00:00
Rolf vandeVaart
da9c936ba0
Fix cut and paste error. Checking the wrong flags.
...
This commit was SVN r24029.
2010-11-10 19:09:47 +00:00
Jeff Squyres
52f5dd906c
Fixes trac:2611: get updated code from GASNet (thanks Paul Hargrove!) that
...
handles more modern versions of Autoconf's --program-transform
arguments. Also make it clear that the message is coming from Open
MPI logic, so that we don't blame Autoconf, Red Hat, or anyone else
next time!
This commit was SVN r24024.
The following Trac tickets were found above:
Ticket 2611 --> https://svn.open-mpi.org/trac/ompi/ticket/2611
2010-11-09 23:36:30 +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
Ralph Castain
f5e50abab2
Make class visible
...
This commit was SVN r24022.
2010-11-09 19:07:45 +00:00
Rolf vandeVaart
1aa558558d
Add some parentheses to keep PMLs consistent.
...
This commit was SVN r24021.
2010-11-09 18:51:32 +00:00
Nathan Hjelm
986265fc6e
fixed crash in orte-ps caused by calls to OBJ_RELEASE on an opal_event_t object.
...
This commit was SVN r24020.
2010-11-09 18:41:43 +00:00
Rolf vandeVaart
f156162289
Add a few missing SOS calls.
...
This commit was SVN r24018.
2010-11-09 17:48:11 +00:00
Shiqing Fan
482a621e31
Change the behavior of exporting/importing symbols on Windows, so that to fit the new build procedure, i.e. import statically linked opal/orte libraries for other libraries/binaries. There are several use cases when creating dll libraries:
...
1. create DLL A, export symbols of A, import nothing (A normally is OPAL)
should define _USRDLL , A_EXPORT
2. create DLL B, export symbols of B, import A.lib (B could be ORTE, OMPI or other ompi tools)
should define _USRDLL, B_EXPORT
3. create DLL C, import B.dll (C could be external libs or apps)
should define B_IMPORT
This commit was SVN r24016.
2010-11-09 16:13:30 +00:00
Rolf vandeVaart
50f8de7ab0
Fix up the debug functions.
...
This commit was SVN r24015.
2010-11-09 15:28:21 +00:00
Ralph Castain
01347926d1
Be a little more thorough about cleaning up during finalize
...
This commit was SVN r24014.
2010-11-09 14:56:27 +00:00
Shiqing Fan
d3701ccba8
type casts.
...
This commit was SVN r24013.
2010-11-09 09:17:22 +00:00
Shiqing Fan
7bac326920
Fix Windows build, add custom command to generate static libraries (opal and orte) for shared build.
...
This commit was SVN r24012.
2010-11-09 08:32:45 +00:00
Ralph Castain
f2f41d1ca9
Be nice to those who don't enable-multicast...poor wretches.
...
This commit was SVN r24011.
2010-11-09 05:08:55 +00:00
Ralph Castain
a47b33678b
Add orte-level thread support to avoid some of the opal_if_threads protection used solely for ompi.
...
Use threads to help process multicast messages.
This commit was SVN r24009.
2010-11-08 19:09:23 +00:00
Ralph Castain
fa919be622
Add support for thread_kill
...
This commit was SVN r24008.
2010-11-08 19:06:10 +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
Ralph Castain
bf665692c3
Update the rmcast callback function API to return message sequence number. Update orte_mcast test to stress the system.
...
This commit was SVN r24004.
2010-11-07 23:29:52 +00:00
Abhishek Kulkarni
e0660101d3
Throw notifier events for checkpointing status (success or failure)
...
This commit was SVN r24003.
2010-11-07 22:12:09 +00:00
Abhishek Kulkarni
8cd3759f21
use the saved value of PID, saving some calls to getpid()
...
This commit was SVN r24002.
2010-11-07 22:09:49 +00:00
Abhishek Kulkarni
d1a4cc33dd
Update the FTB notifier wrt events decided by the CIFTS working group
...
This commit was SVN r24001.
2010-11-07 22:06:32 +00:00
Abhishek Kulkarni
ac2768ca7c
LOG_SYSLOG is a syslog facility. take it off the syslog options
...
This commit was SVN r24000.
2010-11-06 22:05:45 +00:00
Abhishek Kulkarni
132c8d1b00
removing some unneeded calls to ORTE_ERROR_LOG
...
This commit was SVN r23999.
2010-11-06 22:00:18 +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
Jeff Squyres
64863d086c
Add 2 new MCA params:
...
* mtl_mx_board: allow selection of specific MX NIC/board to use. <0
means "use any board".
* mtl_mx_endpoint: allow selection of specific MX endpoint to use.
<0 means "use any endpoint".
This commit was SVN r23996.
2010-11-05 17:17:20 +00:00
Rolf vandeVaart
9ed780b73d
Cleanup plus another macro.
...
This commit was SVN r23994.
2010-11-04 19:35:25 +00:00
Rolf vandeVaart
e40483465e
Remove unneeded function. Fix list handling.
...
This commit was SVN r23992.
2010-11-04 13:04:47 +00:00
Josh Hursey
676adfb7cc
fix compile error, need to revisit this line later
...
This commit was SVN r23991.
2010-11-03 17:34:11 +00:00
Brian Barrett
a94caae625
More lightweight build changes
...
This commit was SVN r23989.
2010-11-03 15:39:10 +00:00
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