CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Solved - libmpi.so.12 not found

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By tbraun84

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2023, 11:45
Default Solved - libmpi.so.12 not found
  #1
New Member
 
Tim
Join Date: Jun 2018
Posts: 10
Rep Power: 8
tbraun84 is on a distinguished road
This may be a unique issue, but in hopes to help someone else, here is a summary of my problem... with a solution !

My config:
OpenSUSE Tumbleweed VERSION="20230110" on WSL2 (Linux kernel version 5.10.16.3-microsoft-standard-WSL2)


Upon installing OpenFOAM2212 from the OpenSUSE package repository, I was unable to run blockMesh or icoFoam; receiving the message,

"error while loading shared libraries: libmpi.so.12: cannot open shared object file: No such file or directory"


I ensured that openmpi and openmpi-libs were installed but was still not able to "find" these files.


What needed to be done:
1. Make sure openmpi1-libs was installed
2. Add to $LD_LIBRARY_PATH /usr/lib64/mpi/gcc/openmpi1/lib64/
- YMMV with other configs and distros. You can see the lib file locations with rpm -ql openmpi1-libs on OpenSUSE to make sure you are adding the right location to the aforementioned LD_LIBRARY_PATH variable. Incidentally, debian (Ubuntu) distros can use dpkg to see the same info.
jakvb likes this.
tbraun84 is offline   Reply With Quote

Reply

Tags
installation, library linking issue, openfoam, openmpi


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
Gmsh installation on terminal help spitfire Main CFD Forum 4 July 27, 2017 16:11
injection problem Mark New FLUENT 0 August 4, 2013 02:30
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32


All times are GMT -4. The time now is 09:06.