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

User routines cannot be used in the large memory partitioner?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By ghorrocks
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2017, 00:19
Default User routines cannot be used in the large memory partitioner?
  #1
New Member
 
Tony
Join Date: Mar 2016
Posts: 24
Rep Power: 10
doublestrong is on a distinguished road
I would like to setup user routines in CFX. But it is written in CFX Help that user routines cannot be used in the large memory partitioner. So what is the so-called large memory partitioner? Is it the number of partitions while defining Run? What is the maximum partitions if use rountines are used?

Thanks in advance,
Tony
doublestrong is offline   Reply With Quote

Old   March 13, 2017, 05:44
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
When you do a multiprocessor simulation it has two steps:
1) Partition the mesh into the required number of partitions
2) Solve it by sending each partition to a core.

Step 1 requires the entire mesh to be in memory for it to be partitioned. If your model has billions of nodes that is a challenge. So the large model partitioner is used to help here. See the documentation for further details.

If you have enough memory to partition your model as it is then do not use the large model partitioner. It is only used when you run out of memory.
doublestrong likes this.
ghorrocks is offline   Reply With Quote

Old   March 13, 2017, 06:26
Default
  #3
New Member
 
Tony
Join Date: Mar 2016
Posts: 24
Rep Power: 10
doublestrong is on a distinguished road
Thanks, Horrocks.

The mesh nodes number is about 6 million and I got sufficient memory for this job. I go back to read the Help, but I am not sure if my understanding is correct. I have 28 cores on my computer, so I had better to select 28 partitions to make a parallel computation as fast as possible? If I just select one partition, then there would be only one processor joining the job?

As shown in the help documents, if user routines cannot be used in the large memory partitioner, I have to define my run which incorporates user routines with small memory partitioner and the computation speed would be slow. Do I understand it correctly?

Thanks in advance.
doublestrong is offline   Reply With Quote

Old   March 13, 2017, 06:33
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Do not assume that 28 partitions will run fastest. I would test 1, 2, 4, 8, 16, 28 and you will probably find the performance decreases once the partition count gets large. Designing compute clusters which run well with large number of partitions is a challenging area.

If you don't need the large partitioner (and for a 6M node mesh you shouldn't) then just use the default partitioner. You appear to have misunderstood - the large memory partitioner is only to be used when you run out of memory on the default partitioner.
doublestrong likes this.
ghorrocks is offline   Reply With Quote

Old   March 13, 2017, 06:36
Default
  #5
New Member
 
Tony
Join Date: Mar 2016
Posts: 24
Rep Power: 10
doublestrong is on a distinguished road
Thanks, Horrocks.
doublestrong is offline   Reply With Quote

Reply

Tags
cfx, partitioner, user routines


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
Memory error? Young CFX 3 September 30, 2008 12:33
User fortran routines, DEBUG AND OUTPUT Bloshchitsyn Vladimir CFX 5 October 29, 2007 02:31
particle user routines Felix CFX 1 July 24, 2006 13:32
User routines sac CFX 1 December 8, 2005 11:42
CFX-5.7.1 MPICH distr. parall. + user routines Claudia CFX 2 March 18, 2005 12:39


All times are GMT -4. The time now is 02:55.