CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   _Parallel Run with two PCs problems_ (

maysmech February 24, 2011 08:19

_Parallel Run with two PCs problems_
Dear Experts,

I want use two PCs to run parallel. Fedora 12 and OpenFOAM-1.7.0 are installed on both machines.

They have passwordless ssh connection with each other.

By using:

mpirun --hostfile ~/hosts.txt -np 8 pisoFoam -parallel
nothing happened and terminal was freezed, by using Ctrl+C the error which be appeared was:

[ssedt@ssedt4 bfs-maysam]$ mpirun --hostfile /home/ssedt/OpenFOAM/ssedt-1.7.0/run/bfs-maysam/hosts.txt -n 8 pisoFoam -parallel 
^Cmpirun: killing job...

mpirun noticed that the job aborted, but has no info as to the process
that caused that situation.
mpirun was unable to cleanly terminate the daemons on the nodes shown
below. Additional manual cleanup may be required - please refer to
the "orte-clean" tool for assistance.
    ssedt2 - daemon did not report back when launched

Both machine have same OS, OpenFOAM path and username.
I have searched a lot but there is not any suitable guide about OpenFOAM parallel available.

Any help will be appreciated:)

pkr February 24, 2011 15:10

Check this post:

I saw the similar problem. The solution might be the fix for you.


wyldckat February 24, 2011 19:07

Greetings to both!

@Maysam: I've been tracking the questions you've been making about running in parallel, but I haven't found the time to answer you. But in the meantime, if the thread Pkr pointed to isn't enough, then check this:

Originally Posted by from my signature ;)

Best regards and good luck!

maysmech February 26, 2011 07:27

Dear pkr and Bruno,
Thanks a lot for your helps.

This command solved the problem:

mpirun --mca btl_tcp_if_exclude lo,virbr0 -hostfile machines -np 2 /home/rphull/OpenFOAM/OpenFOAM-1.6/bin/foamExec interFoam -parallel

pkr February 26, 2011 09:36

Great, Congratulations!! :)

Tushar@cfd October 20, 2012 03:14

Dear pkr,

Are you able to solve your problem? I mean have you been successful in connecting 2 machines till now?

All times are GMT -4. The time now is 06:37.