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

Problem with openmpi

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2010, 11:50
Default
  #41
Member
 
Join Date: Apr 2009
Posts: 38
Rep Power: 17
PattiMichelle is on a distinguished road
Quote:
Originally Posted by tomislav_maric View Post
Hello everyone, I'm glad I've found this thread, since I have the same problem holzmichel has ran into. searching on the net I've found the instructions that I should comment out the if command that returns from the bash if it's ran in non interactive mode.

actually, I'm running OpenFOAM from SLAX live DVD and I'm trying to figure out how to use this live DVD for simulations on a LAN.

the folowwing code suggested by olesen

Code:
ssh $HOST 'echo $PATH; echo; echo $LD_LIBRARY_PATH'
has showed me that LD_LIBRARY_PATH and PATH are not set at all when bash runs in non interactive mode. how exactly can I solve this?

Thank you in advance,
Tomislav
I run in OpenSuSE 11.1 and you have to edit the .bashrc file in your home directory to include these lines, so that every time a shell is started, they are run. (If you use csh you would use the .cshrc file, which I believe also works for the tcsh shell.) On OpenSuSE, the .bshrc exists by default. It's easy to edit if you're using KDE. The period "." at the beginning of the file name means it's hidden by default (because you don't edit it that much) when you do "ls" or some other file listing command. Just edit your .bashrc file in your home directory and add the LD_LIBRARY_PATH and PATH statements.
PattiMichelle is offline   Reply With Quote

Old   February 13, 2010, 17:41
Default
  #42
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21
tomislav_maric is on a distinguished road
@PattiMichelle

Hi. There is a record of this historical battle here:

http://www.slax.org/forum.php?action...98#postid44098

I have printed out the environmental settings (env) to .ssh/environment and copied that file on the other computers on the LAN manually with ssh, worked like a charm. I guess you could write a script of some sort for a larger number of comps.

Of course, since it's liveCD the env is the same, otherwise, you would have to have identical instalations.

Godspeed,
Tomislav
tomislav_maric is offline   Reply With Quote

Old   July 18, 2012, 14:26
Default
  #43
Senior Member
 
Ehsan
Join Date: Mar 2009
Posts: 112
Rep Power: 17
ehsan is on a distinguished road
Dear All

I like to ask a question on running OF in parallel systems, we try it and put IP number and name of each machine in /etc/hosts to make systems connected, and additionally, we created a file named machines in each system in it we put the name of each desired to connect machines, but the "connection refused" error, indicating that machines could not be connected, is given by the system. The system could ping to each other w.o error.

Regards
ehsan 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
Problems with Fedora 9 and OpenMPI harly OpenFOAM Running, Solving & CFD 11 May 3, 2009 04:18
[snappyHexMesh] SnappyHexMesh in parallel openmpi wikstrom OpenFOAM Meshing & Mesh Conversion 7 November 24, 2008 09:52
Problems using local openmpi stephan OpenFOAM Installation 1 December 5, 2007 18:01
OpenMPI performance vega OpenFOAM Running, Solving & CFD 13 November 27, 2007 01:28
OpenFOAM 14 with OpenMPI 12 fhy OpenFOAM Installation 0 July 12, 2007 18:12


All times are GMT -4. The time now is 07:59.