Project

General

Profile

Start Leginon at your main working station remotely » History » Version 33

Anchi Cheng, 09/08/2015 09:14 PM

1 1 Amber Herold
h1. Start Leginon at your main working station remotely
2
3 31 Anchi Cheng
h3. [[Set up for a new regular user|Set yourself up as a Leginon/Appion user if you have not done so]]
4
5
h2. Start the remote Leginon Client on the microscope
6 1 Amber Herold
 
7
[[Run Leginon Client on the Microscope Computer|Start the remote Leginon Client on the microscope]] as described in the previous section if you have not done so. For Tietz camera, this will need to be restarted every time you establish and then remove the connection to it.
8 31 Anchi Cheng
9
h2. Start the main Leginon processing program
10
11
*  start-leginon.py (From any directory for Linux)
12 1 Amber Herold
  
13 31 Anchi Cheng
* Note: This works because start-leginon.py is installed in the default bin path and the rest of the python files in python's default site-package directory.  If you have other path ahead of the default in the python path, there is a possibility that a wrong module is loaded as found in http://emg.nysbc.org/boards/6/topics/788.  Reset the python path before starting will solve the problem.
14
15
h2. Select a session
16
17
You can either create a new one, or, for later start-up, select a previous session
18
19
h3. Create New Session
20
21
* Leginon Setup Wizard> select "Create session" in session type if a new session is needed.
22 33 Anchi Cheng
!create_session.png!
23
*# Default session name will autoincrement next time you or other creates one.  You can pick your ownname but do not use anything non alpha-numerical.
24
*# Custom holder name can be entered in the combobox.  It will be saved in the database and allow you to select it.
25
*# A short description of the session can include specific sample preparation.  There is no need to include information already identifiable by the project.
26
27
**  Session name and Description will appear in Viewers for session selection.  Therefore, it is recommend not to make latter too long.
28 31 Anchi Cheng
29
* Leginon Setup Wizard> Select the project that this new session is associated with 
30
31
* Image path is automatically selected  based on your [[Configure leginon.cfg|leginon.cfg]] file. This is the path under which a subdirectory will be created in the name of your session.  If necessary, you can modify this base path.
32
33 15 Amber Herold
OR
34 1 Amber Herold
35 31 Anchi Cheng
h3.  Leginon Setup Wizard> Select a previous session you have created using the same instrument.
36 12 Amber Herold
37 14 Amber Herold
38 31 Anchi Cheng
h2.  Create new client host or select existing client host names to add to the remote client list
39 21 Anchi Cheng
40 31 Anchi Cheng
h3. Create new client host
41
42
# Leginon Setup Wizard> on the clieck "Edit" next to "Connect to Client" to start "Edit Client" dialog
43 28 Anchi Cheng
!edit_client.png!
44 32 Anchi Cheng
# Edit Client Dialog> To create a new client host, type the name in the empty text box and then click on "+" *NOTE: when you edit the client the first time, "+" is not activated until you type a name in the entry box to the left of it*.
45 31 Anchi Cheng
# Edit Client Dialog> Click "OK" to apply the client editing.
46
47
* *Make sure that you click on "+" to add the client to the list when creating or selecting. Just have the name show up in the selection window is not enough!*
48
* The name of the client host should correspond to what you found in the network testing "test1.py" and likely all in lower case according to message#1821
49
* The host on which you are running the main Leginon process does not need to be included in this list.
50
51
h2.  Check your parameters:
52
53
* "Connect to clients" should list the client host(s) you have just edited. If it says "(no clients selected)", you need to go back to the last step and make sure you click on "+" after you make each host you want appear in the selection window.
54
55 13 Amber Herold
# Make sure that the Leginon Client has been started on each of the host in your list before finishing the wizard.  See [[Using_Leginon_on_a_system_where_the_microscope_and_camera_are_controlled_by_different_computers]].
56 31 Anchi Cheng
57 13 Amber Herold
** The host on which you are running the main Leginon process does not need to have a Leginon Client started.
58 31 Anchi Cheng
59 2 Amber Herold
#  Choose "Finish" in the set up wizard to start the session.
60
61
62 1 Amber Herold
______
63 30 Anchi Cheng
64 1 Amber Herold
[[Run Leginon Client on the Instrument Computers|< Run Leginon Client on the Microscope Computer]] | [[start leginon what is next | What is next .]]
65
66
______