Version 10.1 by flenners on 2021-07-16 16:15

Show last authors
1 = {{id name="00-HowtologintoMaxwell-ShortVersion:"/}}**Short Version: ** =
2
3 Terminal:
4
5 (% class="code" %)
6 (((
7 salloc ~-~-partition=psx ~-~-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 \\
17
18 {{code linenumbers="true" collapse="true"}}
19 salloc --partition=psx --nodes=1 –-time=06:00:00
20
21 ssh max-bla123
22
23 module load anaconda
24
25 source activate ~/envs/tomopy
26
27 spyder&
28 {{/code}}
29
30 \\
31
32 Spyder:
33
34 Open RecoGUI,
35
36 (Right click on tab: "Set console working directory") (to be removed)
37
38 Green Arrow to start program
39
40 \\
41
42 = {{id name="00-HowtologintoMaxwell-LongVersion:"/}}**Long Version: ** =
43
44 \\
45
46 **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"]]
47
48 \\
49
50 Click on "**Launch Session**" and "**XFCE**" Icon
51
52 [[image:attach:image2021-4-27_13-55-52.png||height="250"]]
53
54 \\
55
56 **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.
57
58 [[image:attach:image2021-4-27_13-58-35.png||height="250"]]
59
60 \\
61
62 Now you can **allocate a node** for yourself, so you will have enough memory and power for your reconstruction.
63
64 (% class="code" %)
65 (((
66 salloc ~-~-partition=psx ~-~-nodes=1 ~-~-time=06:00:00
67 )))
68
69 \\
70
71 You will get a node for 6 hours, you can also choose longer or shorter times.
72
73 It can take some time before you get a node, then it will tell you which node is reserved for you. (Example: max-exfl069)
74
75 \\
76
77 Now you can  **login via ssh** on this node:
78
79 (% class="code" %)
80 (((
81 ssh max-exfl069
82 )))
83
84 Enter your password.
85
86 \\
87
88 EXAMPLE:
89
90 [[image:attach:image2021-4-27_13-52-11.png||height="125"]]
91
92 Hint: Please use partition=psx, if you use =all, the connection might close while you are working if someone with higher priority needs the node you are working on.
93
94 \\
95
96 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"]].
97
98 \\
99
100 You first have to **load the anaconda module:**
101
102 (% class="code" %)
103 (((
104 module load anaconda/3
105 \\
106 )))
107
108 and **activate your virtual environment**, depending on where you installed it:
109
110 (% class="code" %)
111 (((
112 source activate ~~/envs/tomopy
113 )))
114
115 \\
116
117 ~~/ takes you back to your home directory. In this case, the environment "tomopy" was installed in the home directory in the folder "envs". 
118
119 \\
120
121 now you can **start spyder**:
122
123 (% class="code" %)
124 (((
125 spyder&
126 )))
127
128 \\
129
130 EXAMPLE: (virtual environment in "envs/p36"
131
132 [[image:attach:image2021-4-27_13-53-35.png||height="71"]]
133
134 \\
135
136 You can also start another terminal e.g. if you want to look at your data / reconstructions in fiji.
137
138 \\
139
140 Hint: You can check your partition via
141
142 (% class="code" %)
143 (((
144 my-partitions
145 )))
146
147 You should have access to psx.
148
149 [[image:attach:image2021-5-4_10-28-14.png]]
150
151 \\
152
153 For further information also check:
154
155 [[doc:IS.Maxwell.WebHome]]
156
157 \\
158
159 \\