CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Gmsh] gmshtoFoam error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2015, 19:26
Default gmshtoFoam error
  #1
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
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
Can someone please help me out with why this is happening?

Regards,
Aditya
dsn is offline   Reply With Quote

Old   April 15, 2015, 01:41
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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?
alexeym is offline   Reply With Quote

Old   April 15, 2015, 11:16
Default
  #3
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
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
dsn is offline   Reply With Quote

Old   April 15, 2015, 11:53
Default
  #4
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

I do not know, I have never used OpenFOAM with broken MPI installation.
alexeym is offline   Reply With Quote

Old   April 15, 2015, 11:56
Default
  #5
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
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
dsn is offline   Reply With Quote

Old   April 15, 2015, 19:25
Default
  #6
dsn
Member
 
Aditya
Join Date: Nov 2014
Posts: 35
Rep Power: 11
dsn is on a distinguished road
Hi,

Now i seem to have a problem running blockmesh as well. How do i get around this problem?
dsn is offline   Reply With Quote

Old   April 16, 2015, 02:21
Default
  #7
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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.
alexeym is offline   Reply With Quote

Old   April 16, 2015, 07:09
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
FYI: I've answered here: http://www.cfd-online.com/Forums/ope...tml#post542057 - post #36
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:54.