Re: [OMPI users] Java: wrong extent value for resized derived data type

2018-07-19 Thread Siegmar Gross
Hi Gilles, thank you very much for your reply. I must admit I am having a hard time understanding why MPI.DOUBLE.getSize() returns 1 instead of 8 ... Anyway, for the time being, I think you can get the expected result by createResized(..., ..., 8). I did that before. Unfortunately,

Re: [OMPI users] Java: wrong extent value for resized derived data type

2018-07-19 Thread Gilles Gouaillardet
Siegmar, I must admit I am having a hard time understanding why MPI.DOUBLE.getSize() returns 1 instead of 8 ... Anyway, for the time being, I think you can get the expected result by createResized(..., ..., 8). If there is a consensus that your program is correct, I will be happy to issue a PR

[OMPI users] Java: wrong extent value for resized derived data type

2018-07-19 Thread Siegmar Gross
Hi, I've installed openmpi-3.1.0 on my "SUSE Linux Enterprise Server 12.3 (x86_64)" with gcc-6.4.0. Why do I get "extent: 0" instead of "extent: 1" for my small program. In my opinion the extent of the old data type and the resized extent of the new data type should be the same. Am I wrong, is