Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] mpi/java question
From: Steve Angelovich (SAngelovich_at_[hidden])
Date: 2013-02-20 17:41:22


Sorry I lost track of all the comments in the thread. Does this mean it
is fixed or will be fixed?

Thanks,
Steve

On 02/20/2013 02:15 PM, Jeff Squyres (jsquyres) wrote:
> I didn't misspeak in my email. :-)
>
> That being said:
>
> 1. If the Java sizes are fixed, great. It should make writing configury to find matching C types easier (because we know what the Java sizes are).
>
> 2. George raises a good point: we support the MPI_INTx_T datatypes now, which probably obviates the need for any extra configury (since the Java sizes are fixed).
>
>
> On Feb 20, 2013, at 3:44 PM, Ralph Castain <rhc_at_[hidden]> wrote:
>
>> Might be just fine - need to see how many of the types have issues, how best to correct them
>>
>> On Feb 20, 2013, at 12:32 PM, George Bosilca <bosilca_at_[hidden]> wrote:
>>
>>> That is wrong with MPI_INT64_T ? (MPI 3.0 standard page 26.)
>>>
>>> George.
>>>
>>> On Feb 20, 2013, at 21:12 , Ralph Castain <rhc_at_[hidden]> wrote:
>>>
>>>> On Feb 20, 2013, at 12:08 PM, Dmitri Gribenko <gribozavr_at_[hidden]> wrote:
>>>>
>>>>> On Wed, Feb 20, 2013 at 10:05 PM, Ralph Castain <rhc_at_[hidden]> wrote:
>>>>>> On Feb 20, 2013, at 11:39 AM, Dmitri Gribenko <gribozavr_at_[hidden]> wrote:
>>>>>>
>>>>>>> On Wed, Feb 20, 2013 at 9:34 PM, Jeff Squyres (jsquyres)
>>>>>>> <jsquyres_at_[hidden]> wrote:
>>>>>>>> If someone could write some generic java code to figure out the size of a java type (and either printf it out, or write it to a file, or otherwise be able to give that value to a shell script), that would be a good start.
>>>>>>> No need for that -- type sizes in Java are fixed.
>>>>>>>
>>>>>>> http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html
>>>>>> True - but the ones on the C-side are not, and that's the problem.
>>>>> My point was that there is no need to write java code to detect type
>>>>> sizes. About C types -- don't we already check those anyway? Sure,
>>>>> we need to match these with java side, but there's no need to write
>>>>> new code to check type sizes.
>>>>
>>>> I think you misunderstood - we are talking about writing build-system code that matches the discovered C-type sizes to the corresponding known Java type. This is the source of the reported problem.
>>>>
>>>> And yes - Jeff misspoke in his note. I've straightened him out over the phone. :-)
>>>>
>>>>> Dmitri
>>>>>
>>>>> --
>>>>> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
>>>>> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr_at_[hidden]>*/
>>>>> _______________________________________________
>>>>> devel mailing list
>>>>> devel_at_[hidden]
>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>>
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.