|
[Sponsors] |
October 6, 2011, 15:11 |
Use of Partition file
|
#1 |
Senior Member
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 16 |
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 |
|
October 6, 2011, 18:44 |
|
#2 |
Senior Member
Join Date: Dec 2009
Posts: 131
Rep Power: 20 |
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. |
|
October 9, 2011, 09:56 |
|
#3 |
Senior Member
Join Date: Oct 2010
Location: Zurich
Posts: 176
Rep Power: 16 |
@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? |
|
Tags |
cfx 12.1, partition file |
|
|
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 |