"Hassan, Khaled" wrote:
>
> 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.
Well-
this seems more like a HP issue to me. You did not write which version
of HPUX you use (11? 10.20?), but for the ones that I used, there
were kernel parameters that limited several segments of user programs-
I *think* it was stack, text and data. Use SAM (the administration tool)
to check for these parameters in the kernel configuration and adjust
them.
Good luck, and hope this helps.
Klaus
--
[log in to unmask] - www.ramstock.de
Am Krag 12g, 55286 Wörrstadt
phone +49 6732 963434 - fax +49 6732 963435
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|