Starting 4crystals.py Press Ctrl+X to terminate process OpenCL: bulding undulator.cl ... OpenCL: found 1 CPU OpenCL: found 1 GPU OpenCL: found none other accelerator OpenCL for undulator.cl: Autoselected device 0: Oland precisionOpenCL = float64 dx = 0.154958058842 mm dz = 0.0048579831206 mm dxprime = 7.74403092662e-06 rad dzprime = 2.05846742398e-06 rad K = 2.20614791123 E1 = 2839.99996556 E3 = 8519.99989668 B0 = 0.65640409622 G = [1, 17, 0.29687430406441995, 3.3104411382535558e+21, 0.0] G = [1, 25, 0.11925284798926261, 3.7586736791550789e+21, -4.4408920985006262e-16] G = [1, 38, 0.027776991957567776, 3.6570907001878647e+21, 0.0] G = [1, 57, 0.00058703845875250854, 3.6592388141015022e+21, 0.0] G = [1, 86, 8.9208876069259109e-07, 3.6592355497385955e+21, 2.2204460492503131e-16] Done with Gaussian optimization, 86 points will be used in 1 interval OpenCL: bulding None ... OpenCL: found 1 CPU OpenCL: found 1 GPU OpenCL: found none other accelerator OpenCL for None: Autoselected device 0: Oland precisionOpenCL = float64 OpenCL: bulding None ... OpenCL: found 1 CPU OpenCL: found 1 GPU OpenCL: found none other accelerator OpenCL for None: Autoselected device 0: Oland precisionOpenCL = float64 OpenCL: bulding None ... OpenCL: found 1 CPU OpenCL: found 1 GPU OpenCL: found none other accelerator OpenCL for None: Autoselected device 0: Oland precisionOpenCL = float64 OpenCL: bulding None ... OpenCL: found 1 CPU OpenCL: found 1 GPU OpenCL: found none other accelerator OpenCL for None: Autoselected device 0: Oland precisionOpenCL = float64 The last 10 runs D:/OneDrive/Codes/XRT/test/BandingMagnetTest.py:: start: Wed, 29 Nov 2017 11:24:07; stop: 11:24:17; duration: 9.7 s D:/OneDrive/Codes/XRT/test/BandingMagnetTest.py:: start: Wed, 29 Nov 2017 11:50:06; stop: 11:51:37; duration: 90.9 s C:/Program Files (green)/xrt-1.2.4/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:: start: Wed, 29 Nov 2017 14:27:25; stop: 14:27:31; duration: 6.6 s D:/OneDrive/Codes/XRT/test/1.py:: start: Wed, 29 Nov 2017 14:35:03; stop: 14:35:04; duration: 1.5 s D:/OneDrive/Codes/XRT/test/1.py:: start: Wed, 29 Nov 2017 14:36:13; stop: 14:36:15; duration: 1.8 s D:/OneDrive/Codes/XRT/test/1.py:: start: Wed, 29 Nov 2017 14:48:08; stop: 14:48:10; duration: 1.8 s C:/Program Files (green)/xrt-1.2.4/examples/withRaycing/01_SynchrotronSources/synchrotronSources.py:: start: Wed, 29 Nov 2017 14:50:46; stop: 14:50:53; duration: 6.6 s D:/OneDrive/Codes/XRT/test/BandingMagnetTest.py:: start: Wed, 29 Nov 2017 15:24:16; stop: 15:24:18; duration: 1.9 s D:/OneDrive/Codes/XRT/test/BandingMagnetTest/synchrotronSources.py:: start: Wed, 29 Nov 2017 15:29:48; stop: 15:29:55; duration: 6.5 s D:/OneDrive/Codes/XRT/test/BandingMagnetTest/BandingMagnetTest.py:: start: Wed, 29 Nov 2017 19:19:39; stop: 19:19:40; duration: 1.8 s Rays generation (3.69688995670891e+24, 66077, 2839.6761481027993, -1.3346381601094505e-07, 2.0889130977222608e-06) 9181 rays of 100000 (3.6971443933954242e+24, 95495, 2839.1415819106919, 1.9106726388857324e-07, -8.6141754709939523e-07) 18468 rays of 100000 27736 rays of 100000 36834 rays of 100000 46064 rays of 100000 55045 rays of 100000 (3.6972093373372286e+24, 82660, 2839.5241988034959, -1.1817631654533595e-07, 3.2070174652796277e-07) 64306 rays of 100000 73382 rays of 100000 82576 rays of 100000 91747 rays of 100000 101053 rays of 100000 Screen1.center requires auto-calculation Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 801, in __bootstrap_inner self.run() File "C:\Python27\lib\site-packages\xrt\multipro.py", line 275, in run raycing_output = raycing.run.run_process(self.card.beamLine) File "D:/OneDrive/Codes/XRT/test/4crystals/4crystals.py", line 140, in run_process beam=Undulator01beamGlobal01) File "C:\Python27\lib\site-packages\xrt\backends\raycing\screens.py", line 165, in expose self.bl.auto_align(self, beam) File "C:\Python27\lib\site-packages\xrt\backends\raycing\__init__.py", line 831, in auto_align inBeam = copy.deepcopy(beam) # Beam(nrays=2) File "C:\Python27\lib\copy.py", line 190, in deepcopy y = _reconstruct(x, rv, 1, memo) File "C:\Python27\lib\copy.py", line 334, in _reconstruct state = deepcopy(state, memo) File "C:\Python27\lib\copy.py", line 163, in deepcopy y = copier(x, memo) File "C:\Python27\lib\copy.py", line 257, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "C:\Python27\lib\copy.py", line 190, in deepcopy y = _reconstruct(x, rv, 1, memo) File "C:\Python27\lib\copy.py", line 334, in _reconstruct state = deepcopy(state, memo) File "C:\Python27\lib\copy.py", line 163, in deepcopy y = copier(x, memo) File "C:\Python27\lib\copy.py", line 257, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "C:\Python27\lib\copy.py", line 163, in deepcopy y = copier(x, memo) File "C:\Python27\lib\copy.py", line 230, in _deepcopy_list y.append(deepcopy(a, memo)) File "C:\Python27\lib\copy.py", line 190, in deepcopy y = _reconstruct(x, rv, 1, memo) File "C:\Python27\lib\copy.py", line 334, in _reconstruct state = deepcopy(state, memo) File "C:\Python27\lib\copy.py", line 163, in deepcopy y = copier(x, memo) File "C:\Python27\lib\copy.py", line 257, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "C:\Python27\lib\copy.py", line 182, in deepcopy rv = reductor(2) TypeError: can't pickle _cffi_backend.CData objects