|
[Sponsors] |
April 9, 2008, 10:25 |
Hi Christian
your installati
|
#21 |
Senior Member
|
Hi Christian
your installation still face the problem of LAM,MPICH,RSH,which i also met,so it can not run in parallel model? how to resolve it? wayne |
|
April 9, 2008, 10:29 |
In order to let OpenFOAM to ru
|
#22 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
In order to let OpenFOAM to run in parallel on different nodes, you need to setup a passwordless account for ssh (public key with an empty passphrase).
Dragos |
|
April 10, 2008, 03:36 |
Hi Dragos
how to setup up a p
|
#23 |
Senior Member
|
Hi Dragos
how to setup up a passwordless account for rsh? why there is no env varible for LAM and OPENMPI. wayne |
|
April 10, 2008, 05:03 |
Hi Wayne,
Just google for "pa
|
#24 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Hi Wayne,
Just google for "passwordless rsh" and you will get lots of examples. This is the first I got: passwordless rsh/ssh Dragos |
|
April 10, 2008, 05:31 |
Hi Wayne,
sorry for my late r
|
#25 |
New Member
Christian Wesemeyer
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
Hi Wayne,
sorry for my late reply. As Dragos said, you should google for passwordless rsh/ssh (I've done so too). After that parallel run works fine. The only problem I still was unable to solve is, that I can't run simultaneously on 32 and 64 Bit machines (we have some old one running here, which I would be able to use nearly permanently for calculations). Due to the fact, that we use an nfs for our /home directory I tried to install both versions in my account, so that I'm now able to run calculations on the 32 or on the 64 Bit machines. I haven't spent much time on that so far, because I guess, that both versions use different sizes for variables and therefore a parallel run on different environments just would be possible with some coding work. Greetings Christian |
|
April 10, 2008, 06:18 |
Hi Christian,
If I may sugges
|
#26 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
||
April 10, 2008, 08:19 |
Hi Christian and Dragos
thank
|
#27 |
Senior Member
|
Hi Christian and Dragos
thanks for your help,i will try rsh later.but now i am running my case with the 2 cpu which both on the sam architecture. i try run my case as mpirun -np 2 MRFSimpleFoam . mycase -parallel > log without "&" at the end of the commond, but it still run in the backgroud. why? and according to the user guide there is another option to run : </dev/null>& log & what is this? and in this option there are two "&", why ? and could i move the fisrt & before the > Thanks Wayne |
|
April 10, 2008, 08:50 |
Hi Wayne and Dragos,
sorry, b
|
#28 |
New Member
Christian Wesemeyer
Join Date: Mar 2009
Posts: 19
Rep Power: 17 |
Hi Wayne and Dragos,
sorry, but I can't help you an the problem with the background process. I p.e. run my simulation with the following command mpirun --hostfile /home/wagner/cwe/OpenFOAM/cwe-1.4.1/run/tutorials/gitterinvarianz/324000/system/ rechner -np 5 -v interFoam /home/wagner/cwe/OpenFOAM/cwe-1.4.1/run/tutorials/gitterinvarianz 324000 -parallel > 324000.logIt's ot in background and puts it's outputs to 324000.log Thank's a lot for the idea with google. I'll check this, when I'll have some time. Greetings Christian |
|
April 10, 2008, 09:05 |
|
#29 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
</dev/null - the standard input is redirected from the keyboard to the file /dev/null (if the program needs to read something it will try to do that from the /dev/null file);
>& log - the standard output and standard error is redirected to the file log (if the program wants to write something on the screen it will do that in the log file). The last & send the job in the background, if somebody else did not do it already. All this things are very nicely described in the manual page of the bash shell: man bash. Dragos |
|
April 10, 2008, 12:29 |
Hi Christian and Dragos:
than
|
#30 |
Senior Member
|
Hi Christian and Dragos:
thanks! Wayne |
|
April 25, 2008, 15:28 |
First of all thank you to ever
|
#31 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
First of all thank you to everyone who posts, you have saved me more times than I can count. Also, thank you for those that develop OpenFOAM as it is an incredibly useful tool. I managed to spend a lot of time yesterday making OF work and I would like to post some help to those that might follow. This is not a step by step, only what I remember
since I spent a great deal of yesterday getting the OpenFOAM to work on amd64 Ubuntu 8.04 fresh install. I thought I might post some help/tips that I found. 1) in the 64 bit version of OpenFOAM, the "linux" sub-folder must be named "linux64". You might get a few error that tell you that OF can't find gcc or java. 2) make sure that in your home .bashrc file, you have WM="on" above the source line like this export WM_64="on" . $HOME/OpenFOAM/OpenFOAM-1.4.1/.OpenFOAM-1.4.1/bashrc This will make sure that OF knows you are using 64 bit. 3) When starting FoamX, I received errors saying that java could not be found. and that there was an error with libxp.so.6 being shared. A similar issue was discussed at http://www.cfd-online.com/OpenFOAM_D...tml?1194651563 I found that the problem was not that the libxp.so.6 was "not there" it was that the 32 bit version was not there. I attempted to place links between the versions of libxp.so.6 in other /usr/lib64 or usr/lib folders, but I eventually figured that i needed the 32 bit version. I found this handy tool called getlibs.Getlibs can be found at http://ubuntuforums.org/showthread.php?t=474790 and it downloads the 32 bit version of the library you specify...there is documentation on that post. After several iterations of FoamX and then finding an error that needed a 32bit lib I was able to get OF to work. 4) Paraview. I ran into some more problems on paraview ( forgot to save the message board post i found) and it was solved by downloading the tk8.4 (and the dev package too) along with tk8.5 to be sure. I also downloaded the tcl8.4, tcl8.5, and both dev packages. after that Paraview worked. I think thats it. I was here til 4 am but it worked. Good luck. |
|
April 27, 2008, 14:59 |
N.B to my previous post in ste
|
#32 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
N.B to my previous post in step 3.
If you are on 64 bit and receive the "java not found error" then you are missing a library. the short explanation can be found here. http://www.zend.com/forums/index.php?t=msg&goto=8855&S=47b9d5fd8f211c8c9083fe 55a 877ba90 you are basically missing the libc6-i386 library and can be downloaded using getlibs libc6-i386 lastly, I am on an intel machine so your "linux64" folder might actually need to be "linuxAMD64" if you have an AMD processor...I'm not sure. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF troubles | Rachel | FLUENT | 1 | June 30, 2008 00:02 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
Paraview installation troubles | jjhall | OpenFOAM Installation | 3 | April 17, 2008 13:59 |
3d VOF troubles... | Mac | FLUENT | 0 | March 12, 2007 09:41 |
Installation on AMD64 Special considerations | olwi | OpenFOAM Installation | 2 | September 10, 2006 15:17 |