Last modified by flenners on 2025-06-24 16:56

From version 16.1
edited by flenners
on 2022-03-30 17:46
Change comment: There is no comment for this version
To version 12.1
edited by riedelmi
on 2021-11-27 15:12
Change comment: Extended the maxwell description

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -00 - How to login to Maxwell
1 +02 - How to login to Maxwell and start RecoGUI
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.flenners
1 +XWiki.riedelmi
Content
... ... @@ -73,6 +73,12 @@
73 73  
74 74  For Jupyter Hub
75 75  
76 +See also the section on python.
77 +
78 +=== {{id name="00-HowtologintoMaxwell-HzgPartition"/}}Hzg Partition ===
79 +
80 +Ask someone from hereon how to use them (e.g. [[Riedel, Mirko>>url:https://wiki.tum.de/display/~~ga78nig||shape="rect"]] )
81 +
76 76  \\
77 77  
78 78  == {{id name="00-HowtologintoMaxwell-ConnectingtotheCluster"/}}Connecting to the Cluster ==
... ... @@ -205,8 +205,96 @@
205 205  
206 206  If you have to add other users to a past beamtime, this can be done via the gamma-portal. After adding the accounts, these people have to make sure to log off from **all **FastX sessions, etc. to update the permissions.
207 207  
214 += {{id name="00-HowtologintoMaxwell-StartingarecoGUI"/}}Starting a reco GUI =
215 +
216 +== {{id name="00-HowtologintoMaxwell-ShortVersion:"/}}Short Version: ==
217 +
218 +Terminal:
219 +
220 +(% class="code" %)
221 +(((
222 +salloc ~-~-partition=psx ~-~-nodes=1 –-time=06:00:00
223 +\\(if you need gpu: (% class="bash plain" %){{code language="none"}}--constraint=P100{{/code}}(%%) )
224 +\\ssh max-bla123
225 +\\module load anaconda
226 +\\source activate ~~/envs/tomopy
227 +\\spyder&
228 +)))
229 +
208 208  \\
209 209  
210 210  \\
211 211  
234 +{{code linenumbers="true" collapse="true"}}
235 +salloc --partition=psx --nodes=1 –-time=06:00:00
236 +
237 +ssh max-bla123
238 +
239 +module load anaconda
240 +
241 +source activate ~/envs/tomopy
242 +
243 +spyder&
244 +{{/code}}
245 +
212 212  \\
247 +
248 +Spyder:
249 +
250 +Open RecoGUI,
251 +
252 +(Right click on tab: "Set console working directory") (to be removed)
253 +
254 +Green Arrow to start program
255 +
256 +\\
257 +
258 +== {{id name="00-HowtologintoMaxwell-LongerVersion"/}}Longer Version ==
259 +
260 +\\
261 +
262 +Login to maxwell and allocate a node from the psx partition.
263 +
264 +\\
265 +
266 +You first have to **load the anaconda module:**
267 +
268 +(% class="code" %)
269 +(((
270 +module load anaconda/3
271 +\\
272 +)))
273 +
274 +and **activate your virtual environment**, depending on where you installed it:
275 +
276 +(% class="code" %)
277 +(((
278 +source activate ~~/envs/tomopy
279 +)))
280 +
281 +\\
282 +
283 +~~/ takes you back to your home directory. In this case, the environment "tomopy" was installed in the home directory in the folder "envs". 
284 +
285 +\\
286 +
287 +now you can **start spyder**:
288 +
289 +(% class="code" %)
290 +(((
291 +spyder&
292 +)))
293 +
294 +\\
295 +
296 +EXAMPLE: (virtual environment in "envs/p36"
297 +
298 +[[image:attach:image2021-4-27_13-53-35.png||height="71"]]
299 +
300 +\\
301 +
302 +You can also start another terminal e.g. if you want to look at your data / reconstructions in fiji.
303 +
304 +\\
305 +
306 +\\
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -256492698
1 +235027534
Title
... ... @@ -1,1 +1,1 @@
1 -00 - How to login to Maxwell
1 +02 - How to login to Maxwell and start RecoGUI
URL
... ... @@ -1,1 +1,1 @@
1 -https://confluence.desy.de/spaces/P5I/pages/256492698/00 - How to login to Maxwell
1 +https://confluence.desy.de/spaces/P5I/pages/235027534/02 - How to login to Maxwell and start RecoGUI