|
[Sponsors] |
[OpenFOAM.org] Problem of installation of OF2.3.1 with libmpi |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 11, 2015, 06:09 |
Problem of installation of OF2.3.1 with libmpi
|
#1 |
New Member
Jeremy
Join Date: Jul 2015
Location: France
Posts: 5
Rep Power: 10 |
Dear all,
I am new here but I used OpenFoam a few years ago under Ubuntu. I now try some new versions of OpenFoam and I come back to Ubuntu. I work under Ubuntu 14.04.2 LTS. I try to install OpenFoam 2.3.1 (for compatibilty reasons with previous works). I followed the procedure described on this page : http://www.openfoam.org/archive/2.3....oad/ubuntu.php but I have some problems when I verify that everything is ok. Paraview is launched perfectly but I can't lauch Openfoam. When I type icoFoam -help I obtain the following error : icoFoam: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory I've done a research on the web and on this forum but I've found nothing that can help me. As it's wrtitten, it seems that the file "libmpi.so.0" is not present on my system, which is true... Actually, I think it's a problem of OpenMPI installation or configuration but I can't find a solution to install and configure them correctly. OpenMPI is installed and is located here : /usr/lib/openmpi Thank you very much for the help that you could give ! Best regards, |
|
July 12, 2015, 11:57 |
|
#2 |
New Member
Jeremy
Join Date: Jul 2015
Location: France
Posts: 5
Rep Power: 10 |
Hello !
An idea, but I'm not enough experienced to know if it's a good one : I've noticed that I can't find the resquested file on the system. I don't know if openmpi is installed by default on Ubuntu 14.04 LTS or if its installation is made by some programs, like Openfoam. If it's the case, I don't understand why Openfoam doesn't install the good version, with appropriate files. If it's not, I wonder if the solution is to install openmpi manually, or to modify some files in openfoam to match them together ? And in this cas, how to do that ? Anyway, thanks a lot for your help ! |
|
July 15, 2015, 03:41 |
|
#3 |
New Member
Jeremy
Join Date: Jul 2015
Location: France
Posts: 5
Rep Power: 10 |
Hello !
I post to up the topic because I am quite helpless and I really need some helpful information. At this time I have no ideas to complete my OF 2.3.1 installation... I thought that if someone of you could tell me if this problem is associated to Openfoam or Ubuntu, it would be very helpful. I've tried to reinstall OF 2.3.1 but, as it has been already installed, there's no changes. Is it a problem of configuration of OF, and by which way ? Or is it a need to install OpenMPI correctly ? I think that it could be helpful if someone can take a look at his own installation of OF 2.3.1, or if someone can verify on his own system if the file requested (and I think that some other files will be asked by OF after) is present (i.e. libmpi.so.0). Thank you again for your help of anykind. Best Regards, |
|
July 18, 2015, 17:29 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Jeremy and welcome to the forum!
My guess is that you have installed both MPICH and Open-MPI, which is resulting in a collision of libraries, i.e. the reason why "libmpi.so.0" is not accessible is because MPICH's library is the default. My suggestion is to build OpenFOAM 2.3.1 from source code:
Bruno
__________________
|
|
July 20, 2015, 12:38 |
|
#5 |
New Member
Jeremy
Join Date: Jul 2015
Location: France
Posts: 5
Rep Power: 10 |
Thanks a lot Bruno !
I will try your solution soon and I will tell you how it works. Thanks again ! |
|
July 27, 2015, 08:31 |
Problem solved
|
#6 |
New Member
Jeremy
Join Date: Jul 2015
Location: France
Posts: 5
Rep Power: 10 |
Dear Bruno,
Thanks a lot for your help, Actually, it seems that my problem came from a previous installation of OF210 on my system. I just installed OF231 as described here : http://www.openfoam.org/archive/2.3....oad/ubuntu.php (Ubunutu Deb Pack Installation) but I added the command that is indicated in the link you gave : http://openfoamwiki.net/index.php/In...u#Ubuntu_14.04 (step #5) It allowed to specifiy the good MPI library, without conflicts. And now it works ! Thanks again ! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] foam-extend-4.0 openSUSE Leap 42.1 Installation Problem | icab | OpenFOAM Installation | 5 | April 8, 2017 07:09 |
Problem with installation | florvit | ANSYS | 0 | December 8, 2016 09:10 |
[OpenFOAM.com] Installation Problem | Manyway | OpenFOAM Installation | 2 | July 8, 2016 13:47 |
Installation problem - calling blockMesh - libblockMesh.so | aylalisa | OpenFOAM Installation | 5 | November 28, 2012 09:55 |
ParaView installation problem on Suse 11.4 | victorz | OpenFOAM Installation | 4 | February 6, 2012 17:26 |