Re: [OMPI users] warnings and anachronisms in openmpi-1.7.4

2014-02-10 Thread Siegmar Gross
Hi Oscar, I always favor no warnings, but it's not me to make this decision. Kind regards and thank you very much for your replies Siegmar > Quoting Siegmar Gross : > > > Hi Oscar, > > > >> The warnings of type "cast to pointer from integer of different size" > >> are provoked when a jlong (

Re: [OMPI users] warnings and anachronisms in openmpi-1.7.4

2014-02-09 Thread Oscar Vega-Gisbert
Quoting Siegmar Gross : Hi Oscar, The warnings of type "cast to pointer from integer of different size" are provoked when a jlong (64 bit handle in Java) is copied to a C pointer (32 bit) or vice versa. These warnings could be avoided with methods like these: void* ompi_java_cHandle(jlo

Re: [OMPI users] warnings and anachronisms in openmpi-1.7.4

2014-02-09 Thread Siegmar Gross
Hi Oscar, > The warnings of type "cast to pointer from integer of different size" > are provoked when a jlong (64 bit handle in Java) is copied to a C > pointer (32 bit) or vice versa. > > These warnings could be avoided with methods like these: > > void* ompi_java_cHandle(jlong handle)

Re: [OMPI users] warnings and anachronisms in openmpi-1.7.4

2014-02-09 Thread Oscar Vega-Gisbert
Hi, The warnings of type "cast to pointer from integer of different size" are provoked when a jlong (64 bit handle in Java) is copied to a C pointer (32 bit) or vice versa. These warnings could be avoided with methods like these: void* ompi_java_cHandle(jlong handle) { unio

[OMPI users] warnings and anachronisms in openmpi-1.7.4

2014-02-07 Thread Siegmar Gross
Hi, yesterday I compiled 32- and 64-bit versions of openmpi-1.7.4 for my platforms (Solaris 10 sparc, Solaris 10 x86_64, and openSUSE Linux 12.1 x86_64) with Sun C 5.12 and gcc-4.8.0. I could build a 64-bit version for Linux with gcc without warnings. Everything else showed warnings. I received ma