-
Notifications
You must be signed in to change notification settings - Fork 932
Topic/external support #1394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topic/external support #1394
Conversation
The datatype must satisfy the same constraints as for the corresponding communication function (send for pack and recv for unpack).
provide external32 support). Add a pack function allowing to provide send conversion (needed on little endian machine in order to pack in the external32 format).
|
Test FAILed. |
|
@bosilca i will check that tomorrow about make check, you only test the effect of pack/unpack about MPI_Pack in heterogeneous cluster, should it behave like MPI_Pack_external ? |
Use htonl and htons to check that the packed data is indeed the correct data.
|
Test FAILed. |
|
@bosilca one option is to only build this test, and an other one is to make this a non MPI application (such as i ll try to give this a try when i get some time |
|
@ggouaillardet the Travis failure was unrelated to this. I added a validation of the packed data using hton[sl], and this seems to work. MPI_Pack is different than MPI_Pack_external in the sense that MPI_Pack is allowed to prepend the buffer |
|
@bosilca ok for i disagree about the travis issue. i added some logging and here is the output that might not occur if you |
|
@bosilca this is the updated and working commit ggouaillardet@f87f75a travis url is at https://travis-ci.org/open-mpi/ompi/builds/111402637 feel tree to close #1399 at any time |
…D_CONVERSION && ! CONVERTOR_HOMOGENEOUS
|
@ggouaillardet I cherry-picked your 2 commits ggouaillardet/ompi@f87f75a and ggouaillardet/ompi@7279472. We might want to close the PR #1399 and focus here instead. |
|
Test FAILed. |
1 similar comment
|
Test FAILed. |
|
i previously removed data check (i guess i was too lazy to make it work in a non mpi environment) this is fixed in ggouaillardet/ompi#a1235b6bb454e61e4d9134cda0c0288cb713acda
i will close #1399 from now note with even with these two commits, branch has conflicts and cannot merge. |
Add support for packing into external32 format.