Giter VIP home page Giter VIP logo

Comments (15)

geggo avatar geggo commented on May 28, 2024

I have gpyfft compiled and running on Windows with Anaconda Python 3.x, typically via
python setup.py build
python setup.py install

It could be you have an older version of the clfft library or is found somewhere else on the path. You could try to use DependencyWalker to check for which libraries are actually loaded.

Gregor

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

geggo avatar geggo commented on May 28, 2024

Hi Yves,

fftw is optional for building clfft, it is only needed for validating results in tests. Building clFFT should gracefully proceed without fftw installed.
Did you try using DependencyWalker?

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

geggo avatar geggo commented on May 28, 2024

somewhere in your gpyfft module directory should be a gpyfftlib.XXX file, with the ending depending on your platform. Actually, it is dll file which you can analyze with DependencyWalker. It is linked to clFFT.dll, which needs to be found, i.e., it should be placed in the same folder as gpyfftlib or be found on the search path.
Possibly, clFFT.dll (and also statTimer.dll) is not found, or an incompatible version.

hope that helps
Gregor

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

geggo avatar geggo commented on May 28, 2024

Hi Yves,

actually Anaconda Python 3.7 on MacOS is my primary development platform. I just pushed my local changes, including some modifications of setup.py to github. Perhaps this fixes your segfaults.
Otherwise I would recommend making a clean rebuild of gpyfft, and search for stale gpyfftlib*.so files, I remember this might cause troubles.
hopes that helps
Gregor

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

geggo avatar geggo commented on May 28, 2024

Hi Yves,

I added a zipped wheel file of my recently built gpyfft, for Anaconda Python 3.7. Try using this, install it with
pip install

gpyfft.zip

If it crashes, try to figure where. Which version of clFFT are you actually using (you could check it with

otool -L gpyfftlib-XXX.so

Gregor

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

geggo avatar geggo commented on May 28, 2024

Hi Yves,

it seems you have clfft not installed, the library (libclFFT.dylib) is not on your search path and cannot be found.

I typically build and install clFFT by cloning latest version from github, and then

cd src
cmake -G "Unix Makefiles"
make
sudo make install

gpyfft is just a wrapper around the clFFT library and relies that it is properly installed. I do not have the resources to provide binaries for all the major platforms

Gregor

from gpyfft.

yves-surrel avatar yves-surrel commented on May 28, 2024

from gpyfft.

Related Issues (20)

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.