Git Product home page Git Product logo

Comments (4)

YoungmChoi avatar YoungmChoi commented on July 17, 2024

Dear Niclas,

It seems that "libfftw3.a" does not exist in "/usr/local/lib/". You can make a soft link or you can set the installation path manually.

Can you check that "libfftw3.a" exists in "/usr/local/lib/"? If it does not exist, you need to specify the path for "libfftw3.a". You can manually set this by changing inside of CMakeLists.txt.

original :
set(FFTW3_LIB_PATH /usr/local/lib)

modification:
set(FFTW3_LIB_PATH FFTW3_LIBRARY_INSTALLATION_PATH)

or defining the path as:

cmake -H. -Bbuild -DFFTW3_LIB_PATH=FFTW3_LIBRARY_INSTALLATION_PATH

Please have a try and let us know. Have a nice day!

Best regards,
Young-Myung Choi

from grid2grid.

nbasse avatar nbasse commented on July 17, 2024

@YoungmChoi
Dear Young-Myung,
Thank you for your quick reply!

from what I can see libfftw3.a actually exist in the specified folder:

$ ls -la /usr/local/lib/ | grep fftw3
-rw-r--r-- 1 root root 2280560 Feb 17 13:49 libfftw3.a
-rwxr-xr-x 1 root root 886 Feb 17 13:49 libfftw3.la

Do you have any other ideas on how to solve this?

Kind Regards,
Niclas

from grid2grid.

YoungmChoi avatar YoungmChoi commented on July 17, 2024

Dear Niclas,

Sorry. I misunderstood the error message. You need to compile "libfftw3.a" with a flag "-fPIC".
There is an explanation in the manual on how to compile this library with this flag.

Please try compilation after recompiling the "libfftw3.a".

Have a nice day.

Best regards,
Young-Myung Choi

from grid2grid.

nbasse avatar nbasse commented on July 17, 2024

Thanks!
I just noticed this also. I had previously compiled fftw3 when I installed HOS-ocean and didn't need the flag then.
I have just recompiled fftw3 and made a successful compilation of grid2grid!
Now I will try it out 😀

Thank you for your assistance!
Have a nice day!

Best regards,
Niclas

from grid2grid.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.