AnsweredAssumed Answered

SIZE(Array, KIND= SELECTED_INT_KIND(12))

Question asked by fortranguru on Aug 14, 2013

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

Outcomes