If not too much trouble, can you extract just the alltoallv portion and provide us with a small reproducer?
> On Apr 5, 2015, at 12:11 PM, Hamidreza Anvari <hr.anv...@gmail.com> wrote: > > Hello, > > I am converting an existing MPI program in C++ to Java using OpenMPI 1.8.4, > At some point I have a allToAllv() code which works fine in C++ but receives > error in Java version: > > MPI.COMM_WORLD.allToAllv(data, subpartition_size, subpartition_offset, > MPI.INT <http://mpi.int/>, > data2,subpartition_size2,subpartition_offset2,MPI.INT <http://mpi.int/>); > > Error: > *** An error occurred in MPI_Alltoallv > *** reported by process [3621322753,9223372036854775811] > *** on communicator MPI_COMM_WORLD > *** MPI_ERR_TRUNCATE: message truncated > *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort, > *** and potentially your MPI job) > 3 more processes have sent help message help-mpi-errors.txt / > mpi_errors_are_fatal > Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error > messages > > Here are the values for parameters: > > data.length = 5 > data2.length = 20 > > ---------- Rank 0 of 4 ---------- > subpartition_offset:0,2,3,3, > subpartition_size:2,1,0,2, > subpartition_offset2:0,5,10,15, > subpartition_size2:5,5,5,5, > ---------- > ---------- Rank 1 of 4 ---------- > subpartition_offset:0,2,3,4, > subpartition_size:2,1,1,1, > subpartition_offset2:0,5,10,15, > subpartition_size2:5,5,5,5, > ---------- > ---------- Rank 2 of 4 ---------- > subpartition_offset:0,1,2,3, > subpartition_size:1,1,1,2, > subpartition_offset2:0,5,10,15, > subpartition_size2:5,5,5,5, > ---------- > ---------- Rank 3 of 4 ---------- > subpartition_offset:0,1,2,4, > subpartition_size:1,1,2,1, > subpartition_offset2:0,5,10,15, > subpartition_size2:5,5,5,5, > ---------- > > Again, this is a code which works in C++ version. > > Any help or advice is greatly appreciated. > > Thanks, > -- HR > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/04/26610.php