3 Replies Latest reply on Aug 14, 2013 6:38 PM by fortranguru

    SIZE(Array, KIND= SELECTED_INT_KIND(12))

    fortranguru

      Hi All.

      My first Post.

       

      The Open64 Fortran Compiler does not Like

          SIZE(Array, KIND= SELECTED_INT_KIND(12))

      How do I get the Size of a (multimensional) Array,

      that might have more Elements than 2**31-1?

      Such a Construct seems to be allowed in Fortran2003.

      The Intel Compiler accepts it, and gives the

      correct Result. g95 accepts it, but gives a wrong Result.

      I did not try other Compilers (yet).

       

      Sincerely,

       

      Warner Bruns