CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens

memory management under unix system

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2005, 05:57
Default memory management under unix system
  #1
nicolas
Guest
 
Posts: n/a
Hi,

I have an important problem with management of memory under unix os (kernel : 2.4.18-6mdkenterprise). I would like to submit a job using 2 Go of ram. We have a quadriprocessor with 4 Go of ram. But the os seems to divide the total memory ressources by the number of processors (impossible to run a job exceeding 1 Go of ram). Can you give me some advice concerning modifications of our system os in order to allow large computation (without pro-hpc license).

Cordially yours.

  Reply With Quote

Old   March 21, 2005, 10:17
Default Re: memory management under unix system
  #2
Jörn Beilke
Guest
 
Posts: n/a
Either you switch to a 64bit platform or you run the case in parallel.
  Reply With Quote

Old   March 21, 2005, 13:38
Default Re: memory management under unix system
  #3
nicolas
Guest
 
Posts: n/a
There is no other way to allocate the total amount of memory to a single processor?
  Reply With Quote

Old   March 22, 2005, 05:36
Default Re: memory management under unix system
  #4
4xF
Guest
 
Posts: n/a
My guess is that this is set by kernel parameters, for which a given amount of mem is set per processor. Can you check that?
  Reply With Quote

Old   March 22, 2005, 13:00
Default Re: memory management under unix system
  #5
nicolas
Guest
 
Posts: n/a
High memory is activated, but submission of large simulation (executable of 2 Go) is still impossible (segmentation fault). Have you please some advice about kernel parameter in order to allow my computation ?
  Reply With Quote

Old   March 22, 2005, 13:58
Default Re: memory management under unix system
  #6
4xF
Guest
 
Posts: n/a
BTW, which version of the code are you using and with which kind of operating system? Is it by chance Linux and v3.150A?
  Reply With Quote

Old   March 22, 2005, 14:04
Default Re: memory management under unix system
  #7
nicolas
Guest
 
Posts: n/a
I used linux with release v3.150A. I hope that you have the solution or informations about configuration of pro hpc on multi proc linux server.

Thancks by advance
  Reply With Quote

Old   March 22, 2005, 14:32
Default Re: memory management under unix system
  #8
4xF
Guest
 
Posts: n/a
Then the reason is why you cannot run a simulation requiring more than 1 GB of memory comes from the dynamic linking of libraries. Solution: You need to compile a static executable with the additional compile option -Y, hence from the command line: star -Y -snf star-star.exe instead of the default options: star -svf star-star.exe

Note that star-star.exe is the default executable name. For getting all the starlink options => starlink -h

Enjoy... ;-)
  Reply With Quote

Old   March 23, 2005, 05:43
Default Re: memory management under unix system
  #9
nicolas
Guest
 
Posts: n/a
Always trouble with compilation. Y option do not appears in my compilator options (Absoft fortran 77 compiler 5.0). In your previous message you recommand to use : star -Y -snf star.exe star is not a valid command (you may be think to starlink ??).

Actually i'm looking to used prohpc, but i have some trouble with mpich environment setup but i keep faith

Help is welcome
  Reply With Quote

Old   March 23, 2005, 06:47
Default Re: memory management under unix system
  #10
Jörn Beilke
Guest
 
Posts: n/a
Iy you want to use between 1GB and 2GB with your version you have to add the -Y switch when doing the starlink.

> starlink -Y .....

  Reply With Quote

Old   March 23, 2005, 09:50
Default Re: memory management under unix system
  #11
4xF
Guest
 
Posts: n/a
First, I apologize. You should have read starlink instead of star (that happens when you write it at late hours...). Anyway, for parallel runs, please install the mpich libraries the STAR-CD support office should have provided you with (latest version is 1.2.4 to my best knowledge). If they are already installed, check the environment variables MPI_ROOT, MPI_DEVICE and MPI_ARCH. Adding $MPI_ROOT/$MPI_ARCH/$MPI_DEVICE/bin to you $PATH should allow you to find mpirun. That's something to start with... For additional details, please read the installation guide...

Hope this helps you further.
  Reply With Quote

Old   April 5, 2005, 04:16
Default Re: memory management under unix system
  #12
ali
Guest
 
Posts: n/a
respected sir i m looking for hte detail of the topic according to the operating system point of view your positive action in this regard will be highly appriciated
  Reply With Quote

Old   April 7, 2005, 04:32
Default Re: memory management under unix system
  #13
omair aamir
Guest
 
Posts: n/a
i need the complete documentation and code if provided please consider my request thanking you
  Reply With Quote

Old   April 21, 2005, 09:51
Default Re: memory management under unix system
  #14
Gustav W
Guest
 
Posts: n/a
please send me the notes
  Reply With Quote

Old   July 2, 2005, 17:47
Default Re: memory management under unix system
  #15
tallat
Guest
 
Posts: n/a
i want details of this topic
  Reply With Quote

Old   August 3, 2005, 14:52
Default Re: memory management under unix system
  #16
kumar
Guest
 
Posts: n/a
mesg from mem.mang on unix
  Reply With Quote

Old   October 7, 2005, 08:30
Default Re: memory management under unix system *NM*
  #17
satheeshkumar
Guest
 
Posts: n/a
  Reply With Quote

Old   October 15, 2005, 09:19
Default Re: memory management under unix system
  #18
girish gaurav
Guest
 
Posts: n/a
plz send me the the a breif detail about memory management in unix system. i will be greatfull to you. girish gaurav

  Reply With Quote

Old   November 8, 2005, 06:06
Default Re: memory management under unix system
  #19
sarvani kalagara
Guest
 
Posts: n/a
sir, can u please send me this article u have written on unix memory mangement as i need it for my project work..

thanking you

sarvani k

  Reply With Quote

Old   December 28, 2005, 04:34
Default unix memory managment
  #20
iftikhar khan
Guest
 
Posts: n/a
send me notes
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving mesh in unix system? xhliu1 Siemens 0 November 9, 2006 19:07
Memory management incongruence Flavio CFX 5 November 1, 2006 13:18
how to define memory allocation factor in unix steven CFX 1 October 25, 2005 11:26
memory problems with a code on unix vince Main CFD Forum 2 November 5, 2002 04:48
memory management! Tingguang Ma Main CFD Forum 3 October 25, 2000 09:35


All times are GMT -4. The time now is 03:09.