|
[Sponsors] |
[OpenFOAM.com] Solved - libmpi.so.12 not found |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Tim
Join Date: Jun 2018
Posts: 10
Rep Power: 8 ![]() |
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. |
|
![]() |
![]() |
![]() |
Tags |
installation, library linking issue, openfoam, openmpi |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 15:11 |
injection problem | Mark New | FLUENT | 0 | August 4, 2013 01:30 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 01:36 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |