|
[Sponsors] |
April 14, 2015, 19:26 |
gmshtoFoam error
|
#1 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11 |
Hi everyone,
I have created a simple geometry and tried to import it into openfoam but when i do that using gmshtoFoam i get the following error Code:
[aditya@localhost cavity_copy]$ gmshToFoam flatplate3.msh gmshToFoam: error while loading shared libraries: libmpi.so.12: cannot open shared object file: No such file or directory Regards, Aditya |
|
April 15, 2015, 01:41 |
|
#2 |
Senior Member
|
Hi,
The error means, that after OpenFOAM compilation MPI libraries disappeared (were upgraded/removed). As your other questions were about installation on Fedora 19, and as this version of distribution is not maintained any more, the upgrade possibility seems to be improbable. Do other OpenFOAM components (icoFoam for example) work as expected? Or do they also fail with the same error message? |
|
April 15, 2015, 11:16 |
|
#3 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11 |
Hi alex,
I did install openfoam again using the instructions found in this website. Openfoam is working properly now except the parallel run. i.e blockmesh, icofoam and paraview etc all of them work perfectly. So does it mean that I can never use gmsh generated meshes for my OF? Is there a way around this problem? Regards, Aditya |
|
April 15, 2015, 11:53 |
|
#4 |
Senior Member
|
Hi,
I do not know, I have never used OpenFOAM with broken MPI installation. |
|
April 15, 2015, 11:56 |
|
#5 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11 |
Hi,
I dont understand why I always run into just the openmpi problem. I re-installed OF twice but still the problem persists. Any solution? Regards |
|
April 15, 2015, 19:25 |
|
#6 |
Member
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11 |
Hi,
Now i seem to have a problem running blockmesh as well. How do i get around this problem? |
|
April 16, 2015, 02:21 |
|
#7 |
Senior Member
|
Hi,
I looked through your thread about installation on Fedora 19 and it seems I know the reason for the behavior. After you have said, you wish to use MPICH, wyldckat suggested you to uninstall OpenMPI and install MPICH (post #31). Then you have decided, you do not like MPICH and uninstall it (post #34). So I guess now you have OpenFOAM built with either system-wide installed OpenMPI, or system-wide installed MPICH, but you uninstalled both. So you can either a) install OpenMPI/MPICH system-wide (using yum command), b) rebuild OpenFOAM with OpenMPI from ThirdParty folder. |
|
April 16, 2015, 07:09 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
FYI: I've answered here: http://www.cfd-online.com/Forums/ope...tml#post542057 - post #36
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM udf error | haghshenasfard | FLUENT | 0 | April 13, 2016 06:35 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 09:17 |
Errors in UDF | shashank312 | Fluent UDF and Scheme Programming | 6 | May 30, 2013 20:30 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) | Yogini | Fluent UDF and Scheme Programming | 7 | October 3, 2012 07:24 |