CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

memory problems with a code on unix

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 4, 2002, 18:25
Default memory problems with a code on unix
  #1
vince
Guest
 
Posts: n/a
Hello,

I want to run a fortran code on an unix station but the execution generate errors due to insufficient memory. I precise that during the run the code need to write many intermediate files.

I think I need to extend the swapping memory. What are the unix commande which can solve my problem?

vince
  Reply With Quote

Old   November 5, 2002, 04:31
Default Re: memory problems with a code on unix
  #2
Rob
Guest
 
Posts: n/a
I would firstly check that you have access to all of the standard memory. Depending on how the machine is set up you might have an allocation of only part of the total memory for any one job. For example, on one multi-processor machine I use there is 1GB of RAM, but the default setting is only 250MB for any job, unless you tell it otherwise.

Try issuing the command

limit

and you should see a list of limits that can be set. In particular stacksize and memoryuse should be equal to the total memory available. To do this type

limit stacksize unlimited limit memoryuse unlimited

If you really need to use virtual memory then I think this can also be set with the command

limit vmemoryuse unlimited

but beware of using so much virtual memory that you can no longer write to disk.
  Reply With Quote

Old   November 5, 2002, 04:48
Default Re: memory problems with a code on unix - cont.
  #3
Rob
Guest
 
Posts: n/a
Sorry - message hasn't appeared quite as planned.

The commands

limit stacksize unlimited

and

limit memoryuse unlimited

should by typed separately.
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
From 2D compressible code to 3D code David Liu Main CFD Forum 22 June 26, 2012 17:59
Memory Problems David Baker CD-adapco 5 March 1, 2007 22:04
Problems with dynamic memory allocation Syed CD-adapco 0 July 23, 2006 12:02
Moving Mesh Problem in Unix Platform Arnab CD-adapco 3 August 16, 2004 08:59
Lets start the public domain CFD-Project! Heinz Wilkening Main CFD Forum 3 March 11, 1999 23:55


All times are GMT -4. The time now is 00:23.