CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   _Parallel Run with two PCs problems_ (https://www.cfd-online.com/Forums/openfoam/85387-_parallel-run-two-pcs-problems_.html)

maysmech February 24, 2011 07: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:
Code:

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

[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:)
Regards.

pkr February 24, 2011 14:10

Check this post:
http://www.cfd-online.com/Forums/ope...tml#post292700

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

Thanks.

wyldckat February 24, 2011 18: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:
Quote:

Originally Posted by from my signature ;)

Best regards and good luck!
Bruno

maysmech February 26, 2011 06:27

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

This command solved the problem:
Quote:

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 08:36

Great, Congratulations!! :)

Tushar@cfd October 20, 2012 02: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 07:25.