mpirun trouble
Hi everybody. Yesterday I made a fresh installation of OpenFOAM-1.7 and today I ran a tested case. I had a mpirun problem:
Code:
foamJob -p -s simpleFoam My o.s. is Ubuntu 10.04. |
Hi Maurizio,
:eek: nice catch! That's another bug :) So feel free to report it :) The quickest fix is this: Code:
sudo ln -s openfoam170 /opt/OpenFOAM-1.7.0 Code:
sudo ln -s /opt/openfoam170 /opt/OpenFOAM-1.7.0 Quote:
Best regards, Bruno PS: I've hit 500 posts with this post :cool: |
Hi, Bruno.
I hoped you were around here :-) I ran in the terminal your second hint and - I'm not so expert - it means that a folder named OpenFOAM-1.7.0 is created, linking to openfoam170. But something doesn't work and I still have the same output when launching foamJob. Have I to make any trivial thing (I already opened a new terminal), like rebooting the computer or create again a 'run' folder (I already had HOME/OpenFOAM/user-1.7.0/run)? Thanks for your help. |
Hi Maurizio,
Oops, I forgot one thing... You will have to edit your file "~/.bashrc" and change the line: Code:
. /opt/openfoam170/etc/bashrc Code:
. /opt/OpenFOAM-1.7.0/etc/bashrc As for using the symbolic link: I think it's the best option, since this way when OpenCFD updates the debian package, you'll have your installed version automatically updated too :) Best regards, Bruno |
I edited the ~/.bashrc file and inserted
Code:
# OpenFOAM |
Ooook... I had to install it and test it for myself. The fixes above apparently are worthless :(
The fix that worked for me right now was to edit the file /opt/openfoam170/bin/foamJob: Code:
gksu gedit /opt/openfoam170/bin/foamJob Code:
mpirun $mpiopts $APPLICATION $@ -parallel You better report this, because this is on annoying bug :( I tried to fix the file foamExec, but it never wanted to work :( Best regards, Bruno |
Bruno,
thank you very much for your temporary fix trick. I need OpenFOAM now, I couldn't wait for a definitve solution. I already posted a thread in the OF bugs section of the forum, just a link to this forum. Thanks again for your quick help. Best regards. |
All times are GMT -4. The time now is 07:03. |