|
[Sponsors] |
March 13, 2012, 08:38 |
How to run paraFoam parallel?
|
#1 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Hi friends, there are six cores in my computer workstation? Can I also run paraFoam parallel? Who know how to do? Thank you very much.
|
|
March 13, 2012, 10:13 |
|
#2 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Sandy,
it will not make much sense to run ParaView in parallel on your workstation. The graphic card will do the rendering much faster than your 6 cores can do, and to speed up the pure data management it's more important to have fast hard disc drives. If you still want to run ParaView in parallel you must compile it with some flags enabled: edit the makeParaView script in the ThirdParty directory and enable "withMPI=true" (path to mpi.h might be necessary to be added). You can enable "withMESA", too, so the rendering is done with your CPU instead of the graphic card. You then have to start the ParaView server application (pvserver) and log in with a ParaView client. The pvserver will run in busy waiting mode by OpenMPI's default, which will slow down your system's performance for other tasks. You must compile MPI on your own to avoid this behaviour. A situation where it makes sense to use ParaView in parallel is: you have a remote cluster with plenty of hard discs and multiple nodes, your mesh is really large (let's say 100.000.000 cells, so it does not fit into your local machine's memory) and it's properly distributed over all the servers hard discs. You are sitting at your notebook and start the ParaView server application on the cluster. You log in to the ParaView server, which does the data management and rendering, and you receive the readily rendered screen output on your notebook. Hints to speed up ParaView on your 6 core workstation: - use binary format for your result files (can be set in the controlDict) - import only the stuff you need (only U, if you want to make an animation using it, but not p or rho and other stuff, which is not shown at the current ParaView session) - use static mesh caching in ParaView - use "Ignore Time" option for the pipelines that do not change from time step to time step - use ParaView's native OpenFOAM reader in the parallel mode (Decomposed Case), and distribute the processor* directories on different hard discs (using symbolic links) Good luck Martin |
|
March 3, 2014, 19:28 |
Stream Tracer calculation in ParaView
|
#3 |
New Member
Dan Nielsen
Join Date: Mar 2014
Posts: 4
Rep Power: 12 |
Hey MartinB
I am very new to OpenFoam and to CFD-Online so perhaps this is a trivial question. I am looking at stream tracers to obtain the reattachment point of a boundary layer, and I must say that it is not running smooth. In the post to Sandy you say that the graphic card will do the rendering much faster. My questions is: Is it my GPU or CPU that dose the Stream Tracer calculation ? or is it a combined effort ? I guess that from the fact that U is a double number from C it might need to be the CPU. PS. I am running a SSD so the speed of the hard drive is not the problem and 2x5850 AMD GPU so that shut be OK as well. And I will try you hints for speeding up the ParaView Dan |
|
March 4, 2014, 04:57 |
|
#4 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Dan,
I think, the CPU is the limiting factor for your stream tracer visualization. You can try to rotate the finished stream lines with your left mouse button pressed, if this is smooth (with Settings->Render View->LOD Threshold = Off), than the GPU has no problem. If the rotation is not smooth, than you might need to install the proprietary video drivers from AMD. Something costly for the GPU is the volume rendering of a scalar value. Martin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with foam-extend 4.0 ggi parallel run | Metikurke | OpenFOAM Running, Solving & CFD | 1 | December 6, 2018 16:51 |
Some questions about a multi region case run in parallel | zfaraday | OpenFOAM Running, Solving & CFD | 5 | February 23, 2017 11:25 |
OpenFOAM can't be run in parallel in cluster | sibo | OpenFOAM Running, Solving & CFD | 4 | February 21, 2017 17:29 |
Parallel run: bool ipstream::init attempt to run parallel on 1 processor | SarahLee | OpenFOAM Running, Solving & CFD | 2 | January 11, 2017 04:24 |
Parallel Run on dynamically mounted partition | braennstroem | OpenFOAM Running, Solving & CFD | 14 | October 5, 2010 15:43 |