andersbll / cudarray

CUDA-based NumPy
MIT License
233 stars 61 forks source link

mkdir error in building libcudarray #49

Closed nresnick closed 8 years ago

nresnick commented 8 years ago

I'm getting this error:

mkdir -p ./build make: mkdir: No such file or directory make: *** [build/libcudarray.so] Error 1

Any ideas? Thanks!

Update: I fixed this just by doing /bin/mkdir, but now it's saying:

ld: library not found for -lcudnn ?

andersbll commented 8 years ago

Hi, are you on Linux? Do you call make in the CUDArray root directory?

nresnick commented 8 years ago

Nope, Mac OS X, and yes I was doing that. I had to download the cuDDN libraries separately and add them to the cuda/lib/ directory. All set on that front, thank you!

New issue though: in python setup.py install I'm getting

ImportError: No module named Cython.Build

Yet when I run from Cython.Build import cythonize in the IPython console directly it works (doing this through anaconda). Any ideas?

andersbll commented 8 years ago

Haven't seen that before. What version of Cython do you have installed? It might be outdated.

nresnick commented 8 years ago

Yep, had to update Cython. Now having yet another issue that someone already asked you here. I responded to that thread so I will close this one. Thank you for the quick replies, I really appreciate it!