1
1

159 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
9d7ed5f7c0 Fix borked prior commit:
- INADDR, not IFADDR.  Duh.
- Accidentally removed another comment; restored.

This commit was SVN r5070.
2005-03-28 20:25:39 +00:00
Jeff Squyres
6f0b7d3cac A simpler way to do the same thing.
This commit was SVN r5063.
2005-03-28 15:42:02 +00:00
Brian Barrett
372434f9dc * Merge in all changes from the mpi-devel branch
This commit was SVN r5040.
2005-03-26 18:49:16 +00:00
Jeff Squyres
6b055a767d Fix parameter names in some default functions. I know that
technically speaking, this is a cosmetic change, but having the wrong
parameter names was extremely confusing -- it took me a while (and I
had to cross-reference MPI-1) to figure out that they were wrong, and
I was thinking about the functions incorrectly as a result.  Our mpi.h
should have the Right names in order to not confuse users (and
developers!).

This commit was SVN r5034.
2005-03-26 03:51:55 +00:00
Jeff Squyres
3f5541349a Add UC copyright
This commit was SVN r5009.
2005-03-24 12:43:37 +00:00
Brian Barrett
aa70a35fea * Sync trunk to r4977 of the tim branch
This commit was SVN r4978.

The following SVN revisions from the original message are invalid or
inconsistent and therefore were not cross-referenced:
  r4977
2005-03-22 00:31:17 +00:00
Brian Barrett
c854ae0edb * more merges from the trunk, mainly to make "make dist" work correctly.
This commit was SVN r4944.
2005-03-19 22:04:32 +00:00
Brian Barrett
6822a519bb * results from initial merge of the tim branch into the trunk. Compiles and
ompi_info works, but that's all that has been tested.

This commit was SVN r4827.
2005-03-14 20:57:21 +00:00
George Bosilca
44c3dba63c Add the
This commit was SVN r4536.
2005-02-24 23:00:37 +00:00
George Bosilca
33f62c7f75 Add a new entry in the MPI_Status struct. We need a place to keep the cancelled flag which can
be set using MPI_Status_set_cancelled.

This commit was SVN r4522.
2005-02-24 00:12:26 +00:00
George Bosilca
422eb0fa11 Add the 3 typeclass parameters MPI_TYPECLASS_INTEGER, MPI_TYPECLASS_REAL and MPI_TYPECLASS_COMPLEX.
This commit was SVN r4510.
2005-02-23 08:16:09 +00:00
Brian Barrett
0d82642b40 * Split thread support build conditionals into MPI threads and progress
threads (defaults to use MPI threads, disable progress threads).  This
  allows us to have MPI threaded support, but without progress threads
  and all that fun stuff.

This commit was SVN r4443.
2005-02-16 17:42:07 +00:00
Brian Barrett
b7c2c47494 Solaris portability fixes, round 1:
- Use fcntl.h, not sys/fcntl.h (man pages on every platform I could find
    say fcntl.h and solaris/AIX don't provide sys/fcntl.h)
  - Make timeradd macro available on platforms where sys/time.h exists but
    timeradd macro doesn't (Solaris)
  - Include util/printf.h from ompi_config_bottom.h so that ompi_asprintf
    and friends are always available.

This commit was SVN r4441.
2005-02-16 15:38:37 +00:00
Prabhanjan Kambadur
2439244f0c These are some changes which will enable dynamic builds to go through on Windows. Most of the changes are in adding/deleting windows symbol exporting things.
This commit was SVN r4377.
2005-02-10 19:08:35 +00:00
Brian Barrett
55b3fa9c92 * Don't include ompi_config.h, mpif.h, and atomic-asm.s in the tarball. All
are generated at configure time, so there is no need to have them in the
  tarball (and doing so can cause some really evil VPATH issues).  The .in
  files needed to make ompi_config.h and mpif.h are included in the tarball.

This commit was SVN r4367.
2005-02-10 02:19:00 +00:00
Jeff Squyres
76f2125c98 Fix some compiler warnings (specifically, from icc v8.0)
This commit was SVN r4093.
2005-01-21 13:54:38 +00:00
Prabhanjan Kambadur
9ac9f15537 These are the changes after the review with Jeff. Mostly are fixes for OOB and TCP
This commit was SVN r4070.
2005-01-20 00:03:23 +00:00
Jeff Squyres
3966e30902 Remove every part of MPI-2 one-sided functionality from the tree with
#if OMPI_WANT_MPI2_ONE_SIDED and some automake conditionals.  Also had
to add some AC_SUBSTs to eliminate part of mpif.h (otherwise the
"external" statements would have made undefined symbols).

All the MPI-2 one-sided functionality (including the skeleton
top-level MPI API functions that only invoke an MPI exception) can be
re-enabled with --enable-mpi2-one-sided.

This commit was SVN r3802.
2004-12-14 02:35:03 +00:00
Jeff Squyres
ac5f313af8 First cut at non-blocking IO progress. No asychronous progress
support is included because ROMIO is inherently thread-unsafe.

One possible way to have true asynchronous progress would be to use a
progress thread that wakes up and polls at some frequency when there
are non-blocking IO requests pending.  This is pretty icky, though --
it should definitely have an MCA parameter to enable/disable this
functionality, as well as another to control the polling frequency.

This also strengthens the argument that we need a v2 of the io
framework -- one that is not designed to exclusively support ROMIO --
one that does something unimaginably "better" for the parallel MPI-2
IO interface.  :-)

This commit was SVN r3786.
2004-12-12 15:29:29 +00:00
Jeff Squyres
616269a9be Add HLRS copyright
This commit was SVN r3665.
2004-11-28 20:09:25 +00:00
Jeff Squyres
0c05204c13 Arf -- didn't test the OMPI_DEBUG_ZERO with an optimized build, and it
caused the nightlies to fail.  Move the definition of OMPI_DEBUG_ZERO
up to ompi_config_bottom.h and now all is well.

This commit was SVN r3664.
2004-11-27 12:43:19 +00:00
Jeff Squyres
d39fbd7958 - Remove "ompi_config.h" from util/malloc.h. malloc.h is only ever
included by ompi_config_bottom.h, so it's redundant to include
  ompi_config.h in it.
- Add OMPI_DEBUG_ZERO macro for zeroing out memory while debugging so
  that valgrind (et al.) don't complain about uninitialized memory
  when we know it's safe.
- correct a comment in ompi_config_bottom.h to make it have the
  correct filename

This commit was SVN r3662.
2004-11-26 22:13:52 +00:00
Rainer Keller
ce215e607c Fix a small buglet for typedef'ing bool-types on systems/compilers
without this type.

This commit was SVN r3657.
2004-11-24 10:48:31 +00:00
Jeff Squyres
e9ed717748 First cut at copyrights: IU, UTK, and some OSU. LANL and HLRS still
pending.

This commit was SVN r3655.
2004-11-22 01:38:40 +00:00
Prabhanjan Kambadur
5cac9a3498 making some changes to ompi_config_bottom and also changing the logic for windows portion of ompi_empty_dir
This commit was SVN r3480.
2004-11-02 21:48:31 +00:00
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
c99a202fa3 Make value of BSEND_OVERHEAD match what is in mpi.h
This commit was SVN r3358.
2004-10-26 21:55:44 +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
George Bosilca
72bc6ad0a6 Remove OMPI_DECLSPEC from the typedefs.
This commit was SVN r3288.
2004-10-22 17:47:53 +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
Tim Woodall
d23227214a increased bsend overhead
This commit was SVN r3211.
2004-10-19 20:53:15 +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
Tim Woodall
0df8ca90ea small re-org of request completion - moved test/wait out of pml
This commit was SVN r3066.
2004-10-12 15:50:01 +00:00
Jeff Squyres
80b38390ab Enable proper f2c <--> c2f MPI_Request translation. Pick up f2c <-->
c2f MPI_Status translation along the way.  This should enable Fortran
MPI apps that use non-blocking communication to start working.

This commit was SVN r2996.
2004-10-08 17:12:36 +00:00
Jeff Squyres
cd6fd000df Oops -- I didn't check that *all* datatypes were added into the f_to_c
table in my last commit.  This commit fixes that, and then re-patches
up mpif.h.in to match.

I'm not sure that we need *all* of the datatypes in there (e.g., do we
really need the C datatypes?), but since George isn't around, I
followed the "when in doubt, it doesn't hurt to add more entries to
the table" rule.  Following up with a detailed message to George...

This commit was SVN r2900.
2004-09-30 22:14:35 +00:00
Jeff Squyres
1f668625d3 Update some fortran constants
This commit was SVN r2888.
2004-09-30 15:55:40 +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
Edgar Gabriel
eae5533433 fixing MPI_ERR_LASTCODE in C and fortran
fixing the result of the Comm/group compare operations, 
since the enum in C starts with 0 and not with 1 :-)

This commit was SVN r2803.
2004-09-22 16:59:10 +00:00
Jeff Squyres
2137897b31 Oops! That change should not have been committed yet -- backing out...
This commit was SVN r2789.
2004-09-21 00:29:03 +00:00
Jeff Squyres
8724f59dbb Fix more fortran values
This commit was SVN r2786.
2004-09-21 00:25:08 +00:00