Go to SCD News table of contents

SCD News > Update: March 3, 2003

Increase memory limits on IBM-SPs and SGIs for large applications

>2 gigabyte applications may require increase in stacksize or datasize

SCD icon

If your IBM-SP application uses large memory (>2 gigabytes), you may need to increase the stacksize or datasize available by using the limit command in your .cshrc file, or the ulimit command in your .shrc or .kshrc files.

Here are appropriate lines for .cshrc:

limit stacksize unlimited
limit datasize unlimited

If you are not a cshell or tcshell user, you will need to use the equivalent ulimit commands.

Failure to increase the datasize and stacksize limits may result in a diagnostic such as

fatal:NclMalloc Failed:[errno=12]:Not enough space
Segmentation fault (core dumped)

The situation on SGIs is similar, except there you need to place the limit/ulimit lines in your qsub or runtime scripts.

Please direct questions to the SCD Consultants consult1@ucar.edu.

SCD News   ||  UCAR  ||  NCAR   ||   SCD   ||   Contact us   ||  Search
NCAR is managed by UCAR and sponsored by the National Science Foundation
Go to UCAR home pageGo to NCAR home page