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

[foam-extend.org] FE-4.0 and FE-4.1 : missing libmpi.so.40

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lcliu

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2020, 05:05
Default FE-4.0 and FE-4.1 : missing libmpi.so.40
  #1
New Member
 
LC Liu
Join Date: Jun 2015
Posts: 3
Rep Power: 11
lcliu is on a distinguished road
I am installing FE-4.0 and 4.1 on my CENTOS 7.5, the process looks ok but it shows “error while loading shared libraries: libmpi.so.40: cannot open shared object files: No such file or directory” when I try to run tutorial case (for blockMesh and steadyCompressibleFoam).

I have openFoam v.2006 successfully installed on the same machine with openmpi 4.0.3, could any one share some experience upon this? Thanks in advance.
lcliu is offline   Reply With Quote

Old   November 26, 2020, 04:51
Default
  #2
Senior Member
 
Join Date: Aug 2013
Posts: 407
Rep Power: 16
Antimony is on a distinguished road
Hi,

What is the variable $WM_MPLIB set to? Is it the same for both the FE and OF-v2006?

Cheers,
Antimony
Antimony is offline   Reply With Quote

Old   November 26, 2020, 05:54
Default
  #3
New Member
 
LC Liu
Join Date: Jun 2015
Posts: 3
Rep Power: 11
lcliu is on a distinguished road
Thank you for the reply, the issue was resolved by adding the following line into my .bashrc:

export LD_LIBRARY_PATH=/PATH_TO_openmpi-version/lib:$LD_LIBRARY_PATH
Antimony likes this.
lcliu is offline   Reply With Quote

Old   February 15, 2024, 12:51
Default
  #4
New Member
 
Vahid
Join Date: Aug 2023
Posts: 2
Rep Power: 0
vahidrabbani is on a distinguished road
where did you add the line please I have the same problem.
vahidrabbani 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



All times are GMT -4. The time now is 10:21.