|
[Sponsors] |
January 13, 2010, 05:12 |
parallel calculation on multiple computers
|
#1 |
New Member
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 16 |
Hi,
I recenty figured out how to run snappy parallel on multiple computer. The method described in the user guide (Chapter 3) didn't work for me and I stumbled upon the solution by sheer accident. Instead of typing cpu=x after the name of the PCs, I used slots=x. I tried various methods to execute the command such as: mpirun --hostfile machines -np 6 snappyHexMesh -parallel OR mpirun --hostfile machines -np 6 foamJob -p -s snappyHexMesh But I only received "orted: command not found. A daemon (pid x) died unexpectantly with status x while attempting ..." Afterwards I just executed the snappy command for one PC. foamJob -p -s snappyHexMesh That actually worked. But now I am unable to run simpleFoam on multiple PCs. If I use the command with "mpirun --hostfile ... simpleFoam -parallel", then I receive the same error as above. Does anyone have any experience with this? Thanks in advanced. Patrick |
|
January 18, 2010, 07:27 |
|
#2 |
New Member
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 16 |
Problem solved.
|
|
February 2, 2010, 06:09 |
|
#3 |
New Member
Robin Koldeweij
Join Date: Nov 2009
Posts: 19
Rep Power: 16 |
Can you please elaborate?
I have similar problems, but with a high perfomance cluster. (bsub on multiple machines). I can run mpirun.lsf interFoam, but mpirun.lsf foamJob -p interFoam gives the error mentioned above |
|
February 3, 2010, 03:18 |
|
#4 |
New Member
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 16 |
Hi,
to be honest, I wasn't the one who fixed the problem, my supervisor did and I'm not exactly sure what he did. Everytime I used OpenFOAM, I had to type in setfoam to get all the environment settings for OF adjusted. He just changed a few settings so I didn't have to type in setfoam everytime I opened a new terminal. Afterwards he told me to try run the calculation. I used the command in the user guide and it worked. He is often not at the office, so I can' t really asked him for the specifics. Hope this helped a bit. Patrick |
|
February 3, 2010, 04:14 |
|
#5 |
New Member
Robin Koldeweij
Join Date: Nov 2009
Posts: 19
Rep Power: 16 |
Not really, but I've found a work-around for my problem already. My main problem, is that I have to use bsub for a run on a high performance cluster and there are some problems combining that with openmpi. Not really OpenFoam's fault though.
The work-around is to use only 1 processor on the HPC, with several nodes instead of spreading a job on multiple processors. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Meshing support parallel multiple computers! | Kevin | Siemens | 1 | July 26, 2007 20:27 |
running multiple Fluent parallel jobs | Michael Bo Hansen | FLUENT | 8 | June 7, 2006 09:52 |
Fluent cases in parallel across multiple machines | Riaan | FLUENT | 3 | April 11, 2005 12:51 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |
Parallel Calculation problem | Paul | CFX | 0 | August 11, 2003 23:45 |