|
[Sponsors] |
October 14, 2005, 13:44 |
Hi,
when I start the parallel
|
#1 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Hi,
when I start the parallel execution of the damBreakFine, I receive the fellowing message: ----------------------------------------------- /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.2 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : interFoam /home/mer/OpenFOAM/mer-1.2/run/tutorials/interFoam damBreakFine -parallel /*---------------------------------------------------------------------------*\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: 1.2 | | \ / A nd | Web: http://www.openfoam.org | | \/ M anipulation | | \*---------------------------------------------------------------------------*/ Exec : interFoam /home/mer/OpenFOAM/mer-1.2/run/tutorials/interFoam damBreakFine -parallel [0] Date : Oct 14 2005 [0] Time : 09:02:10 [0] Host : merrou [0] PID : 5702 [1] Date : Oct 14 2005 [1] Time : 13:01:56 [1] Host : merrouw [1] PID : 3416 [0] Root : /home/mer/OpenFOAM/mer-1.2/run/tutorials/interFoam [0] Case : damBreakFine [0] Nprocs : 2 [0] Slaves : [0] 1 [0] ( [0] merrouw.3416 [0] ) [0] [1] Root : /home/mer/OpenFOAM/mer-1.2/run/tutorials/interFoam [1] Case : damBreakFine [1] Nprocs : 2 Create time --> FOAM FATAL ERROR : interFoam: Cannot open case directory "/home/mer/OpenFOAM/mer-1.2/run/tutorials/interFoam/damBreakFine/processor1" FOAM parallel run exiting ----------------------------------------------------------------------------- One of the processes started by mpirun has exited with a nonzero exit code. This typically indicates that the process finished in error. If your process did not finish in error, be sure to include a "return 0" or "exit(0)" in your C code before exiting the application. PID 5702 failed on node n0 (192.168.0.1) with exit status 1. ----------------------------------------------------------------------------- What is the problem? for n I use (2,1,1) andmy simulation is under 2 PCs |
|
October 16, 2005, 12:51 |
Hi,
Thanks I resolve my probl
|
#2 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Hi,
Thanks I resolve my problem by decompose the same case in the second Pc. But, I can't understand a think. why should I install the case on both Pcs and is it necessary to decompose it in the 2 pcs also. |
|
October 17, 2005, 02:43 |
Do they have the same file-sys
|
#3 |
Senior Member
Håkan Nilsson
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 204
Rep Power: 18 |
Do they have the same file-system? The same case directory must be available on both machines, otherwise the second machine would not know what to do.
H. |
|
October 17, 2005, 05:49 |
As Hakan explained, if you hav
|
#4 |
Senior Member
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 18 |
As Hakan explained, if you have a single file system that can be seen by all the nodes in the cluster, you will not need to do anything twice. In my case this is done by setting one of the machines as file server for the others. Don't ask me how to do that since our adminstrator did it for us :-). Good luck!
/Maka |
|
October 17, 2005, 07:41 |
Hi,
Yes I used the NFS server
|
#5 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Hi,
Yes I used the NFS server and share the run FOAM directory with the other Pcs. but, it doesn't work. Then I decide to install the OpenFOAM on the second Pc and do the same job twice. |
|
October 17, 2005, 18:17 |
Hi,
I did the type of testi
|
#6 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
I did the type of testing, that is connecting two PCs each has Fedora Core 3 installed, about 5 months ago. I lost one PC, so unfortunately I cannot re-do it and write down all the steps. But, here are few key things I remember that are important: 1. One PC will serve as a file server. You do decomposePar on this PC to create the two folders for processor0 and processor1. 2. hostname needed to be correct. Make sure that you can ping both the IP and machine names from each other. 3. I had NFS running and setup ssh so that both PCs can logon to each other without a password (need public/private key dsa key pair generated and copied to the right place). 4. on the client PC, I believe that I have OpenFOAM installed. The case file does not reside on the client PC. I created a new folder with the same path/folder name as the server PC for the case to be run. Mount this folder to the folder on the file server. All these steps did the trick (these are from memory, I may miss some details). Pei |
|
October 18, 2005, 06:45 |
Hi,
Thanks you all,
Pei, the
|
#7 |
Member
merrouche djemai
Join Date: Mar 2009
Location: ain-oussera, djelfa, algeria
Posts: 46
Rep Power: 17 |
Hi,
Thanks you all, Pei, the ssh server should be in running state else the (LAM/MPI) doesn't work. for the other steps that you have mentionned, I will try and if I find any problems I will be back. By the way, I want to use the interFOAM solver in the modeling of the motion of bubbles in tube. I started by taking the geometry of bubblefoam case bu I find problems how to impose my bubble and when (problems with gamma field). Any help on this subject?!!!! I need to perform some simulations with OpenFOAM in order to decide if I will decide to chose it for coupling with other codes. thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trouble with parallel runs | cfdmarkus | OpenFOAM Running, Solving & CFD | 9 | February 27, 2009 04:59 |
Own boundary condition modified simpleFoam erorr in parallel execution | sponiar | OpenFOAM Running, Solving & CFD | 1 | August 27, 2008 10:16 |
Parallel Fluent: trouble going from 2 to 4 CPUs | Mario | FLUENT | 6 | August 24, 2006 01:17 |
Parallel execution of customized solver | otsuki | OpenFOAM Running, Solving & CFD | 2 | March 24, 2006 08:47 |
Parallel startup trouble! | John | CFX | 9 | April 22, 2005 21:17 |