Re: [OMPI users] Use of __float128 with openmpi

2014-02-03 Thread Patrick Boehl
Hello George, thank you a lot! Everything seems to work now! :) Best, Patrick On 02.02.2014, at 14:15, George Bosilca wrote: > Just go for the most trivial: > > MPI_Type_contiguous(sizeof(__float128), MPI_BYTE, &my__float128); > > A little bit more info about the optional quad-precision flo

Re: [OMPI users] Use of __float128 with openmpi

2014-02-02 Thread George Bosilca
Just go for the most trivial: MPI_Type_contiguous(sizeof(__float128), MPI_BYTE, &my__float128); A little bit more info about the optional quad-precision floating-point format is available on Wikipedia (https://en.wikipedia.org/wiki/Double-double_%28arithmetic%29#Double-double_arithmetic). Ge

Re: [OMPI users] Use of __float128 with openmpi

2014-02-02 Thread Patrick Boehl
Hello Tim, thank you for your reply! On 01.02.2014, at 21:28, Tim Prince wrote: > Where openmpi refers to "portable C types" I would take long double to be the > 80-bit hardware format you would have in a standard build of gcc for x86_64. > You should be able to gain some insight by examining

Re: [OMPI users] Use of __float128 with openmpi

2014-02-02 Thread Patrick Boehl
Hello Jeff, thank you a lot for your reply! On 01.02.2014, at 23:07, Jeff Hammond wrote: > See Section 5.9.5 of MPI-3 or the section named "User-Defined > Reduction Operations" but presumably numbered differently in older > copies of the MPI standard. > > An older but still relevant online refe

Re: [OMPI users] Use of __float128 with openmpi

2014-02-01 Thread Jeff Hammond
See Section 5.9.5 of MPI-3 or the section named "User-Defined Reduction Operations" but presumably numbered differently in older copies of the MPI standard. An older but still relevant online reference is http://www.mpi-forum.org/docs/mpi-2.2/mpi22-report/node107.htm There is a proposal to suppor

Re: [OMPI users] Use of __float128 with openmpi

2014-02-01 Thread Tim Prince
On 02/01/2014 12:42 PM, Patrick Boehl wrote: Hi all, I have a question on datatypes in openmpi: Is there an (easy?) way to use __float128 variables with openmpi? Specifically, functions like MPI_Allreduce seem to give weird results with __float128. Essentially all I found was http://beige

Re: [OMPI users] Use of __float128 with openmpi

2014-02-01 Thread Tim Prince
On 02/01/2014 12:42 PM, Patrick Boehl wrote: Hi all, I have a question on datatypes in openmpi: Is there an (easy?) way to use __float128 variables with openmpi? Specifically, functions like MPI_Allreduce seem to give weird results with __float128. Essentially all I found was http://beige