CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] Solved - not found

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2023, 10:45
Default Solved - not found
New Member
Join Date: Jun 2018
Posts: 8
Rep Power: 6
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

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

"error while loading shared libraries: 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.
tbraun84 is offline   Reply With Quote


installation, library linking issue, openfoam, openmpi

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 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

All times are GMT -4. The time now is 12:13.