OpenFOAM 1.7.1. using openmpi on Ubuntu 12.04
Hi there.
We're trying to get OF running using on a Ubuntu 12.04 (x86) system. Following the installation instructions from openfoamwiki gave us a running installation of OF, but it gives errors, when we try to run it in parallel operation: Code:
Sorry! You were supposed to get help about: (I also noticed the compiler complaining about missing mpi.h in Allwmake of OF 1.7.1, which is somewhat weird, as we'd manage to get a recent OF 2.1.1 running parallel without any problems.) Can anyone help ? [Isn't there a recent howto out there, describing how to build OF 1.7.1 with mpi support ? Most of the docs I read were unfortunately severely out of date :( ] |
Greetings dasMopo and welcome to the forum!
I believe you are talking about this page: http://openfoamwiki.net/index.php/In...M-1.7.1/Ubuntu Since you have more than one OpenFOAM installed, how are you keeping the two installations separated, shell-wise? If you don't know what I mean, see: http://www.cfd-online.com/Forums/blo...vironment.html Also, try running Allwmake in OpenFOAM-1.7.1 once again, and check what errors is gives you. Best regards, Bruno |
Wyldckat, thanks for your reply.
Actually - after some additional tries and a fresh install - I managed to get it to work. The problem was that in the howto there was the include of systemopenmpi, which wouldn't work. Code:
source $HOME/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=SYSTEMOPENMPI Code:
source $HOME/OpenFOAM/OpenFOAM-1.7.1/etc/bashrc WM_NCOMPPROCS=4 WM_MPLIB=OPENMPI This works quite well. |
Hi dasMopo,
Many thanks for the feedback! I'll update the wiki page accordingly and give this page as a reference for future support! I've been writing on these wiki pages to use the Ubuntu's version of Open-MPI, because (at least in theory) it should be the most stable and tested version... but then again, I didn't fully test the resulting build. So feedback is always welcome! Best regards, Bruno |
Well, you're very welcome. :)
Another issue I encountered in using the 1.7.1 Ubuntu installation guide: the getQt script (in section 6 - building paraView) still points to the Trolltech servers, which are no longer available. Correct link should point to the project's new home at http://releases.qt-project.org/qt4/source/ (Nokia). |
Hi dasMopo,
Once again, many thanks for the feedback! I've implemented the changes you suggested. Best regards, Bruno |
All times are GMT -4. The time now is 23:12. |