Sunteți pe pagina 1din 8

running out of memory in Gambit, Help!!!

-- CFD Online Discussion Forums

[Sponsors]

Home About

News Search

Forums

Wiki

Links

Jobs

Books

Events

Tools

Feeds

Home > Forums > FLUENT

running out of memory in Gambit, Help!!!


REGISTEr BLOGS COMMUNITY NEW POSTS

User Name User Name Password

Remember Me
Log in

UpDATED THrEADS

SEArcH


January 1, 2006, 20:49
running out of memory in Gambit, Help!!!

LINKBAcK

THrEAD TOOLS

DISpLAY MODES

#1

ahmet

Guest

Posts: n/a

Hi guys;
I am using Gambit on a supercomputer (unix) and running out of memory while meshing a 6 ft circular duct (6 inch. dia) with 0.1 inch. 'stairstep'.
I submitted a batch job specifying 4 CPUs (parallel) and 8gb of memory, however the process was killed after 7000 something seconds. Out of memory!!! (how come???).
The system technician told me that I probably underspecified number of CPUs and memory in Gambit (What???).
Anyone knows how to specify memory usage in Gambit (if there is any)?
Thanks in advance.
Ahmet

January 1, 2006, 20:58

Re: running out of memory in Gambit, Help!!!

#2

ahmet

Guest

Posts: n/a

By the way, I specified the 4 cpus and 8gb memory outside gambit. The batch file I submitted is as follows.
----------------------------
#PBS -N duct
#PBS -S /bin/tcsh
#PBS -j oe
#PBS -l cput=10:00:00
#PBS -l ncpus=4,mem=8gb

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums

cd /scratch/a0u8545/060102
module load gambit
gambit -inp 6inch.jou
qstat -f $PBS_JOBID
----------------------------

January 3, 2006, 11:44

Re: running out of memory in Gambit, Help!!!

#3

Jason

Guest

Posts: n/a

Gambit doesn't run in parallel, no matter how many processors you define in your LSF (I'm assuming it's an LSF or some variant based on the input scripts... I use similar stuff here at work). And depending on how your LSF is set up, a single process is often limited to 2Gb of RAM. Some LSFs let you unset the per-process memory limit (The per-process memory limit is different from the memory allotted per processor... like when you're running 3 or 4 programs on your desktop at home... EACH of those programs is limited to a maximum RAM usage of 2Gb by the operating system no matter how much RAM is in the computer).
A quick estimate of your mesh size though... 6" diameter x 6' long pipe... that's a volume of ~2035in^3... a .1" hex mesh would result in about ~2million elements. You shouldn't be hitting a memory limits with that small a mesh. I've meshed 8 million tet elements with complicated geometry without any memory limits. I wonder if there's something going on in your Gambit journal that's causing the problem.
Good luck, Jason

January 4, 2006, 14:53

Re: running out of memory in Gambit, Help!!!

#4

ahmet

Guest

Posts: n/a

Hi Jason,
First of all thanks for the information on the processor and the RAM. That means I need to deal with less variables.
The journal file should work ok because I tried it with simpler geometries.
I learned that there is a program variable that you can set the memory
"global..gambitmem"
However, I couldn't get it to work so far. Maybe I am typing it in wrong. It also said gambitmem is not defined.
The following link has the information on that if you are interested. http://zsc.zcu.cz/sw/manuals/gambit/...htm#cr05010204
Thanks again.
Ahmet

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums

August 8, 2009, 17:31

Need help

#5

akshayygarg
New Member
Akshayy Garg Join Date: Aug 2009 Location: delhi, india
Posts: 6
Rep Power: 6

HiI am running out of memory 2gb although i have ram of 4gb and space more than 40gb on disk. plz need help. program icrashin don again and again.Akshayy Garg

August 10, 2009, 02:05

#6

-mAx-

Super Moderator

you are trying to mesh something which ask lot's of memory.


Decrease the mesh size, or split your domain
__________________ In memory of my friend Herv: CFD engineer & freerider

Maxime Perelli Join Date: Mar 2009 Location: Switzerland


Posts: 2,699
Rep Power: 27

August 10, 2009, 02:22

Problem with Fine Volume Meshing in Gambit

#7

akshayygarg
New Member
Akshayy Garg Join Date: Aug 2009 Location: delhi, india
Posts: 6
Rep Power: 6

Hi
Thanks for the earlier reply. Actual problem is this.
I have two volumes:
Vol1. Cylindrical - 340mm dia and 600mm height
Vol2. Cubical - 200X200X0.3mm
100 volumes of Vol2 are kept in middle of Vol1. Now these 100 volumes are subtracted from Vol1. The new volume so formed has to be meshed using GAMBIT. But due to very fine volumes i am not able to do so.
Kindly Help.
Akshayy Garg
(IIT Delhi)

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums

August 10, 2009, 04:26

#8

-mAx-

Super Moderator

split your domain (by dividing it, you will mesh subvolumes which will ask less memory)
__________________ In memory of my friend Herv: CFD engineer & freerider

Maxime Perelli Join Date: Mar 2009 Location: Switzerland


Posts: 2,699
Rep Power: 27

August 10, 2009, 08:51

#9

Daniel Tanner
Member
Daniel Tanner Join Date: Apr 2009
Posts: 54
Rep Power: 6

Gambit is 32-bit and not parallelised. This means that a gambit process can access a theoretical maximum of 2^32 bits of RAM ~ 4Gb. However, these are limited by the platform you are using (Windows/Linux....) to ~2Gb. If you have memory issues: reduce mesh size, split mesh into smaller volumes or use TGrid (which is 64-bit).

August 12, 2009, 04:08

#10

-mAx-

Super Moderator

but gambit for linux amd64, should be 64bit.


I assume it can handle more than 2GB, right?
__________________ In memory of my friend Herv: CFD engineer & freerider

Maxime Perelli Join Date: Mar 2009 Location: Switzerland


Posts: 2,699
Rep Power: 27

August 12, 2009, 04:41

#11

Daniel Tanner
Member
Daniel Tanner Join Date: Apr 2009
Posts: 54

Sorry, Max is right. I hadn't realised that the 64-bit version was available. However, the rest still holds. 32-bit => ~2 Gb but if you have access to a 64-bit computer you will not have any problems. If you are stuck with 32-bit then split domain, reduce mesh size.

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums

Rep Power: 6

April 6, 2011, 14:05

#12

Geon-Hong

Jason/
Thanks. Your reply helps me to solve my problem.
Every time I meshing a 3D wing I encountered memory problem of GAMBIT, which was terminated due to excess of memory of 2GB.
It was totally journal file problem!
I removed the journal file and finally completed meshing the wing.

New Member
Geon-Hong Kim Join Date: Feb 2010 Location: Ulsan, Republic of Korea
Posts: 27
Rep Power: 6

April 18, 2011, 04:29

Heeeeelp meeeee

#13

Ghayoumi
New Member

i have this problem too, but i can't solve it, please help me .....
please enlarge it ......

Ghayoumi Join Date: Apr 2011


Posts: 4
Rep Power: 4

October 10, 2011, 12:36

i am confused of .

#14

emreg

Member
Emre G Join Date: May 2011 Location: Turkey
Posts: 92
Rep Power: 4

i have these system specifications:


- i7 2600 intel 64x
- 8 gb ram
- 4 processors
I am trying to mesh a volume which has nearly 4-5 million cell. However suddenly i get a warning message "out of memory".
But on the another computer (2 gb ram, dual core) i can manage 4.5 million meshes in the same conditions.
Where is the problem?
Thanks

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums

October 1, 2013, 15:52

Solve this problem

#15

Ghayoumi
New Member

Hi,
To solve this problem you must use a Linux version of gambit!
gambit is a Linux program originally.

Ghayoumi Join Date: Apr 2011


Posts: 4
Rep Power: 4

October 1, 2013, 16:52

#16

emreg

Member
Emre G Join Date: May 2011 Location: Turkey
Posts: 92
Rep Power: 4

hi, how many cells can be meshed using Linux gambit?


It can be 10 million ?

October 2, 2013, 10:47

#17 Quote:

ghost82

Senior Member

Originally Posted by emreg


hi, how many cells can be meshed using Linux gambit?
It can be 10 million ? I successfully meshed 8 million cells on the fly using gambit linux 64 bit (I used 32 gb of ram).
Daniele

Daniele Join Date: Oct 2010 Location: Italy


Posts: 366
Rep Power: 10

October 2, 2013, 15:32

#18

emreg

Member
Emre G Join Date: May 2011 Location: Turkey

are you expressing that the meshing of 8 million on the one time (not sequently) is possible using linux ?

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums

Posts: 92
Rep Power: 4

October 5, 2013, 06:23

#19 Quote:

Far

Super Moderator

Originally Posted by emreg


are you expressing that the meshing of 8 million on the one time (not sequently) is possible using linux ? Yes it is possible. Any how Tgrid and ICEM CFD are capable of handling of over 40 million mesh size on desktop computers...
__________________
Latest tutorial on ICEM CFD Hexa http://goo.gl/CKNdGO

Sijal Ahmed Memon (turboenginner@gmail.com) Join Date: Mar 2009 Location: Islamabad Pakistan
Posts: 3,651 Blog Entries: 6
Rep Power: 34

October 5, 2013, 07:01

#20 Quote:

ghost82

Senior Member

Originally Posted by emreg


are you expressing that the meshing of 8 million on the one time (not sequently) is possible using linux ? Yes, that is what I wrote.
This is possible if you have enough ram, a linux 64 bit operating system and gambit 64 bit.
Daniele

Daniele Join Date: Oct 2010 Location: Italy


Posts: 366
Rep Power: 10

Previous Thread
|
Next Thread

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

BB code is On Smilies are On [IMG] code is On HTML code is Off

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

running out of memory in Gambit, Help!!! -- CFD Online Discussion Forums


Trackbacks are On Pingbacks are On Refbacks are On Forum Rules

Similar Threads
Thread Please help me.. Out of memory In gambit Problems with Gambit running on windows xp pro In GAMBIT meshing, Out of Memory! ? 3d Gambit meshing shows out of memory Runing Out of memory in Gambit Thread Starter emreg Carlos Ruiz Conan tamjid Akin Forum ANSYS Meshing & Geometry FLUENT FLUENT FLUENT FLUENT Replies 11 1 7 3 6 Last Post October 19, 2011 02:14 February 27, 2009 06:04 November 10, 2008 05:02 September 27, 2008 02:01 February 10, 2005 16:32

All times are GMT -4. The time now is 14:12.


Contact Us -
CFD Online -
Top

CFD Online

http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]

S-ar putea să vă placă și