<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello, I was able to get Jupyter to work generally following these instructions:<div><a href="https://github.com/ExaFEL/exafel_project/tree/master/jupyter">https://github.com/ExaFEL/exafel_project/tree/master/jupyter</a><br></div><div><br></div><div>I&#39;ve adapted those instructions to use a cctbx standalone binary build.  I did this on a linux centos 6 machine on which I had remote access and I also had conda installed.  Given an empty directory $cctbx and that the latest dev version is 1725:</div><div><ul><li>cd $cctbx</li><li>wget <a href="http://cci.lbl.gov/cctbx_build/dev-1725/cctbx-installer-dev-1725-intel-linux-2.6-x86_64-centos6.tar.gz">http://cci.lbl.gov/cctbx_build/dev-1725/cctbx-installer-dev-1725-intel-linux-2.6-x86_64-centos6.tar.gz</a></li><li>tar -xvf cctbx-installer-dev-1725-intel-linux-2.6-x86_64-centos6.tar.gz<br></li><li>cd cctbx-installer-dev-1725-intel-linux-2.6-x86_64-centos6</li><li>./install --prefix=$cctbx</li><li>cd ../cctbx-dev-1725/</li><li>conda activate `pwd`/conda_base<br></li><li>conda install jupyter<br></li><li>source cctbx_env.sh</li><li>libtbx.ipython notebook --no-browser --port=8889<br></li><li>Note the token produced.</li></ul><div>Then on my local machine:</div></div><div><ul><li>ssh -N -f -L localhost:8888:localhost:8889 &lt;remote_username&gt;@&lt;remote_server&gt;<br></li><li>Open localhost:8888 in my browser and enter the token.</li><li>Create a new notebook and test with the line import cctbx</li></ul><div>Let me know if it doesn&#39;t work :)</div></div><div>-Aaron</div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 30, 2019 at 6:27 AM wtempel &lt;<a href="mailto:wtempel@gmail.com">wtempel@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Hi all,</div><div dir="ltr">how does one configure, and run inside a jupyter notebook, a cctbx-enabled kernel, beginning with a downloaded [cctbx build](<a href="http://cci.lbl.gov/cctbx_build/" target="_blank">http://cci.lbl.gov/cctbx_build/</a>)? [This page](<a href="https://medium.com/@sljack1992/making-a-custom-ipython-notebook-kernel-c59e493de0b6" target="_blank">https://medium.com/@sljack1992/making-a-custom-ipython-notebook-kernel-c59e493de0b6</a>) seems to describe the first part, but may no longer apply to more recent cctbx builds.</div><div>Thanks.</div><div>Wolfram Tempel</div></div></div>
_______________________________________________<br>
cctbxbb mailing list<br>
<a href="mailto:cctbxbb@phenix-online.org" target="_blank">cctbxbb@phenix-online.org</a><br>
<a href="http://phenix-online.org/mailman/listinfo/cctbxbb" rel="noreferrer" target="_blank">http://phenix-online.org/mailman/listinfo/cctbxbb</a><br>
</blockquote></div>