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

24 Коммитов

Автор SHA1 Сообщение Дата
Prabhanjan Kambadur
fe98e6e0ed some more changes which are required
This commit was SVN r3473.
2004-11-02 15:14:04 +00:00
Prabhanjan Kambadur
4d4bc1d3ee some oter stupid things i missed out on. changing BOOL to be defined only if we are building the library, not needed otherwise. moving OMPI_DECLSPEC to the top
This commit was SVN r3469.
2004-11-02 13:22:08 +00:00
Jeff Squyres
1a0a3428ea Check for __func__, per suggestion from Ranier (oops; thought I had
already committed this :D )

This commit was SVN r3442.
2004-10-29 19:14:11 +00:00
Prabhanjan Kambadur
e2e3bead65 fixing up small mistakes
This commit was SVN r3399.
2004-10-28 19:12:45 +00:00
Jeff Squyres
eb4267d6d2 George pointed out last night that I didn't take into account the fact
that the C compiler may support bool with no help from <stdbool.h>.
So add another configure test and adjust ompi_config_bottom.h as
appropriate.  Since the #if logic in ompi_config_bottom.h got a little
complicated w.r.t. bool, I indented to make the conditionals clear.

This commit was SVN r3291.
2004-10-22 20:30:59 +00:00
Prabhanjan Kambadur
4257467fec this is the big windows commit. there are more things which have gone into this than i can remember. but basically, we are looking for
1. header file and source file protections using #ifdef WIN32
2. new files and directories to support windows functionality
3. appropritate linkage symbols added (OMPI_DECLSPEC) for windows
4. some functions are unimplemented on the windows side. this is mostly
because there might not be need to implement it in windows land. eg., forking
a daemon off
5. Introduced locking mechanisms for windows

This commit was SVN r3286.
2004-10-22 16:06:05 +00:00
Jeff Squyres
303c38cde9 Fix for bug 1030 -- ensure C and C++ bool's are the same size and
alignment.  Right now, we only check for char, short, and int.  If we
ever run across a platform where one of those three don't work, we'll
need to extend ompi_config_bottom.h.  :-)

This commit was SVN r3271.
2004-10-21 19:57:00 +00:00
Prabhanjan Kambadur
dac14aaf94 committing the header file fixes for protection against C++ name mangling. This is a hge commit. Please make sure that your files are protected right. There is some redundan protection in that the protection has been added right at teh beginning and at teh end ion some cases even thught typedefs are not requred to be protected. But this was done in order to have teh minimal change to the code base
This commit was SVN r3246.
2004-10-20 22:31:03 +00:00
Brian Barrett
c360c8c490 * Make sure we get all the MAX/MIN values when using a C++ compiler so that
the nameserver includes are correct when using a C++ compiler

This commit was SVN r3196.
2004-10-18 16:08:35 +00:00
Jeff Squyres
2d5c0d1edc These declarations are repeated in src/util/printf.h, and apparently
everywhere in the tree that uses these functions includes that header
file.  So these are redundant.

This commit was SVN r3188.
2004-10-16 12:36:53 +00:00
Jeff Squyres
5686df5a37 - The declaration for ompi_mpi_param_check really didn't belong in
ompi_config_bottom.h -- it's already in src/mpi/runtime/params.h.
- Add /src/mpi/runtime/params.h to a small number of places.
- Remove some useless run-time checks in MPI fortran functions

This commit was SVN r3177.
2004-10-15 21:50:59 +00:00
Brian Barrett
d7528d1fd3 * remove the pre-ANSI C vararg code, only have the ANSI-C stdarg code
This commit was SVN r3138.
2004-10-14 19:39:21 +00:00
Jeff Squyres
8bef16d214 - some OS's #define malloc, calloc, free, realloc -- ensure to #undef
them when necessary
- we didn't have the re-definition for calloc

This commit was SVN r2863.
2004-09-27 17:15:06 +00:00
Jeff Squyres
95ce0f3f64 - Fix the #endif for cplusplus
- Revise the comment to be a little more accurate in its explanation
  :-)

This commit was SVN r2855.
2004-09-24 10:02:23 +00:00
Prabhanjan Kambadur
291d7bfcaf Including the weird definitions for windoze function exporting
This commit was SVN r2845.
2004-09-23 16:14:04 +00:00
David Daniel
5ce8144d91 Probably an unpopular change, but...
In order to get consistent behaviour on linux with various gcc versions,
I am defining _GNU_SOURCE in ompi_config.h and changing the definition
of asprintf, etc.

Problems:
1) autoconf was defining _GNU_SOURCE for its tests, but we were not
setting it
2) g++ sets it by default (I think)
3) some version of gcc set it by default

If somebody knows a consistent solution for these problems then we can
revert to not setting it.

This commit was SVN r2230.
2004-08-19 19:27:15 +00:00
David Daniel
e865b75241 fixes for Solaris
This commit was SVN r2155.
2004-08-15 23:54:30 +00:00
David Daniel
ac36e0fc27 Adding conditionals for portable (v)asprintf and (v)snprintf implementations
This commit was SVN r2026.
2004-08-10 22:41:17 +00:00
Jeff Squyres
a721849e84 While waiting for a lengthy compile, I noticed a bunch of old remnants
from the "LAM/MPI" -> "Open MPI" name change that didn't convert
properly.  So this commit fixes all instances of "OMPI/MPI" to "Open
MPI".

This commit was SVN r1924.
2004-08-06 14:30:18 +00:00
Jeff Squyres
2399ac3cf8 Check for case where we *have* <stdbool.h>, but it doesn't *work*
(e.g., Portland compilers don't have/know about <stdbool.h>, but
AC_CHECK_HEADERS will typically find the GNU/gcc <stdbool.h>).
Reviewed by Brian.

This commit was SVN r1889.
2004-08-05 11:12:25 +00:00
Jeff Squyres
b3a98bab00 Add some protection for redefining malloc/realloc/free -- we do not
want to do this in the C++ MPI bindings.

This commit was SVN r1713.
2004-07-14 15:13:32 +00:00
Jeff Squyres
a5a712b31f Lots of changes in this commit, mostly having to do with the first
real commit of the collectives.  MPI_SCAN and MPI_EXSCAN are still not
implemented, but lots of other things are in the critical path and
holding up other people, so it's ok to commit without them:

- better checks for sizes in configure, and add defaults for fortran
  sizes if we don't have a fortran compiler
- fix some logic that was accidentally broken for size checks for the
  file type offset_t
- add some C equivalent types for fortran's complex and double complex
  (for use in internal reduction/op functions)
- additionals and slight reorganization of ompi_mpi_init()
  ompi_mpi_finalize()
- fully implement all top-level MPI collective calls, including all
  param checking for both intra- and inter-communicators (woof)
- change the communicator_t type for stuff that we need in coll, and
  update all references throughout the code base to match
- all kinds of updates to the coll framework base
- next cut of the basic coll module -- has all intracommunicator
  collectives implemented except scan and exscan (see note above).
  All intercommunicator functions return ERR_NOT_IMPLEMENTED.
- MPI_Op is a fixed implementation -- not component-ized yet.  So
  there are generic C loops for all implementations.

This commit was SVN r1491.
2004-06-29 00:02:25 +00:00
Tim Woodall
abba2b038c - removed src/mem directory
- moved mem/free_list.h to class/ompi_free_list.h
- moved mem/malloc.h to util/malloc.h
- added src/mca/mpool component type

This commit was SVN r1274.
2004-06-15 19:07:45 +00:00
David Daniel
2f96ba71fe renaming files
This commit was SVN r1192.
2004-06-07 15:40:19 +00:00