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
Nathaniel Graham
7f6d141bd6
More one sided java bindings.
...
Bindings for the MPI_WIN_FLUSH_LOCAL, MPI_WIN_FLUSH_LOCAL_ALL, MPI_WIN_ALLOCATE, MPI_WIN_ALLOCATE_SHARED, and MPI_COMM_SPLIT_TYPE. Also added several necessary constants.
Signed-off-by: Nathaniel Graham ngraham@lanl.gov
2015-07-10 11:40:18 -06:00
Nathaniel Graham
26c528a627
Copyright additions
...
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2015-07-07 16:14:21 -06:00
Howard Pritchard
68c69d07ff
add copyrights to changed java related files
...
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-07-07 16:10:58 -06:00
Nathaniel Graham
982a232955
Additional Java Bindings
...
Java bindings for the following functions: MPI_RACCUMULATE, MPI_GET_ACCUMULATE, MPI_RGET_ACCUMULATE, MPI_WIN_LOCK_ALL, MPI_WIN_UNLOCK_ALL, MPI_WIN_SYNC, MPI_WIN_FLUSH, MPI_WIN_FLUSH_ALL, MPI_COMPARE_AND_SWAP, and MPI_FETCH_AND_OP. Also includes Java bindings for the Operations MPI_REPLACE and MPI_NO_OP.
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2015-07-07 16:04:17 -06:00
Nathaniel Graham
bb5699e912
ompi/java: add MPI_Rget and MPI_Rput java bindings
...
Wrote tests for ompi tests, but will commit later.
Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
2015-06-30 12:05:59 -06:00
Gilles Gouaillardet
e0dd9bd2e7
Fix java bindings disaster
...
that commit fixes :
- open-mpi/ompi@224f97b009
- open-mpi/ompi@ade7de549c
- open-mpi/ompi@0836344673
- open-mpi/ompi@7e0581c853
- open-mpi/ompi@d948a43993
2015-06-29 09:51:36 +09:00
Gilles Gouaillardet
7e0581c853
MPI_Win_{get,set}_info : add Java bindings
2015-06-26 15:10:15 +09:00
Gilles Gouaillardet
0836344673
MPI_Win_{attach,detach} : add Java bindings
2015-06-26 15:10:14 +09:00
Gilles Gouaillardet
ade7de549c
MPI_Win_create_dynamic : add Java bindings
2015-06-26 15:10:14 +09:00
Nathan Hjelm
4d92c9989e
more c99 updates
...
This commit does two things. It removes checks for C99 required
headers (stdlib.h, string.h, signal.h, etc). Additionally it removes
definitions for required C99 types (intptr_t, int64_t, int32_t, etc).
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2015-06-25 10:14:13 -06:00
Ralph Castain
869041f770
Purge whitespace from the repo
2015-06-23 20:59:57 -07:00
Howard Pritchard
224f97b009
mpi/java: suppress common symbols warning
...
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-06-15 17:13:40 -06:00
Ralph Castain
cfd2cc49fd
Get the Java bindings to compile again - add missing header
2015-05-23 11:22:24 -07:00
Nathan Hjelm
68614a211b
Merge pull request #596 from hjelmn/errorcode_fixes
...
Handle ompi error codes in java code and remove non-standard MPI error code from mpi.h.
2015-05-23 07:29:44 -06:00
Nathan Hjelm
163a1b4505
Remove non-standard MPI_ERR_SYSRESOURCE error code
...
Replaced internal usage with OMPI_ERR_OUT_OF_RESOURCE.
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
2015-05-22 19:59:37 -06:00
Nathan Hjelm
9da29c3621
java: remove debug code
...
Talked to @ggouaillardet about this code. It was not intended to be committed to
master. Removing to fix coverity issue.
CID 1270134 Unchecked return value
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-05-22 08:36:14 -06:00
Nathan Hjelm
403b3b20d7
Handle ompi error codes in java code
...
This commit also adds protection against negative error codes in ompi
error code functions. There is one outstanding issue. There is a
negative MPI error code defined in mpi.h. This will need to be fixed
separetely.
This commit fixes coverity IDs 1271533 and 1270156.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-05-21 10:39:09 -06:00
Nathan Hjelm
757c021951
Fix coverity ID 1270164
...
The sargs array and its elements were malloced but not freed. Note
that strings passed to NewStringUTF are copied into Java's heap and it
is the callers responsibility to free the original string.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-05-21 10:15:10 -06:00
Howard Pritchard
18039b34b4
ompi/java: better error message if dlopen fails
...
The error message emitted by ompi/java when dlopen
fails is misleading and not very informative.
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2015-04-06 13:35:09 -06:00
Jeff Squyres
8d38ac3cee
java MPI bindings: use strdup()
2015-02-25 14:21:42 -08:00
Jeff Squyres
bd99b741d2
java: update to new mpool API
2015-02-24 13:31:23 -08:00
Nathan Hjelm
ed78553512
Update opal_free_list_t usage to reflect new class interface.
...
Please verify your components have been updated correctly. Keep in
mind that in terms of threading:
OPAL_FREE_LIST_GET -> opal_free_list_get_st
OPAL_FREE_LIST_RETURN -> opal_free_list_return_st
I used the opal_using_threads() variant anytime it appeared multiple
threads could be operating on the free list. If this is not the case
update to _st. If multiple threads are always in use change to _mt.
2015-02-24 10:05:44 -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
Gilles Gouaillardet
a16c1e4418
mpiJava: call mca_base_var_register *after* MPI_Init
...
Thanks to Takahiro Kawashima and Siegmar Gross for pointing this issue
2014-10-27 14:41:54 +09:00
Oscar Vega-Gisbert
296bc56241
Java: apply a patch which solves the ticket #4313
...
This commit was SVN r31470.
2014-04-21 21:44:25 +00:00
Oscar Vega-Gisbert
f1133e2520
Java: initialize free list to only 2 buffers
...
This commit was SVN r31454.
2014-04-19 12:03:52 +00: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
3be348e34a
Java: create an MCA parameter: ompi_mpi_java_eager
...
This commit was SVN r31301.
2014-04-01 20:57:12 +00:00
Oscar Vega-Gisbert
3ef08328e7
Java - Info, Datatype: it is recommended to use dup() instead of clone()
...
This commit was SVN r31300.
2014-03-31 21:30:23 +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
90625573ff
mpi.Request: avoid calling JNI free if it is null
...
This commit was SVN r30806.
2014-02-24 22:28:59 +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
1dd20f397d
Send JNI arguments of type request array as long array.
...
This commit was SVN r30786.
2014-02-21 09:23:07 +00:00
Oscar Vega-Gisbert
04172e47c3
mpi.Prequest: improve start and startAll
...
This commit was SVN r30769.
2014-02-18 22:33:15 +00:00
Oscar Vega-Gisbert
98530055d1
mpi.Message: java object members as parameters
...
This commit was SVN r30755.
2014-02-17 22:26:30 +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