- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- The first longword (bytes 0 to 3) contains the base address. The base address plus the offset defines the first memory location (start) of the array.
- The second longword (bytes 4 to 7) contains the size of a single element of the array.
- The third longword (bytes 8 to 11) contains the offset. The offset is added to the base address to define the start of the array.
- The fourth longword (bytes 12 to 15) contains the low-order bit set if the array has been defined (storage allocated). Other bits may also be set by the compiler within this longword, for example, to indicate a contiguous array.
- The fifth longword (bytes 16 to 19) contains the number of dimensions (rank) of the array.
- The remaining longwords (bytes 20 up to 103) contain information about each dimension (up to seven). Each dimension is described by three additional longwords:
- The number of elements (extent)
- The distance between the starting address of two successive elements, in bytes.
- The lower bound
-----End of Quote-----
Thanks in advance...
Message Edited by GalaTyp on 02-10-2006 08:19 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Array descriptor formats are specific to each Fortran compiler. Code that uses array descriptors is not portable to other compilers or platforms. For example, the current Intel Fortran array descriptor format differs from the array descriptor format for Intel Fortran 7.0.
-
The first longword (bytes 0 to 3) contains the base address. The base address plus the offset defines the first memory location (start) of the array.
-
The second longword (bytes 4 to 7) contains the size of a single element of the array.
-
The third longword (bytes 8 to 11) contains the offset. The offset is added to the base address to define the start of the array.
-
The fourth longword (bytes 12 to 15) contains the low-order bit set if the array has been defined (storage allocated). Other bits may also be set by the compiler within this longword, for example, to indicate a contiguous array.
-
The fifth longword (bytes 16 to 19) contains the number of dimensions (rank) of the array.
-
The sixth longword (bytes 20 to 23) is reserved.
-
The remaining longwords (bytes 24 up to 107) contain information about each dimension (up to seven). Each dimension is described by three additional longwords:
-
The number of elements (extent)
-
The distance between the starting address of two successive elements in this dimension, in bytes.
-
The lower bound
-
----End of Quote----
Where can i find the same information for 7.1 version ?
Message Edited by GalaTyp on 02-10-2006 09:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My advice is to switch to a more recent compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Galatyp,
You could write a small routine that youcall at the start of the application that verifies the programming assumptions of the array descriptor. This way you can use what is known now and be notified later if a significant change is made. And while you are doing this write a set of access routines such that all of code dependent on the array descriptors are within the same program module.
Jim Dempsey

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page