[Info-vax] problems allocating "large" arrays in OpenVMS-Fortran
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Mon Oct 28 09:27:40 EDT 2013
In article <l4lidb$uhf$1 at speranza.aioe.org>, Joukj <joukj at hrem.nano.tudelft.nl> writes:
>VAXman- @SendSpamHere.ORG wrote:
>> In article <l4lenl$lh1$1 at speranza.aioe.org>, Joukj <joukj at hrem.nano.tudelft.nl> writes:
>>
>> 1*1000*1000*1000 => 1000000000 or %x3B9ACA00
>> 2*1000*1000*1000 => 2000000000 or %x77359400
>>
>> I'm pretty sure that your Fortran is carving the array space out of the
>> process's P0 space. That's %x00000000 to %x3FFFFFFF. With GB=2, you've
>> exceeded this.
>>
>> You need to use ADDRESS64 which will use P2 space for the allocation.
>>
>Tried to force the ADDRESS64 attribute on the array:
>
>program test
>!
> integer ( kind = 1 ) , allocatable :: size_array( : , : , : )
> integer ( kind = 4 ) , parameter :: dimens = 1000
> real ( kind = 4 ) :: gbs
>!
>!DEC$ATTRIBUTES ADDRESS64 :: size_array
cDEC$ ATTRIBUTES ADDRESS64 :: size_array
-----^----------^---------^--^---------- spaces
^---- c is one of the following: C or c or ! or *.
Try again with a SPACE in your directive statement.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
Well I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list