George Bosilca
e79f35fe6c
Copy the last fake DT_END_LOOP too when we duplicate the data.
...
This commit was SVN r9309.
2006-03-16 17:21:10 +00:00
Rainer Keller
2ce64c6fc7
- Add missing signed_char
...
All hail the moog!
This commit was SVN r9299.
2006-03-16 11:06:59 +00:00
George Bosilca
49c40f596b
No data validation by default.
...
This commit was SVN r9295.
2006-03-16 01:35:49 +00:00
Tim Woodall
9e958f727f
additional macros for csum
...
This commit was SVN r9293.
2006-03-16 00:19:55 +00:00
Brian Barrett
5c7751f9a2
* configure changes required to support the double compile of the ddt engine.
...
still need to coordinate some Makefile.am changes with george tomorrow, but
this is the stuff that will require re-autogening
This commit was SVN r9285.
2006-03-15 03:35:30 +00:00
Graham Fagg
fcca36d280
Add missing ifdef
...
This commit was SVN r9279.
2006-03-14 20:48:50 +00:00
Tim Woodall
0b366e912c
macros to compute checksum while moving data
...
This commit was SVN r9278.
2006-03-14 19:33:27 +00:00
George Bosilca
d5cee0cd75
Data validation should only be used with DR PML.
...
This commit was SVN r9210.
2006-03-06 20:01:26 +00:00
Tim Woodall
d350232c04
work in progress
...
This commit was SVN r9209.
2006-03-06 19:30:37 +00:00
Rainer Keller
5627fb5627
- Get rid of compiler warning: init type to DT_MAX_PREDEFINED
...
and assert it is below when accessing ompi_ddt_basicDatatypes
- datatype in ompi_ddt_pack_description_length is and will not be
changed.
This commit was SVN r9193.
2006-03-04 13:16:04 +00:00
Tim Woodall
274ee03df6
work in progress
...
This commit was SVN r9192.
2006-03-04 00:36:16 +00:00
George Bosilca
ca116e3cf3
Where we create a duplicate data-type for the get_content MPI function we have to attach the
...
args from the old data-type. As this args are only read-only, I don't want to have several
copies around, so I add a reference count to them and simply attach them to the new
datatype. The args array now get freed only when the last reference dissapear.
This commit was SVN r9191.
2006-03-03 20:51:36 +00:00
Rainer Keller
b8d1189091
- Use the actual _count parameter passed through the macro
...
This commit was SVN r9189.
2006-03-02 20:23:07 +00:00
George Bosilca
06def0b2d6
Not one .. but i. We're looking at the current position not at the first position
...
in the buffer ...
This commit was SVN r9132.
2006-02-23 15:59:17 +00:00
George Bosilca
0c1c650c91
Do not forget to commit the data-type once it is created from the
...
packed description.
This commit was SVN r9125.
2006-02-23 04:29:21 +00:00
George Bosilca
574c384ad4
This is the internal function so we should return the correct type. The
...
external function is type_size and it's used only at the MPI level as MPI
only support integers for the size.
This commit was SVN r9124.
2006-02-23 04:28:44 +00:00
George Bosilca
9dd522e350
Correct the MPI_COMBINER_DUP case when we generate the data description. Now, we have an
...
optimized version here, where we pack only 2 integers instead of 6.
This commit was SVN r9102.
2006-02-21 17:16:30 +00:00
George Bosilca
3ac541a722
Remove some debugging code.
...
This commit was SVN r9101.
2006-02-21 15:17:50 +00:00
George Bosilca
d4ab61aec5
Homogeneously handle the one-sided features of the datatype.
...
This commit was SVN r9096.
2006-02-20 17:22:29 +00:00
George Bosilca
79be2dbcdb
Anything else than void* cannot be print with %p ...
...
This commit was SVN r9094.
2006-02-19 16:34:15 +00:00
George Bosilca
a2a08b2282
Add the missing prototype and use the function (ompi_ddt_print_args)
...
in ompi_ddt_dump.
This commit was SVN r9093.
2006-02-18 18:15:54 +00:00
George Bosilca
19fb826caf
Add a new function to print how a datatype was created based on the
...
MPI informations stored in args (the MPI_COMBINER stuff). This function
print only one level of information but it expand the name of the
datatype if the data is a predefined one.
This commit was SVN r9090.
2006-02-18 04:18:39 +00:00
George Bosilca
b62b4eb5b8
icc point out a lot of useless comparaison as well as some warnings about
...
inlined functions. Thie patch fix them all.
This commit was SVN r9082.
2006-02-17 05:15:59 +00:00
George Bosilca
f4d1bea50e
Allow us to add zero length datatype ...
...
This commit was SVN r9079.
2006-02-17 05:07:28 +00:00
George Bosilca
1740ab1209
I just wanted to add a flag not to replace the old ones.
...
This commit was SVN r9076.
2006-02-16 22:39:06 +00:00
George Bosilca
09aa367563
When we create a convertor if the data size is zero mark it as completed. That avoid
...
problems with 0 length datatype used for pack/unpack.
This commit was SVN r9075.
2006-02-16 22:36:42 +00:00
George Bosilca
eef3b6b2ba
A lot better with a comma inside ...
...
This commit was SVN r9070.
2006-02-16 21:13:17 +00:00
George Bosilca
7d9f1992f2
Print more information about the convertor in ompi_convertor_dump.
...
This commit was SVN r9069.
2006-02-16 21:01:29 +00:00
George Bosilca
745ec1057f
Remove the compilation warning.
...
This commit was SVN r9047.
2006-02-15 15:07:40 +00:00
Galen Shipman
fca3a36bc0
if data is contiguous need_buffers should return 0, not 1
...
This commit was SVN r9009.
2006-02-13 17:49:31 +00:00
George Bosilca
bde56ce528
Cleanup the convertor construct function. Do not set any useless values, instead rely on the
...
calls to convertor_create and convertor_prepare to finish setting up the correct values for
the convertor.
This commit was SVN r9008.
2006-02-13 17:03:36 +00:00
George Bosilca
ecc3e00362
Various cleanups.
...
This commit was SVN r9002.
2006-02-12 21:36:07 +00:00
George Bosilca
8b525ef21b
Include the count when computing the remote size.
...
This commit was SVN r9001.
2006-02-12 21:34:55 +00:00
George Bosilca
13170eec52
Make sure all datatype files have the correct updated copyright information.
...
This commit was SVN r8998.
2006-02-12 21:03:01 +00:00
George Bosilca
25020f58c1
Correct the MPI_Indexed bug. Actually it can be triggered by any type of
...
data, if the packed data is contiguous and the unpacked one is not. The
problem was that the unpack function did not update the bConverted value
to the real number of bytes extracted from the iovecs, but limit the update
to the number of bytes moved into the user buffers. So, if there were some
bytes copied in the internal pending buffer, they were lost because the next
convertor instead of using the correct bConverted (with the total number of
bytes) has only the transfered number. The result of this bug, is a shift to
left by few bytes of the values in the user buffers.
Add a protection against such kind of errors in the new_position.c.
This commit was SVN r8997.
2006-02-12 20:19:22 +00:00
Brian Barrett
566a050c23
Next step in the project split, mainly source code re-arranging
...
- move files out of toplevel include/ and etc/, moving it into the
sub-projects
- rather than including config headers with <project>/include,
have them as <project>
- require all headers to be included with a project prefix, with
the exception of the config headers ({opal,orte,ompi}_config.h
mpi.h, and mpif.h)
This commit was SVN r8985.
2006-02-12 01:33:29 +00:00
George Bosilca
3171cc1aee
Remove unused variable.
...
This commit was SVN r8977.
2006-02-11 00:13:09 +00:00
George Bosilca
c9e83658dd
Datatype engine went into a "slim-fast" treatement. That's only the first stage ...
...
This commit was SVN r8965.
2006-02-10 20:56:30 +00:00
George Bosilca
f96f9afc27
Copy the packed buffer when we duplicate a basic datatype.
...
This commit was SVN r8931.
2006-02-08 05:08:39 +00:00
Brian Barrett
e0a814d3a7
* adjust the buffer position on predefined datatypes as well as user
...
datatypes when creating from a buffer.
This commit was SVN r8917.
2006-02-07 12:14:41 +00:00
George Bosilca
9d969f2b53
Update the pack/unpack of data-type description (used for one sided). Correctly handle
...
the predefined types, move the packed_description into the data-type structure.
This commit was SVN r8905.
2006-02-06 19:10:19 +00:00
George Bosilca
697849c694
Add a function to check if the data-type is predefined or not (ompi_ddt_is_predefined).
...
This commit was SVN r8902.
2006-02-06 17:54:29 +00:00
George Bosilca
6a633829cb
Pack/unpack datatype representaion for one-sided communications.
...
This commit was SVN r8887.
2006-02-02 19:49:29 +00:00
George Bosilca
1c667ea45a
Start tracking down all useless things. Here the logic is that the MPI request already has
...
increased the datatype ref count, and there is no way to have a convertor without a valid
request, so there is no need for the convertor to increase the reference count of the datatype
again. Therefore, if one want to use the datatype for something else than MPI request, one
has to manage the reference counts outside the datatype layer.
This commit was SVN r8769.
2006-01-20 17:10:29 +00:00
George Bosilca
4ae8c291c3
Add MPI_SIGNED_CHAR.
...
This commit was SVN r8618.
2005-12-31 14:54:57 +00:00
George Bosilca
daceaf6219
The checksum code wasn't supposed to be turned on by default ...
...
This commit was SVN r8510.
2005-12-15 18:38:59 +00:00
George Bosilca
e008196f50
First implementation of the checksum in the datatype engine. I'm using adler 32
...
the same algorithm as in the zlib library, as it is supposed to be the fastest
one and still give good error detection. For those who want to activate the
checksum, there is a define at the bottom of the datatype_internal.h file.
This commit was SVN r8509.
2005-12-15 18:36:48 +00:00
George Bosilca
4af8085d3b
The return is 0 or 1 so an int it's enought. Thanks Brian for catching this one.
...
This commit was SVN r8504.
2005-12-15 06:03:55 +00:00
George Bosilca
f8e875c8fb
Always export this function.
...
This commit was SVN r8438.
2005-12-10 22:03:27 +00:00
Rich Graham
137703da29
add some comments.
...
This commit was SVN r8376.
2005-12-03 00:14:58 +00:00