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

_Parallel Run with two PCs problems_

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2011, 08:19
Lightbulb _Parallel Run with two PCs problems_
  #1
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
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.
maysmech is offline   Reply With Quote

Old   February 24, 2011, 15:10
Default
  #2
pkr
Member
 
Join Date: Nov 2010
Posts: 33
Rep Power: 14
pkr is an unknown quantity at this point
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.
pkr is offline   Reply With Quote

Old   February 24, 2011, 19:07
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   February 26, 2011, 07:27
Default
  #4
Senior Member
 
maysmech's Avatar
 
Join Date: Jan 2010
Posts: 347
Blog Entries: 2
Rep Power: 17
maysmech is on a distinguished road
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

Last edited by maysmech; February 26, 2011 at 10:14.
maysmech is offline   Reply With Quote

Old   February 26, 2011, 09:36
Default
  #5
pkr
Member
 
Join Date: Nov 2010
Posts: 33
Rep Power: 14
pkr is an unknown quantity at this point
Great, Congratulations!!
pkr is offline   Reply With Quote

Old   October 20, 2012, 03:14
Exclamation
  #6
Senior Member
 
T. Chourushi
Join Date: Jul 2009
Posts: 321
Blog Entries: 1
Rep Power: 18
Tushar@cfd is on a distinguished road
Dear pkr,

Are you able to solve your problem? I mean have you been successful in connecting 2 machines till now?
Tushar@cfd is offline   Reply With Quote

Reply

Tags
mpirun, parallel


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
Edit/stop run in progress without solver manager N.R. CFX 12 June 17, 2015 03:13
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Parallel Run on dynamically mounted partition braennstroem OpenFOAM Running, Solving & CFD 14 October 5, 2010 15:43
Confused by Problems when reinstalling OPenFoam 13 jin_xu OpenFOAM Installation 2 June 2, 2008 21:53
Problems with channelOodles tutorial alberto OpenFOAM Running, Solving & CFD 0 June 5, 2007 10:08


All times are GMT -4. The time now is 02:26.