Minimum Requirements and current NRAMM setup » History » Version 62
Anchi Cheng, 09/14/2017 06:49 PM
1 | 61 | Anchi Cheng | h1. Minimum Requirements |
---|---|---|---|
2 | 1 | Amber Herold | |
3 | 62 | Anchi Cheng | [[Minimum Requirements for frame-saving direct detectors]] |
4 | [[Minimum Requirements for non-frame-saving camera]] |
||
5 | |||
6 | 38 | Anchi Cheng | h1. Hardware |
7 | |||
8 | 36 | Anchi Cheng | h2. Electron Microscope/Camera with their Controling Computers (Windows) |
9 | 6 | Anchi Cheng | |
10 | 16 | Anchi Cheng | Microscope need to have the capacity for external control and network connected (See [[Network Configuration]] section for details on that. Here are known examples of Leginon implementation: |
11 | |||
12 | 37 | Anchi Cheng | * FEI: [[FEI TecnaiTitan installation specifics|Tecnai, Polara, Titan Krios]] (Film recording available with [[Windows_Camera_Package_Requirement#Film_(Only_for_FEI_Tecnai/Titan)|adaexp.exe]] |
13 | * JEOL: [[JEOL installation specifics|1230, 1400, JEM3100FSC, 3200]] |
||
14 | 1 | Amber Herold | |
15 | 19 | Anchi Cheng | h2. Digital Camera |
16 | 1 | Amber Herold | |
17 | 47 | Anchi Cheng | Gatan ([[Gatan_on_Windows-32|CCD]] and [[Gatan_K2_installation_and_setup|K2 Summit]]), [[Tietz_camera_installation_and_setup|Tietz]], FEI ([[Eagle_camera_installation_and_setup|Eagle]], [[Ceta camera support|Ceta]] and [[Falcon camera support|Falcon]]), Direct Electron [[Adding_DE-12_to_Leginon|DE-12, DE-20]] |
18 | 20 | Anchi Cheng | |
19 | 36 | Anchi Cheng | *Note: Falcon integration does not include frame processing pipeline* |
20 | 23 | Anchi Cheng | |
21 | 7 | Anchi Cheng | h2. A Second Computer Running Linux (CentOS at NRAMM) |
22 | 1 | Amber Herold | |
23 | 8 | Anchi Cheng | At NRAMM, we separate the three activities into different computers that serve about 15 people with three microscopes that could be running at the same time. All scopes share the same database, web server, and file server. Each microscope has its own processing computer. |
24 | 5 | Anchi Cheng | |
25 | 31 | Anchi Cheng | *We don't recommend using a computer with Windows PC as the second computer as an option*. |
26 | 36 | Anchi Cheng | One group is able to use an unusually powerful WIndows PC (The one come with Gatan K2 Summit) as the processing server. However, it is suspected as the reason for the acquisition of frame saving super-resolution mode to fail. |
27 | 8 | Anchi Cheng | |
28 | 34 | Anchi Cheng | h3. CPU |
29 | 1 | Amber Herold | |
30 | 59 | Anchi Cheng | Minimal 4 GHz; |
31 | 1 | Amber Herold | * Python instance of Leginon runs only on one core on the processing server. If you have multiple core, the rest will only be useful if you want to do other things on it such as using it as the database server, webserver, and basic Appion processing. |
32 | |||
33 | h3. RAM |
||
34 | |||
35 | 44 | Anchi Cheng | The whole system with its image processing, database query and web serving, needs significant memory. Realistically, you will need minimal of 4GB memory for all processing+database+web server activities for one microscope operation with 4k camera that serves two persons (one operates the scope, one just look at the images from the web viewers) at the same time. We know of at least one successful daily usage at this configuration. For 2k camera, an all-in-one computer with 3GB memory has also been used successfully. If you are buying a new computer, get at least 6GB memory would be a good idea. |
36 | |||
37 | h3. Display |
||
38 | 36 | Anchi Cheng | |
39 | Pretty much everything today would work for data acquisition. GPU server for frame alignment of DD camera is separated. See below. |
||
40 | 1 | Amber Herold | |
41 | 32 | Anchi Cheng | h3. File server |
42 | 1 | Amber Herold | |
43 | 62 | Anchi Cheng | 10 GB for the softwares and maybe a few hours worth of data collection. Much largerfor routine use. |
44 | 1 | Amber Herold | |
45 | h3. Network connection speed |
||
46 | 5 | Anchi Cheng | |
47 | 62 | Anchi Cheng | 100 Mbps might be possible. |
48 | 7 | Anchi Cheng | |
49 | 32 | Anchi Cheng | h2. Additional need for frame-saving direct detection camera |
50 | 1 | Amber Herold | |
51 | 32 | Anchi Cheng | h3. File server |
52 | 29 | Anchi Cheng | |
53 | 32 | Anchi Cheng | Frame-saving camera such as DE-12 and K2 Summit are capable of saving movies of an exposure in addition to returning an integrated image back to Leginon. As a result, if the function is used, the disk space required is multiple of that of the image. Leginon saves the frames as non-gain corrected 16-bit integer, rather than dark/gain-corrected 32-float mrc. Therefore, the additional storage requirement is approximately *number_of_frames/2* times larger. Typical number_of_frames used in DE is 10-50 frames and in K2 Summit 20-30 frames. These frames should be off-loaded from the camera computer or saved to network drive as soon as possible so not to over-load the camera computer. |
54 | |||
55 | 1 | Amber Herold | In addition, to use the information in the frame movies, these raw frames must be [[appion:GainDark_correction_of_the_raw_frame_with_or_without_drift_correction|gain/dark corrected]] and saved as 32-bit float mrc stack. For K2 Summit Counted/Super-resolution mode, the alignment of the frame is also esssential. This means that at some point, the data related to one image will be |
56 | <pre> |
||
57 | number_of_frames * (0.5 + 1 + 1) |
||
58 | </pre> |
||
59 | times more than non-frame saving ones. Factoring in that hundreds of such image may be acquired within a 24 hr session, it is therefore important to take this into account in allocating the data storage system for long term. |
||
60 | |||
61 | 54 | Anchi Cheng | h4. NRAMM's current setup and policy for file storage: |
62 | 43 | Anchi Cheng | |
63 | # 10 Gbs network between frame saving camera and the file server. |
||
64 | 1 | Amber Herold | # Raw frames are transferred off camera with rsync using [[DDD raw frame file transfer|rawtransfer.py]] which also removed the finished frame stack on the camera to make room for more to come. |
65 | 42 | Anchi Cheng | # These raw frames are needed if default frame processing does not give optimal results. We keep these on network drive for 30 days and make it user's responsibility to archive this on external drives. bzip or bzip2 are commonly used by the users to compress the files. Since the raw frames are integers, it can be easily compressed to 4-10 times smaller. |
66 | |||
67 | 54 | Anchi Cheng | # In the [[appion:GainDark_correction_of_the_raw_frame_with_or_without_drift_correction|frame processing]] Appion script, if frame alignment is performed (usually finished within a day or two after data acquisition), the aligned frame stack is removed right away after integrating into single sum image to save space. |
68 | # User will use the summed aligned-movie saved in the Leginon database as "-a" images. 95% of the users do not require frame-aligned stack after this point. |
||
69 | 1 | Amber Herold | |
70 | h3. DD Frame-alignment server |
||
71 | 32 | Anchi Cheng | |
72 | 48 | Anchi Cheng | A good gpu is needed for frame alignment using the program described in Li et. al. (2013) Nat. Method vol. 10 pp584-590 and variants of it. |
73 | 40 | Anchi Cheng | If real-time speed is desired, parallel processing on multiple hosts may be needed. |
74 | 1 | Amber Herold | |
75 | 55 | Anchi Cheng | *For MotionCor2* |
76 | 1 | Amber Herold | |
77 | 53 | Anchi Cheng | h4. minimum: |
78 | 1 | Amber Herold | |
79 | A CUDA 8.0 capable standard linux computer that you don't need to access its monitor (and hence using gpu for display) during the alignment computation. |
||
80 | 55 | Anchi Cheng | |
81 | h4. Recommended for direct file server connection: |
||
82 | |||
83 | 57 | Anchi Cheng | Have one primary frame processing computer per direct detector to be used by the person currently using the scope. And an over-flow frame processing computer to share among scopes and users not able to finish during their session. Our experience is that primary frame processing computer can not keep up with super-resolution data collection if binning is not applied ahead of the time. The shared gpu can also be used for gCTF, gAutomatch and other light-weight gpu programs. Counted mode movies can be processed fast enough with just primary frame processing computer. |
84 | 55 | Anchi Cheng | |
85 | 57 | Anchi Cheng | Strong GPU computer with 2 GPU cards, NVIDIA PNY GeForce GTX 1070 or better, connected to the file server in the fastest network you can. There will be a lot of traffic. Unless network is optimized, adding more GPUs on the same computer does not speed up proportionally. |
86 | 55 | Anchi Cheng | |
87 | 53 | Anchi Cheng | h4. NRAMM's current setup: |
88 | |||
89 | Dedicated Buffer Server, one per microscope with DD camera supplimented with shared gpu resource |
||
90 | |||
91 | The buffere server is reserved for the user currently collecting data on the scope |
||
92 | |||
93 | 49 | Sargis Dallakyan | Our current buffer server specs: 2U Dual 2.1GHz Intel E5-2620 v4 with: 128GB memory (8x 16GB), 9x 8TB 7.2K SATA drives, 1x 120GB SSD drive, 2x NVIDIA PNY GeForce GTX 1080, 1x Dual 10GE SFP+ cards (2 ports). Our buffer server is connected to Camera computer with a direct fiber link and we have SFP+ optical module for 10GBASE-LR installed on buffer server. We also have the following card installed on buffer server to connect it to DDN/GPFS file system using Infiniband switches: ConnectX-3 VPI adapter card, dual-port QSFP, FDR IB (56Gb/s) / 40GigE, PCIe 3.0 x8 8GT/s. |
94 | 1 | Amber Herold | |
95 | h5. Shared gpu resource: |
||
96 | |||
97 | Connected to DDN/GPFS file system and with 1 or more NVIDIA PNY GeForce GTX 1070 or better GPU card. If made to be stronger, it can also be used for gpu version of Relion and/or CryoSparc. |
||
98 | 56 | Anchi Cheng | |
99 | *For CPU programs that do frame alignment* |
||
100 | |||
101 | NRAMM: a 12 core-computer with Torque scheduler is used specifically for DE-20 frame alignment. |
||
102 | 49 | Sargis Dallakyan | |
103 | 58 | Anchi Cheng | h2. An example of Configure A that includes gpu frame alignment capacity. |
104 | |||
105 | We don't do this at NRAMM as our scale needs a distributed system, but it is doable, at least for a while. We design this as our backup data collection system so that it support several days of data collection in case the network and rack mounted resources go offline. This is basically the frame alignment gpu server. |
||
106 | |||
107 | - Advanced HPC Mercury GPU408 4U rack mountable workstation |
||
108 | - Dual 2.1GHz 8-core CPUs (16 cores total can run database, webserver, leginon, and very minimal appion processing) |
||
109 | - 128 Gb RAM |
||
110 | - 1 Tb SSD scratch space |
||
111 | - GTX 1050 GPU for graphical display. |
||
112 | - Two GTX 1070 GPU cards (will support real-time frame alignment in counted mode) |
||
113 | - 12 Tb of storage in RAID configuration (will support 3-4 days of data collection) |
||
114 | - 10GB network card to support direct transfer from K2 camera and connection to the scope. |
||
115 | |||
116 | 38 | Anchi Cheng | h1. Software |
117 | 29 | Anchi Cheng | |
118 | 1 | Amber Herold | h2. Leginon system components developed at Leginon home |
119 | 4 | Amber Herold | |
120 | 1 | Amber Herold | Leginon Home: "http://www.leginon.org/":http://www.leginon.org/ |
121 | |||
122 | h2. Supporting packages and programs available through internet or your Linux distribution |
||
123 | |||
124 | There are minimum of ten packages or single programs, some of them are included in your |
||
125 | Linux distribution. |
||
126 | |||
127 | |||
128 | |||
129 | |||
130 | |||
131 | |||
132 | |||
133 | h2. Leginon supporting programs available upon request |
||
134 | |||
135 | |||
136 | |||
137 | 18 | Anchi Cheng | *adaexp.exe* that is required if film exposure is to be made through Leginon on FEI Tecnai |
138 | 13 | Amber Herold | machines is available by request. Please contact Max Otten: (mto at nl.feico.com) |
139 | 2 | Amber Herold | and let him know what version of the Tecnai user interface you are using. |
140 | |||
141 | |||
142 | |||
143 | |||
144 | ______ |
||
145 | |||
146 | [[Graphical User Interface|< Graphical User Interface]] | [[Getting Started|Getting Started >]] |
||
147 | |||
148 | 1 | Amber Herold | ______ |