[Info-vax] problems allocating "large" arrays in OpenVMS-Fortran
Simon Clubley
clubley at remove_me.eisner.decus.org-Earth.UFP
Tue Oct 29 15:10:52 EDT 2013
On 2013-10-29, Joukj <joukj at hrem.nano.tudelft.nl> wrote:
> Stephen Hoffman wrote:
>> If the ATTRIBUTES ADDRESS64 mechanism isn't working with the Fortran
>> compiler for Itanium, then you're left with a support call to HP if
>> you're on the latest Fortran, or working around the limitation somehow
>> if there's no HP support access available. (Fortran has its own and
>> rather unique take on pointers, just to keep all of this stuff
>> interesting, too.)
>>
> Unfortunately I do not have a service contract. However, I submitted the
> problem this morning "unofficially" to engineering.
>
> In the mean time I figured out that for 1-dimensional arrays, I can use
> Dec-Pointers and LIB$GET_VM_64.
>
> I have no idea how to get multt-dimensional arrays working without much
> code-change.
>
Did you try running SDA as I suggested to see where the memory is being
allocated to within the virtual address space when using the builtin
Fortran intrinsic ?
It would be interesting to see if it's P0 space or not.
Alternatively, are there any intrinsics or other facilities within
Fortran to see the base address of the allocated memory ?
(Making sure of course they return the base address of the memory and
not the address of some descriptor describing that memory.)
Simon.
--
Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP
Microsoft: Bringing you 1980s technology to a 21st century world
More information about the Info-vax
mailing list