Re: [OMPI users] MPI_SUM and MPI_REAL16 with MPI_ALLREDUCE in fortran90

2008-10-28 Thread Julien Devriendt
ppily with quad prec on your machine? How about one-way reductions? On Tue, 2008-10-28 at 08:47 +0000, Julien Devriendt wrote: Thanks for your suggestions. I tried them all (declaring my variables as REAL*16 or REAL(16)) to no avail. I still get the wrong answer with my call to MPI_ALLREDUCE

Re: [OMPI users] MPI_SUM and MPI_REAL16 with MPI_ALLREDUCE in fortran90

2008-10-28 Thread Julien Devriendt
) end and checking if the output matches your expectations. Jeff Squyres wrote: I dabble in Fortran but am not an expert -- is REAL(kind=16) the same as REAL*16? MPI_REAL16 should be a 16 byte REAL; I'm not 100% sure that REAL(kind=16) is the same thing...? On Oct 23, 2008, at 7:37 AM, J

Re: [OMPI users] MPI_SUM and MPI_REAL16 with MPI_ALLREDUCE in fortran90

2008-10-28 Thread Julien Devriendt
pert -- is REAL(kind=16) the same as REAL*16? MPI_REAL16 should be a 16 byte REAL; I'm not 100% sure that REAL(kind=16) is the same thing...? On Oct 23, 2008, at 7:37 AM, Julien Devriendt wrote: Hi, I'm trying to do an MPI_ALLREDUCE with quadruple precision real and MPI_SUM and op

Re: [OMPI users] MPI_SUM and MPI_REAL16 with MPI_ALLREDUCE in fortran90

2008-10-28 Thread Julien Devriendt
; I'm not 100% sure that REAL(kind=16) is the same thing...? On Oct 23, 2008, at 7:37 AM, Julien Devriendt wrote: Hi, I'm trying to do an MPI_ALLREDUCE with quadruple precision real and MPI_SUM and open mpi does not give me the correct answer (vartemp is equal to vartored instead of

[OMPI users] MPI_SUM and MPI_REAL16 with MPI_ALLREDUCE in fortran90

2008-10-23 Thread Julien Devriendt
Hi, I'm trying to do an MPI_ALLREDUCE with quadruple precision real and MPI_SUM and open mpi does not give me the correct answer (vartemp is equal to vartored instead of 2*vartored). Switching to double precision real works fine. My version of openmpi is 1.2.7 and it has been compiled with if