Brian Barrett
c96f870674
* Merge of wrapper compiler updates from the bwb-wrapper-fix branch (r8690 -
...
r8698), with changes below:
- Split wrapper flags into those required for each of the three projects,
and cleaned up some cruft (including the LIBMPI_EXTRA_*FLAGS) through-
out the build system
- Added opal_init_util and opal_finalize_util to allow init / cleanup
of all the opal code that doesn't require the MCA system
- Create standalone key=value file parser, based on the one that used
to be in the mca param parser, so that it can be shared in multiple
places
- Add wrapper datafiles for opal, orte, and ompi wrappers, and add
wrapper compiler with support for all the old features
This commit was SVN r8699.
The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
r8690
r8698
2006-01-16 01:48:03 +00:00
George Bosilca
bf266c6109
Rollback the 8682 commit until we figure out the correct way to do it. It break several things
...
inside (like MPI_Wait* functions).
This commit was SVN r8686.
2006-01-13 22:02:40 +00:00
Rainer Keller
95f886b6ab
- Protect callers of opal/ompi_condition_wait from spurious wakeups,
...
possible when with building with pthreads.
Compiled on Linux ia32 with and without
--enable-progress-threads
This commit was SVN r8682.
2006-01-12 17:13:08 +00:00
George Bosilca
698b9b52fe
There is no need for the ret variable when DEBUG is not enabled.
...
This commit was SVN r8675.
2006-01-11 20:56:22 +00:00
Brian Barrett
234c6b96c3
commit missing file from r8672
...
This commit was SVN r8674.
The following SVN revision numbers were found above:
r8672 --> open-mpi/ompi@60ac1cb5f4
2006-01-11 05:02:15 +00:00
Brian Barrett
80c5e5c8ba
* fix assembly issues for linux, which wants a notation to make the stack
...
non-executable.
This should go to the v1.0 branch
This commit was SVN r8673.
2006-01-11 04:49:40 +00:00
Brian Barrett
60ac1cb5f4
print stack traces (when available) for opal and orte processes, as well as
...
ompi processes. Also add SIGABRT to the list of signals that are intercepted
to print out pretty messages.
This commit was SVN r8672.
2006-01-11 04:36:39 +00:00
Brian Barrett
9310fd6f85
When debugging code is turned on with --enable-debug, try to use error checking
...
mutexes instead of fast mutexes. If an error occurs, a message will be
printed, and abort() will be called.
This commit was SVN r8671.
2006-01-11 04:34:29 +00:00
Jeff Squyres
607b6d5940
Make the array be long enough, otherwise strncpy() on some platforms
...
will clobber it (e.g., FC4 which will pad the end of the string with
\0's).
This commit was SVN r8656.
2006-01-05 18:45:36 +00:00
Jeff Squyres
c3cc1d5bbc
Avoid false positives in bcheck/valgrind -- there are holes in the
...
mca_base_param_t struct, and it eventually ends up getting memcpy()'ed
This commit was SVN r8642.
2006-01-04 22:18:30 +00:00
Jeff Squyres
d9ec36c5fe
Add OMPI_DEBUG_ZERO to a struct so that valgrind doesn't complain when
...
looking for memory errors (i.e., it's ok for some fields to be
uninitialized when memcpy'ing the data)
This commit was SVN r8640.
2006-01-04 20:57:57 +00:00
George Bosilca
b3c6c7b442
We need sys/types.h.
...
This commit was SVN r8619.
2005-12-31 14:55:39 +00:00
George Bosilca
7a88e72c1b
Add more protections around the headers.
...
This commit was SVN r8617.
2005-12-31 12:35:24 +00:00
George Bosilca
163391d71a
Cleanup the win32 stuff. Add some more definition for UNIX compatibility. There
...
is still an issue with the OMPI_DECLSPEC but I will investigate it a little
bit later.
This commit was SVN r8614.
2005-12-31 12:23:28 +00:00
Jeff Squyres
6770facf59
Remove "static inline" from a prototype of a function that isn't
...
static inline.
This commit was SVN r8587.
2005-12-22 05:34:36 +00:00
George Bosilca
b88f2a3c32
More protection around the atomic operations on Windows. Still ahve to find
...
a way to detect them correctly without popping up a Windows error message box.
This commit was SVN r8586.
2005-12-22 00:13:09 +00:00
George Bosilca
b6036d985b
Updated version of the windows compatibility file.
...
This commit was SVN r8585.
2005-12-22 00:10:56 +00:00
Jeff Squyres
f1e8790bbe
Add remaining OPAL error codes in opal_err2str()
...
This commit was SVN r8573.
2005-12-21 06:27:34 +00:00
Brian Barrett
3f6c409164
* Need to specify link order to make sure we grab the right mmap
...
This commit was SVN r8556.
2005-12-20 00:50:47 +00:00
Brian Barrett
08799e4a48
* Make the format of the --with-BTL options the same for all the BTLs
...
* Make sure --without-BTL works for all BTLs
* Fix copy-n-paste error in aix timer configrue help string
This should go to the v1.0 branch
This commit was SVN r8554.
2005-12-20 00:47:36 +00:00
Brian Barrett
f993b3a1f0
* 1, 0, they're all the same...
...
This commit was SVN r8550.
2005-12-19 22:01:56 +00:00
Brian Barrett
7801b9045f
temporarily bring back the malloc_hooks code so that Galen and I can do
...
some regression testing
This commit was SVN r8548.
2005-12-19 21:08:51 +00:00
Brian Barrett
22d058e67c
make windows component prefered over linux component. Cygwin provides a
...
/proc/cpuinfo (which is weird), so the Linux component was getting selected
when on Windows...
This commit was SVN r8543.
2005-12-19 06:55:01 +00:00
Brian Barrett
70f4c0f281
update WIN32 defines to __WINDOWS__
...
This commit was SVN r8542.
2005-12-19 05:43:40 +00:00
Brian Barrett
aca7c97451
properly build when we don't have any ASM support (ie Windows w/ CL compiler)
...
This commit was SVN r8541.
2005-12-19 05:39:07 +00:00
Brian Barrett
a5af07cd6b
fixes suggested by Ralf for supporting both Libtool 1 and 2 in Open MPI...
...
This commit was SVN r8538.
2005-12-19 03:10:23 +00:00
George Bosilca
4d1be7f4fe
Add the win32 directory to the build system but only if we build on
...
Windows.
This commit was SVN r8535.
2005-12-17 22:09:23 +00:00
George Bosilca
958bba0f99
mca_base_param_find should be exported.
...
This commit was SVN r8534.
2005-12-17 22:08:02 +00:00
George Bosilca
08d33cfd52
Cleanups for the windows helpers. They will get included on the next commit.
...
This commit was SVN r8533.
2005-12-17 22:07:04 +00:00
Brian Barrett
5685144e3d
* update darwin memory hooks code to recent changes in API
...
This commit was SVN r8522.
2005-12-16 02:01:38 +00:00
Brian Barrett
b42bb3d8e8
More memory hooks tweaks... Set a flag on callbacks if the allocation /
...
deallocation came from the allocator (malloc, fee, etc) or somewhere
else (the user calling mmap/munmap, etc). Going to be used by Galen
to determine if it is worth searching the allocations tree
Set flag if it is possible to intercept mmap (not always possible
due to a circular dependency between mmap, dlsym, and calloc)
This commit was SVN r8521.
2005-12-16 01:12:45 +00:00
Brian Barrett
2a94f693f6
* make sure to actually add the ptmalloc2-specific library dependencies to
...
LIBADD, so that libtool does it's magic propogation thing...
This commit was SVN r8508.
2005-12-15 18:11:51 +00:00
Jeff Squyres
6bc6178e8d
Make the comment explain much more fully what is going on (in typical
...
Jeff-length). Also change it such that we also have a lt_dlhandle
type -- even in the case of --disable-dlopen. Specifically, even in
the case of --disable-dlopen, we still have shell functions that use
an lt_dlhandle parameter, so we need that type, even if <ltdl.h> isn't
used.
This commit was SVN r8507.
2005-12-15 17:47:54 +00:00
Brian Barrett
e574fd7fbe
- update some svn ignores
...
- don't fail to configure if threads aren't found, since
we don't have thread support on windows
- rather than setting the asm file name to none in asm-data,
special case windows w/ CL in the ompi_config_asm macros.
Otherwise, there were some warnings during make dist and
configure that didn't need to be there.
This commit was SVN r8502.
2005-12-15 04:19:16 +00:00
Brian Barrett
e8cca1710f
couple of changes to make Open MPI compile under Cygwin with gcc:
...
- add the right asm format
- add checks for some constants / fields that cygwin
doesn't have in the stacktrace code
- fix for slightly more verbose libtool 2 betas that
have multiple lines for link output
This commit was SVN r8501.
2005-12-15 00:51:28 +00:00
Brian Barrett
01e7191c3e
* use our memory barriers instead of ptmalloc2's, since it only does the
...
right thing with gcc on x86.
This commit was SVN r8490.
2005-12-13 16:04:48 +00:00
Rainer Keller
e59291ebd3
- As I got a conflict for doing the same thing due to problems on SX,
...
decided check in...
Protect also stdio.h
This commit was SVN r8486.
2005-12-13 08:05:41 +00:00
George Bosilca
c9c9a6df61
A line for WINDOWS asm support ... yes none at the moment. Most of the
...
functions we generate from assembler are available on windows.
This commit was SVN r8485.
2005-12-13 06:18:39 +00:00
George Bosilca
cf09491da5
Remove all useless header as well as those generating name conflicts (io.h).
...
This commit was SVN r8484.
2005-12-13 06:17:15 +00:00
George Bosilca
af39262a66
I hope I get it right this time. We detect at configure time if the current
...
Windows installation provide the 32 and 64 bits atomic operations and compile
only the relevant part. For 64 bits there is a problem, but I already put a
big comment about it in the configure file ...
This commit was SVN r8480.
2005-12-13 06:08:45 +00:00
George Bosilca
30648c55ff
First version of the paffinity for Windows. We detect correctly if the
...
functions are available in the .h file as well as the kernel32.dll but
we generate empty functions.
This commit was SVN r8478.
2005-12-13 06:04:41 +00:00
George Bosilca
3e03a5f702
A better comment I hope ...
...
This commit was SVN r8477.
2005-12-12 23:39:40 +00:00
George Bosilca
ed234c910f
The compare and set return an int (always).
...
This commit was SVN r8476.
2005-12-12 23:17:04 +00:00
George Bosilca
39e8d4ce02
Protect the function definition not the typedef.
...
This commit was SVN r8475.
2005-12-12 22:33:02 +00:00
George Bosilca
6f3ac068a6
Use Windows functions ... Microsoft complain about a bunch of POSIX functions as being
...
deprecated. They offer the _ version as not deprecated, so let's use what they provide.
This commit was SVN r8470.
2005-12-12 22:04:30 +00:00
George Bosilca
c107d02eee
Miss this one on the last commit.
...
This commit was SVN r8469.
2005-12-12 22:02:42 +00:00
George Bosilca
bd0ee62e62
Protect headers and use __WINDOWS__ for Windows code.
...
This commit was SVN r8468.
2005-12-12 22:01:51 +00:00
George Bosilca
8c71f578da
The real timer in Windows is a long long.
...
This commit was SVN r8467.
2005-12-12 21:52:53 +00:00
George Bosilca
6e5aeab0b5
Remove the dependance to ltdl.h for all the the places where we dont't really need it. Read
...
the comment for more informations.
This commit was SVN r8466.
2005-12-12 21:51:20 +00:00
George Bosilca
1f342275a0
Support the atomic.h and timer.h header files.
...
This commit was SVN r8462.
2005-12-12 19:52:13 +00:00