If you are using an HPUX resembling HPUX10.20 (I don't know about HPUX11) I expect you are running up against a system configuration
setting, which requires administrator and reboot action to reset the limit. As I am now unemployed, I don't have access to an HPUX
box to check the details.
----- Original Message -----
From: "Hassan, Khaled" <[log in to unmask]>
To: "'Fortran 90 discussion'" <[log in to unmask]>
Sent: Wednesday, May 17, 2000 9:58 AM
Subject: Help with a large Fortran 90 code
> Greetings,
>
> I need help with memory allocation in fortran 90. I am trying to
> increase the amount of memory allocatable on an HP workstation.
> Currently, when I try to run my case using the command
>
> allocate (a1(max_last),stat=ierr)
>
> with max_last higher than 123,699,393, it returns with stat = 2, i.e.,
> not enough memory available. The machine I am using has 2GB RAM,
> so memory should not be an issue.
> I used ulimit -a to check on the memory size and found the stack size
> to be 81.5 MB and heap at 2.015 MB.
> I was wondering if anyone has some solution or if he can point
> me in the right direction. Thanks.
>
> Khaled Hassan
> Senior Engineer
> Honeywell Engines & Systems
> *(602) 231-3620
> *(602) 231-3087
>
>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|