|
[Sponsors] |
January 1, 2006, 20:49 |
running out of memory in Gambit, Help!!!
|
#1 |
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 |
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 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 |
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 |
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 |
|
August 8, 2009, 17:31 |
Need help
|
#5 |
New Member
Akshayy Garg
Join Date: Aug 2009
Location: delhi, india
Posts: 6
Rep Power: 17 |
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 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
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 |
|
August 10, 2009, 02:22 |
Problem with Fine Volume Meshing in Gambit
|
#7 |
New Member
Akshayy Garg
Join Date: Aug 2009
Location: delhi, india
Posts: 6
Rep Power: 17 |
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) |
|
August 10, 2009, 04:26 |
|
#8 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
split your domain (by dividing it, you will mesh subvolumes which will ask less memory)
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
August 10, 2009, 08:51 |
|
#9 |
Member
Daniel Tanner
Join Date: Apr 2009
Posts: 54
Rep Power: 18 |
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 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
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 |
|
August 12, 2009, 04:41 |
|
#11 |
Member
Daniel Tanner
Join Date: Apr 2009
Posts: 54
Rep Power: 18 |
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.
|
|
April 6, 2011, 14:05 |
|
#12 |
Member
Geon-Hong Kim
Join Date: Feb 2010
Location: Ulsan, Republic of Korea
Posts: 36
Rep Power: 16 |
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. |
|
April 18, 2011, 04:29 |
Heeeeelp meeeee
|
#13 |
New Member
Ghayoumi
Join Date: Apr 2011
Posts: 4
Rep Power: 15 |
i have this problem too, but i can't solve it, please help me .....
please enlarge it ...... |
|
October 10, 2011, 12:36 |
i am confused of .
|
#14 |
Senior Member
Emre G
Join Date: May 2011
Location: Turkey
Posts: 126
Rep Power: 15 |
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 |
|
October 1, 2013, 15:52 |
Solve this problem
|
#15 |
New Member
Ghayoumi
Join Date: Apr 2011
Posts: 4
Rep Power: 15 |
Hi,
To solve this problem you must use a Linux version of gambit! gambit is a Linux program originally. |
|
October 1, 2013, 16:52 |
|
#16 |
Senior Member
Emre G
Join Date: May 2011
Location: Turkey
Posts: 126
Rep Power: 15 |
hi, how many cells can be meshed using Linux gambit?
It can be 10 million ? |
|
October 2, 2013, 10:47 |
|
#17 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
||
October 2, 2013, 15:32 |
|
#18 |
Senior Member
Emre G
Join Date: May 2011
Location: Turkey
Posts: 126
Rep Power: 15 |
are you expressing that the meshing of 8 million on the one time (not sequently) is possible using linux ?
|
|
October 5, 2013, 06:23 |
|
#19 |
Senior Member
|
||
October 5, 2013, 07:01 |
|
#20 |
Senior Member
Rick
Join Date: Oct 2010
Posts: 1,016
Rep Power: 27 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Please help me.. Out of memory İn gambit | emreg | ANSYS Meshing & Geometry | 11 | October 19, 2011 02:14 |
Problems with Gambit running on windows xp pro | Carlos Ruiz | FLUENT | 1 | February 27, 2009 06:04 |
In GAMBIT meshing, Out of Memory! ? | Conan | FLUENT | 7 | November 10, 2008 05:02 |
3d Gambit meshing shows out of memory | tamjid | FLUENT | 3 | September 27, 2008 02:01 |
Runing Out of memory in Gambit | Akin | FLUENT | 6 | February 10, 2005 16:32 |