[mpas-developers] comments on MPAS code

Philip Jones pwjones at lanl.gov
Wed May 19 14:25:26 MDT 2010


Todd et al.,

> * The macro RKIND is used with values 4 or 8 to indicate
>  either 4 or 8-byte reals.

Using the selected_real_kind intrinsic is a good
portable way to handle this.

>  ...  Unfortunately different compilers can have
>  different notions of what '-r8' does,

Indeed, we've had very bad experiences with such
autopromotion in the past...

Phil

---
Correspondence/TSPA/DUSA AOE
------------------------------------------------------------
Philip Jones                                pwjones at lanl.gov
T-3 MS B216                                 Ph: 505-667-6387
Los Alamos National Lab                    Fax: 505-665-5926
Los Alamos, NM 87545-1663





More information about the mpas-developers mailing list