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

_Parallel Run with two PCs problems_

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools 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: 8
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: 5
pkr is an unknown quantity at this point
Check this post:
decomposed case to 2-cores (Not working)

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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 8
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: 5
pkr is an unknown quantity at this point
Great, Congratulations!!
pkr is offline   Reply With Quote

Old   October 20, 2012, 02:14
Exclamation
  #6
Senior Member
 
Tushar Chourushi
Join Date: Jul 2009
Location: IIT-Indore, India
Posts: 319
Blog Entries: 1
Rep Power: 9
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

Thread Tools
Display Modes

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 On
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 02: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 14:43
Confused by Problems when reinstalling OPenFoam 13 jin_xu OpenFOAM Installation 2 June 2, 2008 20:53
Problems with channelOodles tutorial alberto OpenFOAM Running, Solving & CFD 0 June 5, 2007 09:08


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