[mpich-discuss] How to send data with fortran kind "REAL( kind =10 ) ::a"

Rajeev Thakur thakur at mcs.anl.gov
Sat Mar 24 12:06:15 CDT 2012


See Section 16.2.5 "Additional Support for Fortran Numeric Intrinsic Types" in the MPI 2.2 standard.

On Mar 23, 2012, at 10:37 PM, 孔涛 wrote:

> Hello, everyone,
> 
> In fortran, with gfortran compiler ,for REAL type, use MPI_REAL,while MPI_DOUBLE_RPECISION for REAL(kind=8), when sending data, but if I want to gain more precision, and use type of REAL(kind=10) data, how to send it in MPI_REDUCE, the point is what's the MPI type of the data. I definitely know that ,MPI_REAL & MPI_DOUBLE_RPECISION will get a false result!
> 
> Thank you, and  waitiong for your reply ^^
> 
> -- 
> 孔涛 Tao Kong
> vision.kt at gmail.com
> 山东大学数学学院 | School of Maths. Shandong Univ. P.R.C.
> 
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list