Wiki source code of JupyterHub on Maxwell

Version 7.1 by cpassow on 2020/11/18 16:56

Show last authors
1 == Access ==
2
3 DESY's [[Maxwell Cluster>>url:https://confluence.desy.de/display/IS/Maxwell+for+Photon+Science||shape="rect"]] runs a [[!JupyterHub>>url:https://confluence.desy.de/display/IS/JupyterHub+on+Maxwell||shape="rect"]] instance. You can access the [[instance>>url:https://max-jhub.desy.de||shape="rect"]] using your DESY credentials. Go to [[https:~~/~~/max-jhub.desy.de/hub/login>>url:https://max-jhub.desy.de/hub/login||shape="rect"]]
4
5 \\
6
7 == Anaconda Virtual Envionments ==
8
9 Anaconda virtual environments you create on Maxwell are also selectable on the central [[JupyterHub>>url:https://max-jhub.desy.de||shape="rect"]], provided the environment has the package {{code language="none"}}ipykernel{{/code}} installed. This Wiki has a brief introduction how to set-up and use [[Anaconda virtual environments>>doc:FLASHUSER.Data Acquisition and controls.Data Access at FLASH (DAQ, gpfs,\.\.\.).Online data analysis.Anaconda Python at FLASH.WebHome]] on computers at DESY.
10
11 {{expand title="JupyterLab on DESY's JupyterHub do not find local conda enviroments: Solution is to register Envs manually"}}
12 source activate myenv
13
14 python -m ipykernel install ~-~-user ~-~-name myenv ~-~-display-name "Python (myenv)"
15 {{/expand}}
16
17 == Anaconda Packages of FLASH Software ==
18
19 We provide [[Anaconda Python packages>>doc:FLASHUSER.Data Acquisition and controls.Data Access at FLASH (DAQ, gpfs,\.\.\.).Online data analysis.Anaconda Python at FLASH.WebHome]] for
20
21 * [[Pydoocs>>doc:FLASHUSER.Data Acquisition and controls.Data Access at FLASH (DAQ, gpfs,\.\.\.).Online data analysis.PythonDOOCS.WebHome]]
22 * [[BeamtimeDaqAccess>>doc:FLASHUSER.Near-Online data analysis]].
23
24 The corresponding Anaconda channels:
25
26 (% class="wrapped" %)
27 |=(((
28 Package
29 )))|=(((
30 Channel
31 )))|=(((
32 Access
33 )))
34 |(((
35 {{code language="none"}}
36 pydoocs
37 {{/code}}
38 )))|(((
39 [[http:~~/~~/doocspkgs.desy.de/pub/doocsconda>>url:http://doocspkgs.desy.de/pub/doocsconda||shape="rect"]]
40
41 {{code language="none"}}{{/code}}
42 )))|(((
43 DESY network
44 )))
45 |(((
46 {{code language="none"}}
47 beamtimedaqaccess
48 {{/code}}
49 )))|(((
50 [[http:~~/~~/doocspkgs.desy.de/pub/flashconda>>url:http://doocspkgs.desy.de/pub/flashconda||shape="rect"]]
51
52 {{code language="none"}}{{/code}}
53 )))|(((
54 DESY network
55 )))
56
57 \\
58
59 == References ==
60
61 A short introduction is available from a seminar by Frank Schluenzen:[[attach:Jhub-intro.pdf]]
62
63 Also note the [[Python Guide>>url:https://confluence.desy.de/display/IS/Python||shape="rect"]] explaining how to use Python on Maxwell.
64
65 \\
66
67 * [[attach:conda_on_jupyterhub.pdf]]: How to use conda environments with