Array with more than 7 dimensions?

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Jun 25 17:56:00 GMT 2015


On Mon, Jun 22, 2015 at 10:46:49AM -0500, Hector E Barrios Molano wrote:
> Hi gfortran comunity,
> 
> is gfortran able to handle more than 7 dimensions in array specification?
> 

Not at the moment.  From gcc/fortran/libgfortran.h, one has

/* FIXME: Increase to 15 for Fortran 2008. Also needs changes to
   GFC_DTYPE_RANK_MASK. See PR 36825.  */
#define GFC_MAX_DIMENSIONS 7

IIRC, the switch to 15 is tied to the array descriptor reform,
but that work has once again stalled due toi lack of manpower.

-- 
Steve



More information about the Fortran mailing list