Kurita, Takehiro
7ece564978
java: Fix compilation error in allToAllw using Java arrays
...
Java bindings in Open MPI support Java arrays and direct buffers
as buffers. All non-blocking methods must use direct buffers and
only blocking methods can choose between Java arrays and
direct buffers.
Though Comm.allToAllw() is a blocking method, Java applications
using Java arrays as buffers get compilation errors.
This fix enables using Java arrays in Comm.allToAllw().
Signed-off-by: Kurita, Takehiro <fj6370fp@aa.jp.fujitsu.com>
2019-05-22 10:00:16 +09:00
Gilles Gouaillardet
05b3546151
java: do not use MPI1 deprecated subroutines
...
Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
2018-06-04 10:49:52 +09:00
KAWASHIMA Takahiro
8558185c85
mpi/java: Add missing Java binding methods
...
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>
2017-04-24 16:55:03 +09:00
Ralph Castain
1e2019ce2a
Revert "Update to sync with OMPI master and cleanup to build"
...
This reverts commit cb55c88a8b7817d5891ff06a447ea190b0e77479.
2016-11-22 15:03:20 -08:00
Ralph Castain
cb55c88a8b
Update to sync with OMPI master and cleanup to build
...
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-22 14:24:54 -08:00
Nathaniel Graham
5380427050
Error handling improvements
...
This commit improves and corrects error handling. In
cases where existing objects are altered after a call
to ompi_java_exceptionCheck, the results of the exception
check method are checked. In the case of an exception,
memory is cleaned up and the code returns to Java without
altering existing objects.
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2016-09-08 11:25:43 -06:00
Nathaniel Graham
59c43f4669
Additional java bindings for the Comm class
...
Added bindings for MPI_COMM_CREATE_GROUP and MPI_COMM_DUP_WITH_INFO.
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2015-07-24 16:14:35 -06:00
Nathaniel Graham
11e1f09c25
White space fixes
...
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2015-07-21 16:39:59 -06:00
Nathaniel Graham
7548e342dd
Java bindings for alltoallw functions.
...
Includes bindings for MPI_ALLTOALLW and MPI_IALLTOALLW.
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2015-07-21 16:29:22 -06:00
Ralph Castain
869041f770
Purge whitespace from the repo
2015-06-23 20:59:57 -07:00
Gilles Gouaillardet
02da8bfa93
ompi/java: fix misc bugs
...
as reported by Coverity with CIDs 1270187, 1270189 and 1270190
2015-02-16 15:19:53 +09:00
Oscar Vega-Gisbert
19803d6605
Java - neighborhood collective communication: get buffers according topology information
...
This commit was SVN r31452.
2014-04-19 11:12:38 +00:00
Oscar Vega-Gisbert
5a21790caa
Java: improve access to Java arrays.
...
This commit was SVN r31391.
2014-04-14 21:29:13 +00:00
Oscar Vega-Gisbert
f133b6b693
Java: move buffer methods from Comm.c to MPI.c
...
This commit was SVN r31303.
2014-04-01 21:34:51 +00:00
Oscar Vega-Gisbert
aa3e2f7afd
New Java method in Comm: iDup
...
This commit was SVN r31299.
2014-03-31 21:15:26 +00:00
Oscar Vega-Gisbert
c9e6f09af1
Java: neighborhood collective communications
...
This commit was SVN r31296.
2014-03-30 19:55:56 +00:00
Oscar Vega-Gisbert
a1004bf5cd
Java: remove useless native datatype initialization
...
This commit was SVN r31293.
2014-03-29 19:08:39 +00:00
Oscar Vega-Gisbert
0e177597c3
Java: Comm.set/getInfo
...
This commit was SVN r31289.
2014-03-29 18:57:51 +00:00
Oscar Vega-Gisbert
845818de59
Avoid use Status member in Request.
...
This commit was SVN r31287.
2014-03-29 18:13:38 +00:00
Oscar Vega-Gisbert
cc511d0efc
Avoid use Status member in Comm, Message and File.
...
This commit was SVN r31198.
2014-03-24 22:28:30 +00:00
Oscar Vega-Gisbert
4d7be5b4a4
Java: send MPI_Op handle as parameter to C side
...
This commit was SVN r30965.
2014-03-08 20:29:50 +00:00
Oscar Vega-Gisbert
3a31869a58
Authorship of Java bindings
...
This commit was SVN r30901.
2014-03-01 20:18:05 +00:00
Oscar Vega-Gisbert
4def6c5ae2
Java: avoid setting Status attributes in the C side.
...
Make File implementation consistent with the rest of the API.
This commit was SVN r30900.
2014-03-01 19:54:36 +00:00
Oscar Vega-Gisbert
ad8f57396a
Avoid creating status objects in the C side.
...
It is necessary because calling java methods from C is very slow.
This commit was SVN r30799.
2014-02-23 20:08:53 +00:00
Oscar Vega-Gisbert
86e40c568a
Improve access to buffers.
...
This commit was SVN r30745.
2014-02-16 22:58:01 +00:00
Oscar Vega-Gisbert
ecfca4c5f9
mpi.Comm: java object members as parameters
...
This commit was SVN r30741.
2014-02-16 18:51:14 +00:00
Oscar Vega-Gisbert
7c1802e933
mpi.Comm: java object members as parameters
...
This commit was SVN r30738.
2014-02-15 19:22:55 +00:00
Oscar Vega-Gisbert
c9b7ea6d1a
Comm.reduceLocal: add missing offset artifact
...
This commit was SVN r30108.
2014-01-02 21:57:48 +00:00
Oscar Vega-Gisbert
b97951ab3b
Allow NULL buffers to send/recv 0 items as control messages.
...
This commit was SVN r29290.
2013-09-29 10:36:09 +00:00
Jeff Squyres
e4e3e411fc
Next generation of MPI Java bindings.
...
Includes all MPI functions supported by Open MPI, including MPI-3
functions (as of about 2 weeks ago). Many changes compared to the
prior generation of Java bindings; not much is left from the prior
generation, actually. The changes include (but are not limited to):
* Add support for more than just a subset of MPI-1 functions
* Use typical Java case for symbol names
* Support Java Direct buffers (giving darn-near "native C"
performance)
* Support "type struct" better than the prior generation
* Make more of an effort for the Java bindings to be a thin layer
over the back-end C bindings
* ...and more
A proper README with more information about what is supported, how to
use these bindings, etc. will be committed shortly.
This commit was SVN r29263.
2013-09-26 21:44:39 +00:00
Ralph Castain
58d701fad9
Cleanup some compiler warnings in the Java bindings
...
This commit was SVN r27595.
2012-11-12 03:03:48 +00:00
Ralph Castain
47c64ec837
Roll in Java bindings per telecon discussion. Man pages still under revision
...
This commit was SVN r25973.
2012-02-20 22:12:43 +00:00