Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] mpi/java question
From: Dmitri Gribenko (gribozavr_at_[hidden])
Date: 2013-02-20 14:39:13


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

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]>*/