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

Use of Partition file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2011, 15:11
Default Use of Partition file
  #1
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
Hi ,

I am using a large mesh for my simulation in parallel run mode. Now every time when a simulation restarts, cfx solver manager first partitions the mesh into the requested number of partitions (equal to number of CPUs requested) and then starts the solution.
I know that it is possible to pre-partition a mesh and store the partition info in a partition file and then give this file as input to cfx solver manager. So each time simulation has to restart , cfx solver manager uses the info in this file and does not waste time in partitioning the mesh on every restart.
However, from the cfx manuals ( I am using ver 12.1), I am not able to understand as to how to generate the partition file and use it.
Any guidance on this will be greatly helpful.

Thanks for your inputs!
Chander
Chander is offline   Reply With Quote

Old   October 6, 2011, 18:44
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 19
mjgraf is on a distinguished road
cfx5solve -help

This will show the command line options to create the partition file.
you can pipe it a file so you can open it in a text editor.

-parfile-read <parfile>
Specifies the name of an input partition file used to set up a partitioning or parallel run.

-parfile-write <parfile>
Specifies the name of a partition file to write to, containing the information from a partitioning run.

-part-only <# of partitions>
Runs the solver in partitioning mode only. This is normally equivalent to -part, but may be necessary if partitioning a results file from a previous run.
mjgraf is offline   Reply With Quote

Old   October 9, 2011, 09:56
Default
  #3
Senior Member
 
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 15
Chander is on a distinguished road
@mjgarf

Thanks for your reply.
Now I am able to generate and use a partition file.
One question.

While launching the CFX run to generate the partition file, I specify that the run to be a partition run by including the command
-partition-only
in the overall command.
But still, the solver starts after partitioning the mesh.
Shouldn't a partion only run stop after partitioning the mesh?
Chander is offline   Reply With Quote

Reply

Tags
cfx 12.1, partition file

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 18:18
1.7.x Environment Variables on Linux 10.04 rasma OpenFOAM Installation 9 July 30, 2010 05:43
Installation of OpenFOAM-1.6 on Ubuntu 9.10 marval OpenFOAM Installation 2 March 17, 2010 09:33
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 01:34.