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

4091 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
befac00371 Fix for bug Josh found -- if we kill as a result of the
OMPI_ERR_INIT_FINALIZE macro (meaning that MPI_INIT has not yet been
invoked or MPI_FINALIZE has already been invoked), then the
communicator argument that is passed to ompi_mpi_abort() is
meaningless and should not be consulted.

This commit was SVN r5313.
2005-04-13 18:07:55 +00:00
Tim Woodall
3b5a9e7377 removed duplicate free
This commit was SVN r5312.
2005-04-13 17:51:43 +00:00
Tim Woodall
55f9f800b1 attach buffer in start and detach when the request completes - this adds some
overhead to the critical path - but ensures buffer reference counts are released
when requests are not released by the application

This commit was SVN r5311.
2005-04-13 17:28:06 +00:00
George Bosilca
682af1ee0f Make sure that the match is called just once after completly reading the header. This bug was raised if we didn't
manage to read any data from the message body, just the header. Then the match was done twice ...

This commit was SVN r5310.
2005-04-13 16:11:20 +00:00
Jeff Squyres
9e0b6baea0 Correct fix for basename() -- rather than play portability games,
let's just have a short for loop that does effectively the same thing,
and gives us better guarantees about [not] modifying the source
buffer, and that one definitely has to free() the output when done
(the implementations of basename() on different platforms vary on
these guarantees). :-) 

This commit was SVN r5307.
2005-04-13 15:26:33 +00:00
George Bosilca
6c79cc3e04 Now we are able to cancel some requests. Not the sends only the receives if they are not matched.
This commit was SVN r5306.
2005-04-13 15:25:28 +00:00
Tim Woodall
d1327e616f fix proxy
This commit was SVN r5305.
2005-04-13 15:24:14 +00:00
Jeff Squyres
4c67d136d8 quick workaround to fix f90 building issue -- will work properly for
--disable-f90, but am working on a proper fix for --enable-f90

This commit was SVN r5304.
2005-04-13 14:45:12 +00:00
Brian Barrett
6609c2e1bb * quick fix to make tree compile on OS X. See bug #1295 for the right
solution

This commit was SVN r5303.
2005-04-13 14:44:46 +00:00
Edgar Gabriel
4ef292717e minor fix in scatterv_inter. We should now pass all ibm inter-collective tests.
This commit was SVN r5302.
2005-04-13 14:34:57 +00:00
Tim Woodall
a2b1f98444 init tag
This commit was SVN r5301.
2005-04-13 14:09:40 +00:00
Jeff Squyres
e761e49f14 A few minor touchups (reviewed by George and Brian).
This commit was SVN r5300.
2005-04-13 14:04:15 +00:00
Jeff Squyres
6d097b5149 Fix minor compiler warning
This commit was SVN r5299.
2005-04-13 13:24:48 +00:00
Josh Hursey
caee2e76b9 Fix a typo that killed the nightly build. :(
Sorry about that.. Pesky 'd' key.

This commit was SVN r5298.
2005-04-13 12:37:58 +00:00
Jeff Squyres
87fce5c2a6 Bunches of things with respect to F90, mainly resulting from work on
Monday with Craig:
- split two f90 modules into two separate .f90 files so that
  dependencies can be satisfied properly in parallel builds (i.e.,
  mpi_kinds.f90 can be compiled and its f90 module can be generated
  before any others are compiled, because it is needed by all of the
  other f90 source files).
- rename mpi.i.h* to be mpi-f90-interfaces.h, just to be a little more
  clear and less name-confusing with mpi.h and mpif.h
- update the build process in src/mpi/f90, including printing out a
  warning that compiling mpi.f90 may take quite a while :-\
- update the wrapper compilers to add in the Right Things for
  compiling F90 MPI applications
- add a check in configure to find what flag the F90 compiler uses to
  identify where f90 module files live

This commit was SVN r5297.
2005-04-13 11:54:36 +00:00
Jeff Squyres
815664c57e Do not include the F90 or CXX libraries in the main libmpi -- they
will have their own compiler's bootstrapping, which we do not want to
include in the C-only libmpi (these were placeholders anyway).

This commit was SVN r5296.
2005-04-13 11:50:43 +00:00
George Bosilca
6df8cb0f02 First step toward cancelation. We decided not to allow sends to be cancelled. For the others cases:
a completed request cannot be cancelled and a receive where the match was already realized cannot
be cancelled as well.

This commit was SVN r5295.
2005-04-13 05:20:11 +00:00
George Bosilca
86b0630d31 Update the macro used to return registered DMA fragments to the free list.
This commit was SVN r5294.
2005-04-13 05:15:18 +00:00
George Bosilca
a9ee215d5c Manage the reference count to the items using atomic operations.
Add a field storing a pointer to the list where an item belong.

This commit was SVN r5293.
2005-04-13 05:14:21 +00:00
George Bosilca
29f27495de In debug mode add 2 field to keep information about the place (file and line number) where the object
was created (or constructed). These 2 fields get initialized in OBJ_NEW and OBJ_CONSTRUCT.

This commit was SVN r5292.
2005-04-13 05:13:03 +00:00
Brian Barrett
309ff000a6 * add --enable-mca-static to specify components that should be statically
linked into libmpi
* add --enable-mca-direct to specify components that should be directly
  called (instead of going through component structs and the like).  The
  components and component frameworks must explicitly support this.
  Currently, only the TEG PML does so.
* Updated all the calls to the PML to use a macro so that they can either
  be direct called or called through function pointer interfaces (aka
  the component infrastructure)

This commit was SVN r5291.
2005-04-13 03:19:48 +00:00
Josh Hursey
a283072b22 a couple of makefile changes for Windows, just to show how really broken the mca and tools directories are under Windows at the moment
This commit was SVN r5290.
2005-04-13 02:35:52 +00:00
Josh Hursey
b253023dbf A bunch of changes which enable the generation of libmpi under
Windows.
Added some functionality to replicate the waitpid and kill
under Windows.
Also created a ompi_environ.* file which contains the same 
funcationality as environ.*, but we can't use that filename
since it is already defined under Windows.

This commit was SVN r5289.
2005-04-13 02:29:33 +00:00
George Bosilca
3d5e2bc343 A LOT of cleanups and remove all useless code.
Fix a bug (the fragment came from a cache so we should reinitialize the ptl_peer before calling the match or
otherwise the match does not set the peer).
Add more user friendly log messages.

This commit was SVN r5288.
2005-04-12 22:46:48 +00:00
George Bosilca
eeb23c70c4 Send back the flags to the sender.
And keep a local directly to the PTL not to the fragment.

This commit was SVN r5287.
2005-04-12 22:44:47 +00:00
George Bosilca
0b89866fe6 We can initialize everything in this function as GM never use the MATCH type of header.
This commit was SVN r5286.
2005-04-12 22:42:41 +00:00
Jeff Squyres
7d4c5531eb Check for Windows libraries too
This commit was SVN r5285.
2005-04-12 22:24:21 +00:00
Brian Barrett
ce07c10a7e * fix error message formatting. resolves bug #1290.
This commit was SVN r5284.
2005-04-12 22:13:55 +00:00
Edgar Gabriel
9350560972 static Connect/Accept works now again...
This commit was SVN r5283.
2005-04-12 21:59:13 +00:00
George Bosilca
a9d8044b0a Automatically disable the rendez-vous protocol if the gm_get function is not available.
This commit was SVN r5282.
2005-04-12 21:50:26 +00:00
Jeff Squyres
2d98ac1bf4 Fix for bug 1285: made the code for re-registering a string MCA
parameter be simpler (and correct ;-) ).

This commit was SVN r5281.
2005-04-12 21:47:29 +00:00
Tim Woodall
f2acb6d66f restore subscribe for connect/accept
This commit was SVN r5280.
2005-04-12 21:25:51 +00:00
Jeff Squyres
31768b36de clean up some of the pointer arithmatic. Correct data
types.

This commit was SVN r5279.
2005-04-12 21:17:45 +00:00
Jeff Squyres
3ec8c614f7 Remove some redundant code
This commit was SVN r5278.
2005-04-12 21:11:40 +00:00
Brian Barrett
aa4157fc60 * fix for bug #1291 - remove configuration files during make uninstall if
they are the same as the versions in the source tree

This commit was SVN r5277.
2005-04-12 20:56:29 +00:00
Edgar Gabriel
9ad1f6c0cb fixing ompi_comm_publish and make comm_unpublish a "trivial" function for the moment until the gpr supports deleting an entry
This commit was SVN r5276.
2005-04-12 19:54:45 +00:00
Brian Barrett
d9f97b128a * make OMPI_THREAD_{op} a complete no-op if there are no threads. The
compiler couldn't know that ompi_have_threads() would always be false,
  so it was still running the tests.  This saves about .04 microseconds
  on the critical path, according to Tim.

  Reviewed by George

This commit was SVN r5275.
2005-04-12 19:51:29 +00:00
Edgar Gabriel
3f32a7b888 remove a comment line :-)
This commit was SVN r5274.
2005-04-12 19:15:25 +00:00
Edgar Gabriel
05624dda0c two minor fixes, reviewed by Tim
This commit was SVN r5273.
2005-04-12 19:10:37 +00:00
Josh Hursey
101caca214 add environ.c to the excluded list for building under Windows
This commit was SVN r5272.
2005-04-12 19:02:55 +00:00
Jeff Squyres
ce847c7458 Ensure to remove trailing newlines in the command line when parsing
appfiles

This commit was SVN r5271.
2005-04-12 18:42:34 +00:00
Jeff Squyres
ea27fe7965 Need to have empty targets when you put a target in AM_CONDITIONAL
This commit was SVN r5270.
2005-04-12 16:34:42 +00:00
Jeff Squyres
5d76385d6e Fix two annoying things about orterun:
- only show the basename of the argv[0] when displaying error messages
- if orterun is run with no arguments, show the help message

This commit was SVN r5269.
2005-04-12 16:01:30 +00:00
Jeff Squyres
6f15d1071c Add --with-f90-max-array-dim configure option to specify how many
dimensions the f90 MPI bindings should support (they are strongly
typed, and the number of dimensions of choice arguments must be
specified -- it cannot be arbitrary).   The default is four.

Note that even though increasing this value has essentially a linear
effect on the code, the multiplier constant is fairly large (only a
small number of functions have 2 choice buffers, so the exponential
factor is relatively small).  Increasing this value increases the
amount of time f90 compilers will spend compiling src/mpi/f90/mpi.f90
(some compilers will crash if it is too big).

This commit was SVN r5268.
2005-04-12 10:17:52 +00:00
Jeff Squyres
f878bcfc39 Add missing f90 logical types
This commit was SVN r5267.
2005-04-12 10:14:28 +00:00
Josh Hursey
ede30ccdea Windows build checkpoint...
This commit was SVN r5266.
2005-04-12 05:40:19 +00:00
Thara Angskun
8a603291bc - define ompi_socklen_t to socket_t (not int) for AIX
- <netinet/tcp.h> (if necessary) should be included after <netinet/in.h> 
i.e. order is important for AIX.

This commit was SVN r5265.
2005-04-11 22:48:50 +00:00
Jeff Squyres
a35ecf4076 Install the .mod files
This commit was SVN r5264.
2005-04-11 20:55:02 +00:00
Jeff Squyres
934f9513c0 add volatile declaration to fifo_tmp casts.
This commit was SVN r5263.
2005-04-11 19:27:06 +00:00
George Bosilca
04f8ea3f29 Make it compiling with errors or warnings.
This commit was SVN r5262.
2005-04-11 19:13:37 +00:00