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

[Other] Persistent difficulty installing and running libAcoustics

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2024, 10:08
Default Persistent difficulty installing and running libAcoustics
  #1
New Member
 
Niall O'Neill
Join Date: Feb 2023
Posts: 21
Rep Power: 3
nialloneill is on a distinguished road
Hello,

I have spent the past 2 days trying to get libAcoustics working and I am getting nowhere. I have tried many different approaches such as
https://www.youtube.com/watch?v=Fym_...ist=LL&index=2 and
libacoustic

but regardless, I seem to be getting the same problem when running one of the tutorial cases
"--> FOAM Warning :
From void* Foam::dlLibraryTable:penLibrary(const Foam::fileName&, bool)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 188
Could not load "libAcoustics.so""

at the end of the output from the (wmakeAll) file, I get the following:

"/usr/bin/ld: cannot find -lAcoustics: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [/usr/lib/openfoam/openfoam2312/wmake/makefiles/general:174: /home/niall/OpenFOAM/niall-v2312/platforms/linux64GccDPInt32Opt/bin/surfaceNoise] Error 1
"
I would have hoped it would be somewhat of a straightforward process just installing a library, and assumed the hard part would actually be the simulation settings, but I have hit a major block in the road before even starting here, and I am not even remotely sure where to go. Any advice would be much appreciated, thanks!
nialloneill is offline   Reply With Quote

Old   January 12, 2024, 14:13
Default
  #2
Senior Member
 
Joern Beilke
Join Date: Mar 2009
Location: Dresden
Posts: 540
Rep Power: 20
JBeilke is on a distinguished road
You should use OF v2212.

The latest version of libAcoustics is this:
https://github.com/unicfdlab/libAcoustics/tree/v2212
JBeilke is offline   Reply With Quote

Old   January 14, 2024, 11:09
Default
  #3
New Member
 
Niall O'Neill
Join Date: Feb 2023
Posts: 21
Rep Power: 3
nialloneill is on a distinguished road
Update: It turns out that the version of OpenFOAM that I am using needed to be the exact same as the version of libAcoustics, who would have thunk
nialloneill 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
[OpenFOAM.org] Installing and Running on a Cluster Lucc OpenFOAM Installation 2 August 11, 2022 15:03
[foam-extend.org] Problems installing the FSI-toolkit on foam-extend-4.0 Elstro OpenFOAM Installation 0 June 20, 2021 18:50
[OpenFOAM.com] Installing and running Swak4Foam on 1912 docker hektorWartgard OpenFOAM Installation 3 May 25, 2021 14:00
[Other] Basic questions about OpenFOAM cluster running and installing Fauster OpenFOAM Installation 0 May 25, 2018 16:00


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