Wiki source code of How to start the RecoGUI

Version 3.1 by flenners on 2021-04-27 14:29

Show last authors
1 = {{id name="00-HowtologintoMaxwell-ShortVersion:"/}}**Short Version: ** =
2
3 Terminal:
4
5 (% class="code" %)
6 (((
7 salloc ~-~-partition=all ~-~-nodes=1 –time=06:00:00
8 \\ssh max-bla123
9 \\module load anaconda
10 \\source activate ~~/envs/tomopy
11 \\spyder&
12 )))
13
14 \\
15
16 Spyder:
17
18 Open RecoGUI,
19
20 (Right click on tab: "Set console working directory") (to be removed)
21
22 Green Arrow to start program
23
24 \\
25
26 = {{id name="00-HowtologintoMaxwell-LongVersion:"/}}**Long Version: ** =
27
28 \\
29
30 **Login to max-nova**: E.g. from browser [[https:~~/~~/max-nova.desy.de:3443/>>url:https://max-nova.desy.de:3443/auth/ssh||shape="rect"]]
31
32 \\
33
34 Click on "**Launch Session**" and "**XFCE**" Icon
35
36 [[image:attach:image2021-4-27_13-55-52.png||height="250"]]
37
38 \\
39
40 **Open a Terminal**, e.g. from the icon at the bottom of your desktop. You can also open it via right click → "Open Terminal here" directly on your desktop or from any folder.
41
42 [[image:attach:image2021-4-27_13-58-35.png||height="250"]]
43
44 \\
45
46 Now you can **allocate a node** for yourself, so you will have enough memory and power for your reconstruction.
47
48 (% class="code" %)
49 (((
50 salloc ~-~-partition=all ~-~-nodes=1 ~-~-time=06:00:00
51 )))
52
53 \\
54
55 You will get a node for 6 hours, you can also choose longer or shorter times.
56
57 It can take some time before you get a node, then it will tell you which node is reserved for you. (Example: max-exfl069)
58
59 \\
60
61 Now you can  **login via ssh** on this node:
62
63 (% class="code" %)
64 (((
65 ssh max-exfl069
66 )))
67
68 Enter your password.
69
70 \\
71
72 EXAMPLE:
73
74 [[image:attach:image2021-4-27_13-52-11.png||height="125"]]
75
76 \\
77
78 \\
79
80 Now you are on a different node [[image:http://confluence.desy.de/s/de_DE/7901/4635873c8e185dc5df37b4e2487dfbef570b5e2c/_/images/icons/emoticons/smile.svg||title="(Lächeln)" border="0" class="emoticon emoticon-smile"]].
81
82 \\
83
84 You first have to **load the anaconda module:**
85
86 (% class="code" %)
87 (((
88 module load anaconda/3
89 \\
90 )))
91
92 and **activate your virtual environment**, depending on where you installed it:
93
94 (% class="code" %)
95 (((
96 source activate ~~/envs/tomopy
97 )))
98
99 \\
100
101 ~~/ takes you back to your home directory. In this case, the environment "tomopy" was installed in the home directory in the folder "envs". 
102
103 \\
104
105 now you can **start spyder**:
106
107 (% class="code" %)
108 (((
109 spyder&
110 )))
111
112 \\
113
114 EXAMPLE: (virtual environment in "envs/p36"
115
116 [[image:attach:image2021-4-27_13-53-35.png||height="71"]]
117
118 \\
119
120 You can also start another terminal e.g. if you want to look at your data / reconstructions in fiji.
121
122 \\
123
124 \\
125
126 \\
127
128 \\