jupyterhub and theano -- problems setting LD_LIBRARY_PATH
1,694 views
Skip to first unread message
Ben Willmore
unread,
May 27, 2016, 11:42:40 AM5/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Project Jupyter
I tried to use theano with jupyterhub, but had no luck. To use the GPU, theano needs to have environment variables set (e.g. PATH=/usr/local/cuda/bin and LD_LIBRARY_PATH=/usr/local/cuda/lib). I tried to set these with EXPORT before running jupyterhub. This works for $PATH, but for some reason, $LD_LIBRARY_PATH does not get passed through to the jupyter notebook.
Any suggestions? Thanks!
Ben
Carol Willing
unread,
May 27, 2016, 12:02:40 PM5/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Carol Willing
Research Software Engineer, Project Jupyter @ Cal Poly
Director, Python Software Foundation
Matthias Bussonnier
unread,
May 27, 2016, 12:14:18 PM5/27/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jup...@googlegroups.com
You might also want to have a specific Theano kernelspec that set the
environment, that is to say you need to set the env variable for the
**kernel** that run the code, not the hub.
See for example https://github.com/minrk/a2km that is a util that
helps to manage kernels.
The example show how to set an ENV variable for spark.
>>>> To view this discussion on the web visit
>>>>
>> https://groups.google.com/d/msgid/jupyter/69f465ea-bfe3-4e1c-a2be-35f1f9b02861%40googlegroups.com.
>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> Carol Willing
>>> Research Software Engineer, Project Jupyter @ Cal Poly
>>> Director, Python Software Foundation
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>> Groups
>>> "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it,
>>> send
>> an
> --
> You received this message because you are subscribed to the Google
> Groups "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jupyter+u...@googlegroups.com.
> To post to this group, send email to jup...@googlegroups.com.
> To view this discussion on the web visit
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
bgra...@calpoly.edu and elli...@gmail.com
Carol Willing
unread,
May 28, 2016, 7:51:06 PM5/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message