Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!yale!cmcl2!lanl!ttw From: ttw@lanl.gov (Tony Warnock) Newsgroups: comp.lang.fortran Subject: array addressing with pointers Keywords: overhead Message-ID: <8086@lanl.gov> Date: 6 Dec 90 20:44:33 GMT Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 16 In a 1000 by 1000 by 1000 by 1000 by 50 array, would someone please post the pointer structure that allows access sequentially in each dimension? How big is the resulting set of pointers? How many memory accesses per element? If the 50 is the last dimension accessed, one needs at least 240240240240000 pointers which is half the number of data elements in order to access each of the other dimensions in any of the 24 orders. If there is a better orgainzation, it would be good if someone would post it. The requirements are that each dimension may be accessed in the 5-dimensional loop in any order.