|
[Sponsors] |
May 1, 2011, 05:20 |
Run openFoam in Multithreads
|
#1 |
New Member
Ashok
Join Date: Jul 2010
Location: India
Posts: 20
Rep Power: 16 |
Hi,
I am running OpenFoam in my PC. , which have following specifications Operating System: Ubuntu 10.10 32 bit Processor: i5, 2 cores and 4 threads But whenever I am monitoring the openFoam processing, it shows it is only using single thread. I heard that there is a way to run openFoam simultaneously in all my cores. Please help me... Thank you in advance. |
|
May 1, 2011, 07:57 |
|
#2 |
Senior Member
|
Hi,
Make sure you run your solver with: mpirun -np 4 <solvername> -parallel Regards, Jose |
|
May 1, 2011, 16:30 |
Sequence of Parallel Implimenation
|
#3 |
New Member
Ashok
Join Date: Jul 2010
Location: India
Posts: 20
Rep Power: 16 |
Thank you very much,
That worked perfectly.But I have some more doubts.. 1, What is the sequence for running a parallel implementation. I mean for blockMesh and decomposePar, which one I should run first ? 2, I have used a stop watch to compare the speed gain in parallel processing from the normal processing. My processors were running at full load in parallel processing, but the speed gain was negligible. Why is it happening ? Do you have any suggestions in it ? Waiting for your reply. |
|
May 2, 2011, 05:05 |
|
#4 |
Member
Junaid Ahmad Khan
Join Date: Mar 2010
Location: Islamabad
Posts: 43
Rep Power: 16 |
Can this Command works as it is on GPU base computers
Regards Junaid |
|
May 2, 2011, 05:07 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
1. First mesh, then decompose.
2. There are lots of threads on the forum and the Internet in general on this topic, go have a look. In short, parallelization is no guarantee for speedup. Your problem has to be suitable for your parallel environment. |
|
May 2, 2011, 12:07 |
Thanks
|
#6 |
New Member
Ashok
Join Date: Jul 2010
Location: India
Posts: 20
Rep Power: 16 |
Thanks,
Comments were helpful. Ashok |
|
Tags |
multiple cpu cores, openfoam, ubuntu |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.6.x - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 68 | April 22, 2013 12:03 |
[mesh manipulation] createPatch / cyclicGgi / OpenFoam 1.5-dev | OFU | OpenFOAM Meshing & Mesh Conversion | 0 | June 16, 2010 05:36 |
Getting OpenFOAM to coexist with an existing JAVA VM | nik777 | OpenFOAM Installation | 5 | February 22, 2007 08:21 |
Help I canbt run FoamX report Unable to contact name server error | cornerstone | OpenFOAM Installation | 0 | May 3, 2006 02:14 |
Run FOAM on a remote machine | luckyluke | OpenFOAM Installation | 1 | June 21, 2005 06:19 |