MPI problmes
Hi Foamers.
According to this http://www.openfoam.org/download/git.php After I compiled OF 21x and paraview, there is totally nothing wrong and successfully run solvers. But I want to run parallel. so I tried, there are some errors: Code:
cfd@cfd:~/OpenFOAM/tutorials/multiphase/interFoam/laminar/damBreak$ mpirun -np 4 interFoam -parallel Code:
cfd@cfd:~/OpenFOAM/tutorials/multiphase/interFoam/laminar/damBreak$ mpirun Code:
cfd@cfd:~/OpenFOAM/tutorials/multiphase/interFoam/laminar/damBreak$ sudo mpirun Code:
cfd@cfd:~/OpenFOAM/tutorials/multiphase/interFoam/laminar/damBreak$ sudo su |
Dear sharonyue,
Have you done? "decomposePar" properly?..
I think you should check your file "decomposeParDict"... All the best... |
Quote:
|
Can you please copy-paste the "decomposeParDict" code here... So that I will have a better idea...
|
Quote:
Code:
numberOfSubdomains 4; I think its tough to install openmpi for myself. |
I do strictly according to this page. http://www.openfoam.org/download/git.php
But I can NOT install openmpi correctly. Its driving me crazy and upset!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
1) Install "openmpi-bin" and after that
2) Try running this command... mpirun -np 4 interFoam -parallel |
Quote:
Code:
cfd@cfd:~/OpenFOAM/tutorials/multiphase/interFoam/laminar/damBreak$ mpirun -np 4 interFoam -parallel |
What is the result of:
Code:
ls $WM_THIRD_PARTY_DIR/platforms/linux64Gcc/openmpi-1.5.3/share/openmpi/ And also post the output of the Allwmake script that you ran in $WM_THIRD_PARTY_DIR. Code:
cd $WM_THIRD_PARTY_DIR P.S. Do not run stuff as root. |
Quote:
no it does not exits. Code:
cfd@cfd:~/OpenFOAM/ThirdParty-2.1.x/platforms/linux64Gcc$ ls cd OpenFOAM/ThirdParty-2.1.x/openmpi1.5.3 ./configure make all install then I set the .bashrc but it does not work. actually I dont know how to set the .bashrc. I search the internet............. forget it !!!!! I just re-install my ubuntu and compile Openfoam.. I am totally pissed off! I am running interFoam on a mesh with 3,000,000 cells. thats too slow! I cant endure that. now I am so upset. I got have a rest. anyway Thank you guys very much. I will update my problem later after I reinstall my ubuntu and foam. |
Quote:
Unpack the openmpi sources into $WM_THIRD_PARTY_DIR and then just run the Allwmake script in $WM_THIRD_PARTY_DIR. That will install openmpi for you. |
Check this link...
http://auriza.site40.net/notes/mpi/o...on-ubuntu-904/ Try installing it from the command prompt.. Best of luck... |
All times are GMT -4. The time now is 21:38. |