Escolar Documentos
Profissional Documentos
Cultura Documentos
[Sponsors]
Home About
News Search
Forums
Wiki
Links
Jobs
Books
Events
Tools
Feeds
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
#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]
cd /scratch/a0u8545/060102
module load gambit
gambit -inp 6inch.jou
qstat -f $PBS_JOBID
----------------------------
#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
#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]
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
#6
-mAx-
Super Moderator
#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]
#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
#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).
#10
-mAx-
Super Moderator
#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]
Rep Power: 6
#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
Heeeeelp meeeee
#13
Ghayoumi
New Member
i have this problem too, but i can't solve it, please help me .....
please enlarge it ......
i am confused of .
#14
emreg
Member
Emre G Join Date: May 2011 Location: Turkey
Posts: 92
Rep Power: 4
http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]
#15
Ghayoumi
New Member
Hi,
To solve this problem you must use a Linux version of gambit!
gambit is a Linux program originally.
#16
emreg
Member
Emre G Join Date: May 2011 Location: Turkey
Posts: 92
Rep Power: 4
#17 Quote:
ghost82
Senior Member
#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]
Posts: 92
Rep Power: 4
#19 Quote:
Far
Super Moderator
Sijal Ahmed Memon (turboenginner@gmail.com) Join Date: Mar 2009 Location: Islamabad Pakistan
Posts: 3,651 Blog Entries: 6
Rep Power: 34
#20 Quote:
ghost82
Senior Member
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
http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]
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
CFD Online
http://www.cfd-online.com/Forums/[18-02-2014 00:24:09]