Wiki source code of JupyterHub on Maxwell
Last modified by erlandm on 2025/02/05 11:23
Show last authors
author | version | line-number | content |
---|---|---|---|
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 | |||
23 | The corresponding Anaconda channels: | ||
24 | |||
25 | (% class="wrapped" %) | ||
26 | |=((( | ||
27 | Package | ||
28 | )))|=((( | ||
29 | Channel | ||
30 | )))|=((( | ||
31 | Access | ||
32 | ))) | ||
33 | |((( | ||
34 | {{code language="none"}} | ||
35 | pydoocs | ||
36 | {{/code}} | ||
37 | )))|((( | ||
38 | [[http:~~/~~/doocspkgs.desy.de/pub/doocsconda>>url:http://doocspkgs.desy.de/pub/doocsconda||shape="rect"]] | ||
39 | |||
40 | {{code language="none"}}{{/code}} | ||
41 | )))|((( | ||
42 | DESY network | ||
43 | ))) | ||
44 | |||
45 | \\ | ||
46 | |||
47 | == References == | ||
48 | |||
49 | A short introduction is available from a seminar by Frank Schluenzen:[[attach:Jhub-intro.pdf]] | ||
50 | |||
51 | Also note the [[Python Guide>>url:https://confluence.desy.de/display/IS/Python||shape="rect"]] explaining how to use Python on Maxwell. | ||
52 | |||
53 | \\ | ||
54 | |||
55 | * [[attach:conda_on_jupyterhub.pdf]]: How to use conda environments with |