CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

parallel calculation on multiple computers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2010, 04:12
Default parallel calculation on multiple computers
  #1
New Member
 
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 16
foam_noob is on a distinguished road
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
foam_noob is offline   Reply With Quote

Old   January 18, 2010, 06:27
Default
  #2
New Member
 
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 16
foam_noob is on a distinguished road
Problem solved.
foam_noob is offline   Reply With Quote

Old   February 2, 2010, 05:09
Default
  #3
RBJ
New Member
 
Robin Koldeweij
Join Date: Nov 2009
Posts: 19
Rep Power: 16
RBJ is on a distinguished road
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
RBJ is offline   Reply With Quote

Old   February 3, 2010, 02:18
Default
  #4
New Member
 
Patrick Wang
Join Date: Dec 2009
Location: Stuttgart, Germany
Posts: 26
Rep Power: 16
foam_noob is on a distinguished road
Quote:
Originally Posted by RBJ View Post
Can you please elaborate?
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
foam_noob is offline   Reply With Quote

Old   February 3, 2010, 03:14
Default
  #5
RBJ
New Member
 
Robin Koldeweij
Join Date: Nov 2009
Posts: 19
Rep Power: 16
RBJ is on a distinguished road
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.
RBJ is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Meshing support parallel multiple computers! Kevin Siemens 1 July 26, 2007 19:27
running multiple Fluent parallel jobs Michael Bo Hansen FLUENT 8 June 7, 2006 08:52
Fluent cases in parallel across multiple machines Riaan FLUENT 3 April 11, 2005 11:51
Warning 097- AB Siemens 6 November 15, 2004 04:41
Parallel Calculation problem Paul CFX 0 August 11, 2003 22:45


All times are GMT -4. The time now is 23:48.