libgpuarray installation issues

Here are some issues I faced installing Theano and libgpuarray and the solutions for those:

  1. Installation failed because of not finding gpuarray
    1. use: python build_ext -L /usr/local/lib -I /usr/local/include and then python install
  2. error importing pygpu
    1. If CUDA is installed on the system you need to add the path for CUDA in LD_LIBRARY_PATH, like: export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
  3. example does not run on CUDA
    1. Try running the job as root
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s