<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear Thomas, and Brian<br>
<br>
Thanks for the comments!<br>
<br>
On 01/26/2012 11:19 PM, Thomas Kluyver wrote:
<blockquote
cite="mid:CAOvn4qh==0fQBN8p3u9CfwY6zqXZJ4syjMRwujvcSQcdiY=kHw@mail.gmail.com"
type="cite">
<div class="gmail_quote">2012/1/26 Zoltán Vörös <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:zvoros@gmail.com">zvoros@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
My question is whether there is a way to make the notebook
aware of this export. I have tried !export, but to no avail.</blockquote>
</div>
<br>
Have you tried modifying it in os.environ?<br>
<br>
</blockquote>
After you pointed this out, I tried. But this doesn't help. I can
set the PATH variable with os.putenv, but in the notebook, there is
no LD_LIBRARY_PATH in the os.environ list. It is there in the
console version of ipython, so I am pretty sure that this issue is
not related to the core of ipython. <br>
<br>
Even if I explicitly issue <br>
<br>
os.system('export
LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH')<br>
or<br>
os.putenv('LD_LIBRARY_PATH','/usr/local/cuda/lib64')<br>
<br>
in the notebook, that doesn't change the situation.<br>
<br>
Given this, should I just open an issue?<br>
Cheers,<br>
Zoltán<br>
</body>
</html>