CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

How to run paraFoam parallel?

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

Like Tree6Likes
  • 6 Post By MartinB

Reply
 
LinkBack Thread Tools Display Modes
Old   March 13, 2012, 08:38
Question How to run paraFoam parallel?
  #1
Senior Member
 
Sandy Lee
Join Date: Mar 2009
Posts: 207
Rep Power: 9
sandy is on a distinguished road
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.
sandy is offline   Reply With Quote

Old   March 13, 2012, 10:13
Default
  #2
Senior Member
 
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 252
Rep Power: 11
MartinB is on a distinguished road
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
MartinB is offline   Reply With Quote

Old   March 3, 2014, 19:28
Default Stream Tracer calculation in ParaView
  #3
New Member
 
Dan Nielsen
Join Date: Mar 2014
Posts: 2
Rep Power: 0
Dan N is on a distinguished road
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
Dan N is offline   Reply With Quote

Old   March 4, 2014, 04:57
Default
  #4
Senior Member
 
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 252
Rep Power: 11
MartinB is on a distinguished road
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
MartinB is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 14:43
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 14:37
serial run fine, but parallel run diverged phsieh2005 OpenFOAM Running, Solving & CFD 2 October 6, 2009 08:33
Parallel run diverges, serial does not SammyB OpenFOAM Running, Solving & CFD 1 May 10, 2009 03:28
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33


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