unicfdlab / libAcoustics

libAcoustics - OpenFOAM library for far-field noise computation
139 stars 56 forks source link

cannot find -lfftw3 #96

Open VamosZhi opened 1 year ago

VamosZhi commented 1 year ago

Hi, anyone could help me with the following Compilation problems:

/cvmfs/soft.computecanada.ca/gentoo/2020/usr/x86_64-pc-linux-gnu/binutils-bin/2.33.1/ld.bfd: cannot find -lfftw3 collect2: error: ld returned 1 exit status make: *** [/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/openfoam/v2112/OpenFOAM-v2112/wmake/makefiles/general:184: /home/z54cheng/OpenFOAM/z54cheng-v2112/platforms/linux64GccDPInt32Opt/lib/libAcoustics.so] Error 1

Best, Zhi

unicfdlab commented 1 year ago

Hi, Zhi! The FFTW3 library was not compiled or the environment path to it was incorrect. This library must be compiled with OpenFOAM and is located in the ThirdParty folder.

VamosZhi commented 1 year ago

Hi, Many thanks for your reply!

Could you further explain what’s the meaning for: interpolationScheme cell; interpolate false; In the commenSettings?

I found my parallel running crashed when calculating the acoustics pressure in the log file if I set more sound monitors (no so high, about 30 monitors). I wander whether it’s owing to this.

Best, Zhi

From: @.> Sent: February 27, 2023 04:40 To: @.> Cc: ZHI @.>; @.> Subject: Re: [unicfdlab/libAcoustics] cannot find -lfftw3 (Issue #96)

Hi, Zhi! The FFTW3 library was not compiled or the environment path to it was incorrect. This library must be compiled with OpenFOAM and is located in the ThirdParty folder.

— Reply to this email directly, view it on GitHubhttps://github.com/unicfdlab/libAcoustics/issues/96#issuecomment-1446008762, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARO4ZJSOUEJSTYIA6X3ONUDWZRZBLANCNFSM6AAAAAAVGCNJHM. You are receiving this because you authored the thread.Message ID: @.***>