[petsc-dev] fortran literals

William Gropp wgropp at illinois.edu
Fri Sep 2 00:51:15 CDT 2016

This is true.  The meaning of integer values of kind is up to the implementation, and at least two choices are in use.


William Gropp
Acting Director and Chief Scientist, NCSA
Director, Parallel Computing Institute
Thomas M. Siebel Chair in Computer Science
University of Illinois Urbana-Champaign

On Sep 1, 2016, at 6:15 PM, Blaise A Bourdin <bourdin at lsu.edu> wrote:

> If I recall correctly, fortran does not mandate that "selected_real_kind(5)" means the same across compilers, so that hardcoding kind values may not be portable.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20160902/db2bf3f6/attachment.html>

More information about the petsc-dev mailing list