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

Solver error message - memory usage

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2014, 04:47
Default Solver error message - memory usage
  #1
New Member
 
Jarda Chlup
Join Date: Aug 2013
Posts: 21
Rep Power: 13
Jared1986 is on a distinguished road
Hello to everybody,
I have troubles with setting of memory usage. I've found this error message

| ERROR #333100180 has occurred in subroutine Out_MemPar. |
| Message: |
| |
| The total number of words requested by partition 1 |
| for the Real stack is : 3345184000 |
| That exceeds the maximum of : 2147483648 |
| supported by the flow solver. Please reduce the memory usage. |
+--------------------------------------------------------------------+

Has anybody idea how to solve this issue?

I set this memory alocation for partitioner and solver.
PARTITIONER STEP CONTROL:
Multidomain Option = Independent Partitioning
Runtime Priority = Standard
EXECUTABLE SELECTION:
Use Large Problem Partitioner = Off
END
MEMORY CONTROL:
Catalogue Size Override = 1.5x
Integer Memory Override = 1.2x
Memory Allocation Factor = 1.0
Real Memory Override = 1.2x
END
PARTITIONING TYPE:
MeTiS Type = k-way
Option = MeTiS
Partition Size Rule = Automatic
Partition Weight Factors = 0.25000, 0.25000, 0.25000, 0.25000
END
END

SOLVER STEP CONTROL:
Runtime Priority = Standard
MEMORY CONTROL:
Catalogue Size Override = 1.05x
Integer Memory Override = 1.05x
Memory Allocation Factor = 1.0
Real Memory Override = 1.05x
END
PARALLEL ENVIRONMENT:
Number of Processes = 4
Start Method = Platform MPI Local Parallel
Parallel Host List = xwmlsomc0020*4
END
END

Thanks a lot
Jared1986 is offline   Reply With Quote

Old   April 5, 2014, 12:28
Default
  #2
New Member
 
chiragsvnit's Avatar
 
Chirag Trivedi
Join Date: Sep 2009
Location: Norway
Posts: 26
Rep Power: 17
chiragsvnit is on a distinguished road
Send a message via Skype™ to chiragsvnit
Please visit following links, it is similar to that. Perhaps, this will give you some idea about mesh density and solver capability and perform calculations for approximate required memory per node used by the CFX solver.
I had similar problem.

http://www.eureka.im/1775.html

http://www.cfd-online.com/Forums/cfx...erraction.html

http://www.cfd-online.com/Forums/cfx...erraction.html
chiragsvnit is offline   Reply With Quote

Old   April 6, 2014, 09:35
Default
  #3
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your PC has run out of memory. Some possible way to fix it:

* If you are using a 32 version of CFX, try a 64 bit version (both OS and ANSYS CFX needs to be 64 bit)
* Use multi-processor operation to get the size of each partition down
* Corsen the mesh or use less physical models to decrease the size of the model.
ghorrocks is offline   Reply With Quote

Old   April 7, 2014, 02:22
Default
  #4
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Your PC has run out of memory. Some possible way to fix it:

* If you are using a 32 version of CFX, try a 64 bit version (both OS and ANSYS CFX needs to be 64 bit)
* Use multi-processor operation to get the size of each partition down
* Corsen the mesh or use less physical models to decrease the size of the model.
Maybe he should try to increase memory allocation factor for real stack?
Antanas is offline   Reply With Quote

Old   April 7, 2014, 03:17
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error message says that the requested real stack size exceeds the size allowable. You cannot define a larger real stack.
ghorrocks is offline   Reply With Quote

Old   April 7, 2014, 03:53
Default
  #6
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
The error message says that the requested real stack size exceeds the size allowable. You cannot define a larger real stack.
Yes. I guess you're right.
Antanas is offline   Reply With Quote

Old   April 8, 2014, 04:18
Default
  #7
New Member
 
Jarda Chlup
Join Date: Aug 2013
Posts: 21
Rep Power: 13
Jared1986 is on a distinguished road
Good morning again, first I want to thank for your answers. I think that solution could by right setting of real stack memory for solver, I've tried to set some values of real stack, but without success. Is it possible to calculate number of words, which I could set for real stack memory? I am using 6 processors for calculation and I have 48 GB of RAM. I made mesh about 37M of elements and 24M of nodes. So I think that it could be possible to calculate it on my workstation. Does anybody have idea how set this real stack memory?

Thanks a lot

I obtain again this kind of error.

+--------------------------------------------------------------------+
| *** INSUFFICIENT MEMORY ALLOCATED *** |
| |
| ACTION REQUIRED : Increase the real stack memory size. |
| |
| Details : |
| Requested space : 23479892 words |
| Current allocated space : 883723584 words |
| Current used space : 385453263 words |
| Current free space : 498270321 words |
| Number of free areas : 636 |
+--------------------------------------------------------------------+


Details of error:-
----------------
Error detected by routine MAKDAT
CDANAM = CELRWRK CDTYPE = REAL ISIZE = 23479892
CRESLT = FULL

Current Directory : /FLOW/CEL1

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Stopped in routine MEMERR |
| |
| |
| |
| |
| |
+--------------------------------------------------------------------+
Jared1986 is offline   Reply With Quote

Old   April 8, 2014, 07:17
Default
  #8
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by Jared1986 View Post
Does anybody have idea how set this real stack memory?
"Define Run" -> "Solver"-> "Solver Memory" -> "Detailed Memory Overrides"
Antanas is offline   Reply With Quote

Old   April 8, 2014, 07:19
Default
  #9
New Member
 
Jarda Chlup
Join Date: Aug 2013
Posts: 21
Rep Power: 13
Jared1986 is on a distinguished road
Quote:
Originally Posted by Antanas View Post
"Define Run" -> "Solver"-> "Solver Memory" -> "Detailed Memory Overrides"
I did it 5 times maybe more. It is big issue to find right value for that. As I write before. Is it some formula how to calculate number of words, which is possible to set there or value for multiplying?
Jared1986 is offline   Reply With Quote

Old   April 8, 2014, 08:32
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
If you need to increase this more than a small amount it means something is fundamentally wrong with your simulation. This can occur when you have complicated physics such as lots of particle tracks or GGI interfaces. More often than not there is an error in the setup of the complex physics and it runs out of stack space trying to sort it out.

Can you describe what you are modelling?
ghorrocks is offline   Reply With Quote

Old   April 8, 2014, 09:45
Default
  #11
New Member
 
Jarda Chlup
Join Date: Aug 2013
Posts: 21
Rep Power: 13
Jared1986 is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
If you need to increase this more than a small amount it means something is fundamentally wrong with your simulation. This can occur when you have complicated physics such as lots of particle tracks or GGI interfaces. More often than not there is an error in the setup of the complex physics and it runs out of stack space trying to sort it out.

Can you describe what you are modelling?
I want to calculate thermal simulation for synchronous machine with salient pole. There are a lot of solid domains (heat source), where I had to set anisotropic conducitvity based on cylindrical components. I have rotating fluids. It was impossible to set symmetry because of rotation so I have few parts 360deg and almost 180 deg, where I used rot. per.. I have on each interface between fluids, where is different pitch angle, set frozen rotor (also between rotating and stationary fluid domains). I think that it is very complex case. I used SST turbulent model. Is it enough information?
Jared1986 is offline   Reply With Quote

Old   April 8, 2014, 19:37
Default
  #12
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It says that you are likely to have a number of domains with complex meshes connected with complex GGI interfaces. When things are not quite right you can get the error message you show. So I would have a detailed look for weirdness in the meshes at the GGI interfaces and make sure they are as intended.
ghorrocks is offline   Reply With Quote

Old   December 2, 2014, 06:28
Default
  #13
Member
 
Lorenzo Mazzei
Join Date: Dec 2010
Posts: 60
Rep Power: 15
Mazze[ITA] is on a distinguished road
A workaround could be the switching to the Large Problem Partitioner (as it should be suggested during the Partitioning step). The problem is that it requires more memory than the standard partitioner, so you can incur into swapping...

Code:
 +--------------------------------------------------------------------+
 | ERROR #001100279 has occurred in subroutine ErrAction.             |
 | Message:                                                           |
 | The total number of words needed for the Integer stack exceeds th- |
 | e maximum supported by the standard partitioner: 2,147,483,647.    |
 | The run will continue with the stack size clipped to that value.   |
 | If the standard partitioner runs out of memory you will need to    |
 | run the large problem partitioner.                                 |
 |                                                                    |
 +--------------------------------------------------------------------+
Mazze[ITA] is offline   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
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM Running, Solving & CFD 17 December 3, 2014 20:41
Quarter Burner mesh with periosic condition SamCanuck FLUENT 2 August 31, 2011 12:34
Suggestion for the usage of appropriate solver gandesk OpenFOAM 5 November 10, 2010 13:00
OpenFOAM Solver/BC usage description murrayjc OpenFOAM 3 August 25, 2009 05:48
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 16:40.