SUMMARY - f77 1.4 limits

From: Joe Murray (murray@akeila.mech.utah.edu)
Date: Wed Mar 24 1993 - 21:11:04 CST


Original question:

>Sun-Managers,
>
>We have a SS2 with 32meg ram and OS4.1.2. I am trying to run some code
>(fortran) with some very large array's. The sun fortran compiler (v. 1.4)
>gives me an error:
>
>stat: Not Enough Memory
>
>I looked through the documentation and the man pages (our documentation
>is not for this version) and could not find any info on limits. Does
>anyone have any info on how to estimate the size of arrays with the
>given ram or if there is a limit in sun fortran?
>
>Thanks,

Summary:

The general response was add swap space with mkfile and swapon. Make sure
to do a pstat -s to insure the new swap was in fact opened. I did receive a
program to check the kernel for limits but have not had a chance to try it.
If anyone is interested in a copy of the program send me mail. With 20Meg
of additional swap everything ran fine.

Final note: It seems obvious now but one way to estimate the total ram
necessary is as follows.

        "You can also simply use the fact that DOUBLE PRECISION
        arrays take 8 bytes per element, REAL arrays and INTEGER arrays
        take 4 bytes per element and INTEGER*2 arrays take 2 bytes per
        element to get a lower limit on the swap space you need."

Or.

        "Use the size command on the linked image."

Thanks to:

Patrick L. Nolan
Marianne Mueller
Dany De Vleeschhauwer
Marcel Bernards
B. Shorter
Stuart Shapiro
Patrick O'Callaghan
Ralph Finch
Andy Feldt
Fabrice Cuq
Keith Bierman
Glenn Satchell
Perry Hutchison
danny@ews7.dseg.ti.com
Phill St-Louis

****************************************************************************
** Joseph Murray | Ph. 801 585 3520 **
** University of Utah | Fax. 801 581 8692 **
** 3209 MEB | Email murray@akeila.mech.utah.edu **
** Department of Mechanical Engr. | **
** Physical Fluid Dynamics Laboratory | **
** Salt Lake City, UT 84112 | **
****************************************************************************



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:38 CDT