Giter VIP home page Giter VIP logo

Comments (1)

geggo avatar geggo commented on May 24, 2024

Am 31.01.2016 um 20:49 schrieb andyofmelbourne [email protected]:

I get the following error after installation then import of the gpyfft module:

ImportError: /home/amorgan/local/lib/python27/site-packages/gpyfft-022-py27-linux-x86_64egg/gpyfft/gpyfftlibso: undefined symbol: clfftSetPlanCallback

clfftSetPlanCallback has been recently added to clFFT, probably the prebuilt binaries you are using haven’t been updated. Building them yourself is not a big issue, then you will also profit from improved performance. Alternatively, checkout an older version of gpyfft.

Gregor

Details:

I am trying to get gpyfft fired up on a gpu cluster for work (running under linux sl6) To this end I am testing at home under Ubuntu with a Haswell HD GPU installing as a 'user' with no root privileges Anyway:
I downloaded the clFFT prebuilt binaries at /home/amorgan/Physics/2016/pyopencl/clFFT-Full-2100-Linux-x64/

$ git clone https://githubcom/geggo/gpyfftgit
$ cd gpyfft
$ export LDFLAGS="-L/home/amorgan/Physics/2016/pyopencl/clFFT-Full-2100-Linux-x64/lib64 "

Then I set:

CLFFT_DIR = r'/home/amorgan/Physics/2016/pyopencl/clFFT-Full-2100-Linux-x64'
CL_INCL_DIRS = ['/home/amorgan/Physics/2016/pyopencl/clFFT-Full-2100-Linux-x64/include']

in setuppy

$ python setuppy build

This works with a single warning:

/home/amorgan/Physics/2016/pyopencl/clFFT-Full-2100-Linux-x64/include/clFFTh:257:2: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
CLFFTAPI clfftStatus clfftTeardown( );

Instillation works with no warnings:

$ python setuppy install --user
$ cd ~
$ ipython

In [1]: import gpyfft

ImportError Traceback (most recent call last)
in ()
----> 1 import gpyfft

/home/amorgan/local/lib/python27/site-packages/gpyfft-022-py27-linux->x86_64egg/gpyfft/__init__py in ()
8 raise RuntimeError("Do NOT use gpyfft from its sources: build it and use the built version")
9
---> 10 from gpyfftlib import GpyFFT, GpyFFT_Error, Plan
11 from fft import *

ImportError: /home/amorgan/local/lib/python27/site-packages/gpyfft-022-py27-linux-x86_64egg/gpyfft/gpyfftlibso: undefined symbol: clfftSetPlanCallback


Reply to this email directly or view it on GitHub #18.

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.