Skip to content

Conversation

kawashima-fj
Copy link
Member

This commit add the following methods.

Language-indep. notation Java binding
MPI_WIN_GET_ERRHANDLER mpi.Win.getErrhandler
MPI_FILE_SET_ERRHANDLER mpi.File.setErrhandler
MPI_FILE_GET_ERRHANDLER mpi.File.getErrhandler
MPI_COMM_CALL_ERRHANDLER mpi.Comm.callErrhandler
MPI_FILE_CALL_ERRHANDLER mpi.File.callErrhandler
MPI_FILE_IREAD_AT_ALL mpi.File.iReadAtAll
MPI_FILE_IWRITE_AT_ALL mpi.File.iWriteAtAll
MPI_FILE_IREAD_ALL mpi.File.iReadAll
MPI_FILE_IWRITE_ALL mpi.File.iWriteAll
MPI_FILE_GET_ATOMICITY mpi.File.getAtomicity

MPI_FILE_I{READ,WRITE}(_AT)_ALL routines are added in MPI-3.1.
I don't know why other methods were missing.

Additionally, existing mpi.Win.setErrhandler is corrected.

This commit add the following methods.

| Language-indep. notation | Java binding            |
| ------------------------ | ----------------------- |
| MPI_WIN_GET_ERRHANDLER   | mpi.Win.getErrhandler   |
| MPI_FILE_SET_ERRHANDLER  | mpi.File.setErrhandler  |
| MPI_FILE_GET_ERRHANDLER  | mpi.File.getErrhandler  |
| MPI_COMM_CALL_ERRHANDLER | mpi.Comm.callErrhandler |
| MPI_FILE_CALL_ERRHANDLER | mpi.File.callErrhandler |
| MPI_FILE_IREAD_AT_ALL    | mpi.File.iReadAtAll     |
| MPI_FILE_IWRITE_AT_ALL   | mpi.File.iWriteAtAll    |
| MPI_FILE_IREAD_ALL       | mpi.File.iReadAll       |
| MPI_FILE_IWRITE_ALL      | mpi.File.iWriteAll      |
| MPI_FILE_GET_ATOMICITY   | mpi.File.getAtomicity   |

`MPI_FILE_I{READ,WRITE}(_AT)_ALL` routines are added in MPI-3.1.
I don't know why other methods were missing.

Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
Probably setting `MPI_ERRORS_RETURN` is unintentional. Probably...

Signed-off-by: KAWASHIMA Takahiro <t-kawashima@jp.fujitsu.com>
@kawashima-fj kawashima-fj added this to the Future milestone Apr 24, 2017
@kawashima-fj kawashima-fj self-assigned this Apr 24, 2017
@bwbarrett
Copy link
Member

The test failure was git permissions issues that have been fixed. Trying again...

bot:ompi:retest

@kawashima-fj
Copy link
Member Author

autoreconf (aclocal) timeout?
bot:ompi:retest

@nrgraham23
Copy link
Contributor

@kawashima-fj Could you also add unit tests to https://github.com/open-mpi/ompi-java-test for these methods?

@bwbarrett
Copy link
Member

bot:ompi:retest

@kawashima-fj
Copy link
Member Author

@nrgraham23 I have simple unit test programs but they don't fit to the manner of https://github.com/open-mpi/ompi-java-test (use of OmpitestError etc.). I'll update them and push them later. If you need them soon, I can upload them.

And hopefully I'll add more tests for existing methods.

@kawashima-fj kawashima-fj merged commit 2828119 into open-mpi:master Apr 27, 2017
@kawashima-fj kawashima-fj deleted the pr/java branch May 8, 2017 23:59
@hppritcha hppritcha added the NEWS label Jul 13, 2017
@hppritcha hppritcha modified the milestones: v4.0.0, Future Jul 13, 2017
yanagibashi added a commit to yanagibashi/ompi-java-test that referenced this pull request Aug 10, 2017
open-mpi/ompi#3402 added missing Java binding methods to Open MPI.
These test programs correspond to those methods.

Signed-off-by: Tsubasa Yanagibashi <fj2505dt@aa.jp.fujitsu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants