ITEM: E6135L

FORTRAN code failing with "not enough space"


Question:

I am running AIX v3.2.4.  I have two hard drives, both in rootvg.  I
have 128 MB of RAM and 144 MB of paging space, all in hd6.  When I do
a df, all is OK.  /usr is 93% full and is the fullest filesystem.

I have a FORTRAN program which does a lot of disk I/O and also uses
/tmp to store data.  I can limit the amount of memory that it uses,
but I keep getting:

11784 could not load program: not enough space

Where I think the 11784 is the PID.  The program writes to /tmp until
it gets full when I decrease the size of memory that I use.  /tmp is
40 MB in size.  When I increase the memory, the program automatically
fails with the above error.

The code is doing some numerical crunching dealing with a hydrodynamic
model of the water flow and currents in a bay on the east coast.  Why
does the error say not enought space?  When I ran it and continually
did a lsps -a , the %used never changed from 27%.  Also, right now I
am not full in any of my filesystems.  I am going to try and figure
out how to make it write to /home instead of /tmp.  I would like to
know if there is anything else I should be checking.

Response:

Error message indicates that the Fortran program is too big for the
amount of memory allowed to this user.

1.  Use the "size" command on the program - size -h produces a header
for the output of the command.  Note the size of the .data segment and
.bss segment.

2.  As the superuser, change the amount of memory available for the
user to either the current limit plus the sum of the .data and .bss
segments, or 524288.

3.  Log out and then back in as the user, and rerun the program.


Support Line: FORTRAN code failing with "not enough space" ITEM: E6135L
Dated: November 1993 Category: N/A
This HTML file was generated 99/06/24~13:30:53
Comments or suggestions? Contact us