Re: [OMPI users] fortran program with integer kind=8 using openmpi?

2012-07-05 Thread Jeff Squyres
On Jul 3, 2012, at 8:12 PM, Steve Kargl wrote: >> Thank you for all responses. There is another problem using >> -fdefault-integer-8. > > I'll make the unsolicited suggestion that you really > really really don't want to use the -fdefault-integer-8 > option. It would be far better to actually au

Re: [OMPI users] fortran program with integer kind=8 using openmpi?

2012-07-03 Thread Steve Kargl
On Tue, Jul 03, 2012 at 04:03:51PM -0700, William Au wrote: > > Dear all, > > Thank you for all responses. There is another problem using > -fdefault-integer-8. I'll make the unsolicited suggestion that you really really really don't want to use the -fdefault-integer-8 option. It would be far b

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-07-03 Thread Jeff Squyres
rs-boun...@open-mpi.org] De la > part de Jeff Squyres > Envoyé : 2 juillet 2012 15:55 > À : Open MPI Users > Objet : Re: [OMPI users] fortran program with integer kind=8 using openmpi > > Huh. That's weird. I'll file a ticket. > > FWIW, I think compiling OMPI

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-07-03 Thread Secretan Yves
boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] De la part de Jeff Squyres Envoyé : 2 juillet 2012 15:55 À : Open MPI Users Objet : Re: [OMPI users] fortran program with integer kind=8 using openmpi Huh. That's weird. I'll file a ticket. FWIW, I think compiling OMPI with -i

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-07-02 Thread Jeff Squyres
> William Au [au_wai_ch...@hotmail.com] > Date d'envoi : 29 juin 2012 19:15 > À : us...@open-mpi.org > Objet : Re: [OMPI users] fortran program with integer kind=8 using openmpi > > My concern is how do the C side know fortran integer using 8 bytes? &

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-07-01 Thread George Bosilca
will take care of IN be INTEGER*8, but will > it do the same for MPI_2INTEGER in the C side > > Thanks. > > Regards, > > William > > > > Date: Fri, 29 Jun 2012 07:03:18 -0400 > From: Jeff Squyres > Subject: Re: [OMPI users] fortran program with integer kind=8

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-06-29 Thread William Au
OMM, IERR) The compiler options will take care of IN be INTEGER*8, but will it do the same for MPI_2INTEGER in the C side Thanks. Regards, William List-Post: users@lists.open-mpi.org Date: Fri, 29 Jun 2012 07:03:18 -0400 From: Jeff Squyres Subject: Re: [OMPI users] fortran program with integ

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-06-29 Thread Secretan Yves
s Objet : Re: [OMPI users] fortran program with integer kind=8 using openmpi On Jun 28, 2012, at 8:37 PM, David Warren wrote: > You should not have to recompile openmpi, but you do have to use the correct > type. You can check the size of integers in your fortrana nd use MPI_INTEGER4 > or

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-06-29 Thread Jeff Squyres
On Jun 28, 2012, at 8:37 PM, David Warren wrote: > You should not have to recompile openmpi, but you do have to use the correct > type. You can check the size of integers in your fortrana nd use MPI_INTEGER4 > or MPI_INTEGER8 depending on what you get. If you configure ompi with -fdefault-integ

Re: [OMPI users] fortran program with integer kind=8 using openmpi

2012-06-28 Thread David Warren
You should not have to recompile openmpi, but you do have to use the correct type. You can check the size of integers in your fortrana nd use MPI_INTEGER4 or MPI_INTEGER8 depending on what you get. in gfortran use integer i if(sizeof(i) .eq. 8) then mpi_int_type=MPI_INTEGER8 else mpi_int