|
[Sponsors] |
August 14, 2013, 09:44 |
Parallel computing by OF 2.2.0
|
#1 |
Member
ali jafari
Join Date: Sep 2012
Posts: 50
Rep Power: 14 |
hi
I APOLOGIZE for my simple problem and new thread. I posted my problem http://www.cfd-online.com/Forums/ope...ocessor-2.html but nobody answered me !! however I repeat it : I tried to parallel computing (OF 2.2.0)by two desktop computers. but this error was exposed. PHP Code:
is correct this command ?( mpirun --hostfile /home/ali/machines.txt -np 20 icoFoam -parallel > test &) others Threads confused me , what should I do ? (step by step) |
|
August 16, 2013, 14:37 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Ali,
Since you asked this in a new thread, I deleted the old post, to avoid confusion by future readers. OK, as for your problem, can you please share the file "machines.txt"? Because from the error message, it's inside that file that the problem is located. Best regards, Bruno
__________________
|
|
September 28, 2013, 03:23 |
|
#3 | |
Member
ali jafari
Join Date: Sep 2012
Posts: 50
Rep Power: 14 |
Quote:
ACCEPT MY APOLOGIZE FOR DELAY, please. I was very busy. has a specific path machines file ? |
||
September 28, 2013, 08:50 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ali,
If you are using Open-MPI, then the problem is that you are using the keyword "cpu" when it should be "slots". This is explained here: http://www.open-mpi.org/faq/?categor...imple-spmd-run Best regards, Bruno
__________________
|
|
September 28, 2013, 18:06 |
|
#5 | |
Member
ali jafari
Join Date: Sep 2012
Posts: 50
Rep Power: 14 |
Quote:
I changed the keyword but it dose not work. I read all of the page and I tried to do the orders. but I get no result !! is NFS passwordless config. necessary for parallel computing ? |
||
September 29, 2013, 05:48 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ali,
NFS doesn't need password. It's the usual folder sharing system used on Linux Distributions. Folder sharing is necessary for running OpenFOAM in parallel with more than one machine. I think I'm assuming that you are using Open-MPI, but you might not be using it at all. Please run the following command: Code:
mpirun --version Bruno
__________________
|
|
September 29, 2013, 18:39 |
|
#7 | |
Member
ali jafari
Join Date: Sep 2012
Posts: 50
Rep Power: 14 |
Quote:
------------------------- Dear Bruno , I ran openfoam on multi core PC but I confused about cluster because Im not familiar with linux ! what is your idea about these steps ? 1. setup openfoam on all PCs. 2. config. sshd and ssh files on servers and client.(PasswordAuthentication no) 3. share home folder between PCs with ssh. 4. create a machines file that include PCs name and ip addresses. 5. using mpirun command , explained at openfoam guide. and a questions : do I need to add some lines in ./bachrc or ./profile files for parallel computing? |
||
October 5, 2013, 14:50 |
Parallel
|
#8 |
Member
ali jafari
Join Date: Sep 2012
Posts: 50
Rep Power: 14 |
hi
I want to run parallel OpenFoam 2.2.x on two node , I read openfoam user guide and try to do its order, but the guidelines dont explain it completely. please give me some advises about the steps that I sould do for doing this aim in openfoam and ubuntu . Note : I can run openfoam on multi core system and I familiar with MPI . clearly I want to know : 1) are ssh and sshd config. on ubuntu necessary ? (if yes how) 2) do I need hard disk sharing between machines ? 3) is decomposePar similar to multicore run ? 4) must I setup openfoam on all machines? 5) how do openfoam find <machines> file address ? (in other words where do I put machines file in hard disk ?) in advance, thanks for your guides. |
|
October 6, 2013, 14:45 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ali,
Best regards, Bruno
__________________
|
|
October 18, 2013, 15:12 |
|
#10 |
New Member
payal
Join Date: Aug 2013
Location: banglore
Posts: 14
Rep Power: 13 |
Greeting all,
can somebody plz suggest me the link there i will get the experimental data to validate the results for the Sandia -CH4H2N2 . similar to the tutorial . i tried to search but not able to found . Thank you , Regards , Payal . |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unchangeable continuity residuals in parallel computing | wlt_1985 | FLUENT | 0 | August 1, 2011 13:15 |
Diffusion equation solved using Parallel Computing | Sachin Paramane | Main CFD Forum | 0 | June 12, 2007 00:48 |
Parallel Computing on Multi-Core Processors | Upgrading Hardware | CFX | 6 | June 7, 2007 16:54 |
Parallel Computing | peter | Main CFD Forum | 7 | May 15, 2006 10:53 |
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 | Amitava Majumdar | Main CFD Forum | 0 | January 5, 1999 13:00 |