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

[OpenFOAM.com] error while loading shared libraries: mingw

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By FDStoFOAM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2021, 03:28
Default error while loading shared libraries: mingw
  #1
New Member
 
Anna
Join Date: Apr 2021
Posts: 5
Rep Power: 5
FDStoFOAM is on a distinguished road
Hi there,


i'm trying to install OpenFoam via minGW on Windows 10 (Version v2012).

The installation works but when i now want to run the first blockmesh command in the cavity tutorial i get the following error:
"$ blockmesh
D:/run/v2012/msys64/home/ofuser/OpenFOAM/OpenFOAM-v2012/platforms/win64MingwDPInt32Opt/bin/blockmesh.exe: error while loading shared libraries: libstdc++-6.dll: cannot open shared object file: No such file or directory"
Both blockmesh.exe and libstdc++-6.dll exist in the folder.


i found this thread: error while loading shared libraries which seams to face the same error but it didn't really help because i'm not trying to install a second version and therefore my .bashrc looks different.

The .bashrc -File i'm looking into is located here: D:\run\v2012\msys64\home\ofuser\OpenFOAM\OpenFOAM-v2012\etc while D:\run is the folder where i installed OpenFoam.

Is this right? I found some more .bashrc Files in e.g. in D:\run\v2012\msys64\home\ofuser


I hope that anybody can help me. Please let me know if you need any further information.


Best regards
Anna
FDStoFOAM is offline   Reply With Quote

Old   April 24, 2021, 12:22
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Did a quick check and was told that this was indirectly related to MS-MPI. Not really sure what that means, but would make sense to followup on develop.openfoam.com and tag @pawan on it. He doesn't follow things on this forum, but would be the best source of information.
olesen is offline   Reply With Quote

Old   April 26, 2021, 02:50
Default
  #3
New Member
 
Anna
Join Date: Apr 2021
Posts: 5
Rep Power: 5
FDStoFOAM is on a distinguished road
Quote:
Originally Posted by olesen View Post
Did a quick check and was told that this was indirectly related to MS-MPI. Not really sure what that means, but would make sense to followup on develop.openfoam.com and tag @pawan on it. He doesn't follow things on this forum, but would be the best source of information.

Hi, thank you very much for your answer. I already found the problem and it indeed had to do with the MS MPI.
First thing: I'm not the administrator on the computer i'm working on and when i just installed Min GW via double-click it didn't even ask me to install MS-MPI.

So i uninstalled it and reinstalled it via right-click and "install as administrator" and installed MS-MPI (which it recommended now) and it works.

The only thing i don't understand is why it didn't ask me to install MPI in the first place. Might be an issue with the rights or firewall.

Thread is closed for me then.
FDStoFOAM 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 05:01
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57


All times are GMT -4. The time now is 14:07.