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

Solving parallel on 2 PCs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2008, 11:48
Default Hello, I was trying to make
  #1
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17
kar is on a distinguished road
Hello,

I was trying to make some test mpirun as described in UserGuide, but ran into problems.

Before I try to make that work, I want to ask, if it is enough to
1. copy OF,
2. make successful foamInstallationTest
on both PCs and then use mpirun as described in UserGuide?

This far I couldn't make second PC's ssh work for some reason and got "bash: orted: command not found" on first.

Kārlis
kar is offline   Reply With Quote

Old   February 11, 2008, 12:49
Default Karlis, I'd suggest the fo
  #2
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
Karlis,
I'd suggest the following steps:

1. Make sure you can ssh in and out of both computers.
2. Make sure the openFOAM bashrc is sourced as part of your home .bashrc file (as indicated in the directions for install of OF)
3. Visit the openMPI website and make sure you set up ssh with a secure key so you don't have to enter a password.
4. Use the openMPI website's "hello world" test program to make sure openMPI can communicate and interconnect.
5. Make sure your root file structures are properly listed when you test mpirun with an OpenFOAM solver.

Best of luck,
Mike
mike_jaworski is offline   Reply With Quote

Old   February 11, 2008, 13:40
Default Mike, what you mean by "root
  #3
kar
Senior Member
 
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17
kar is on a distinguished road
Mike,
what you mean by "root file structures" listing?
kar is offline   Reply With Quote

Old   February 11, 2008, 13:53
Default Karlis, When you pass a co
  #4
Senior Member
 
Michael Jaworski
Join Date: Mar 2009
Location: Champaign, IL, USA
Posts: 126
Rep Power: 17
mike_jaworski is on a distinguished road
Karlis,
When you pass a command using mpirun, you have the possibility that your local executable and the remote one are in different locations. You need to tell your remote machine where to find the executable for it to work. In OF, when you distribute the files you do this in the decomposeParDict file and by sourcing the bashrc automatically on login, this adds OF to the path on the machine. I suppose it would have been more accurate to say that you should make sure you have all your PATH variables set correctly.

Hope that helps.
-Mike J.
mike_jaworski 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
Solving Consecutive-Parallel reaction vicky Main CFD Forum 1 February 25, 2009 02:39
Why solving kar OpenFOAM Running, Solving & CFD 2 April 30, 2008 15:15
P U T field solving in solid and liquid two meshes In parallel kar OpenFOAM Running, Solving & CFD 2 February 20, 2008 05:18
Multiple Region and Parallel Solving panara OpenFOAM Running, Solving & CFD 2 October 6, 2006 03:06
parallel solving Ivan CFX 2 November 1, 2005 01:27


All times are GMT -4. The time now is 13:19.