INFO: Using directory: "1" INFO: Regenerating c-file: MAXIV_DanMAX_pxrd1d.c CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 WARNING: The parameter format of powdern is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. WARNING: The parameter mat_format of powdern is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component powdern ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component dmu is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component dmu -> GPU kernel from component src_psd -> SPLIT within buffer at component powdern ----------------------------------------------------------- INFO: Recompiling: ./MAXIV_DanMAX_pxrd1d.out ./MAXIV_DanMAX_pxrd1d.c: In function 'reflec_Init': ./MAXIV_DanMAX_pxrd1d.c:13032:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 13032 | int N=(unsigned int)((double **) pars)[0]; | ^ lto-wrapper: warning: using serial compilation of 6 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information /home/willend/micromamba/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /tmp/cc3LeBVk.ltrans1.ltrans.o: in function `read_line_data.constprop.0': /home/willend/mcxtrace-test/mcxtrace-3.5.29_openacc_wshome_1080_Linux/MAXIV_DanMAX_pxrd1d/./MAXIV_DanMAX_pxrd1d.c:13815:(.text.read_line_data.constprop.0+0x187): warning: the use of `tmpnam' is dangerous, better use `mkstemp' WARNING: Ignoring invalid parameter: "MAXIV_DanMAX_pxrd1d.instr" INFO: === DCM is tuned to E=35 keV corresponding to an angle of 3.23858 (3.23818 + 0.000399326) deg. DMM is tuned to E=35 keV corresponding to an angle of 0.412871 deg. si mono in, ml mono out DMM1 saggital curvature radius is 4549.5 m, meridional radius is 203 m. x offset after DCM is: 0.01, x offset after DMM is: 0.01 z ml mono offset is: 0, z si mono offset is: 0.088647 banana theta limits=[-2.41103 113.318] bins=30720 INFO: DanMAX_undulator: fundamental energy: 3.004, harmonic= 5, target energy= 15 INFO: DanMAX: PXRD 1d-strip prms: 0.064 0.008 4.82206 0 [MAXIV_DanMAX_pxrd1d] Initialize Undulator (dmu) K=1.24755 B=0.83506[T] lu=0.016[m] E1st=3.004[keV] E0=15[keV] gap=0.00507436[m] Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/C-diamond.txt' (Table_Read_Offset) Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/Si.txt' (Table_Read_Offset) Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/FormFactors.txt' (Table_Read_Offset) Reusing input file 'Si.txt' (Table_Read_Offset) Reusing input file 'FormFactors.txt' (Table_Read_Offset) Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/w_b4c_si_3AArghn.dat' (Table_Read_Offset) INFO (reflectivity-lib) reflectivity parameterization type: 'eth' Reusing input file 'w_b4c_si_3AArghn.dat' (Table_Read_Offset) INFO (reflectivity-lib) reflectivity parameterization type: 'eth' Reusing input file 'w_b4c_si_3AArghn.dat' (Table_Read_Offset) INFO (reflectivity-lib) reflectivity parameterization type: 'eth' Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/Be.txt' (Table_Read_Offset) Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/LaB6_660b_AVID2.hkl' (Table_Read_Offset) Table from file 'LaB6_660b_AVID2.hkl' (block 1) is 1453 x 6 (x=1:23), constant step. interpolation: linear '# TITLE La1 B6 [Cubic, Centric (-1 at origin)];# a b ...' PowderN: powdern: Powder file probably of type Crystallographica/Fullprof (lau) WARNING: but F2 unit is set to barns=1 (barns). Intensity might be 100 times too high. PowderN: powdern: Read 1453 reflections from file 'LaB6_660b_AVID2.hkl' Opening input file '/home/willend/micromamba/share/mcxtrace/resources/data/lab6.abs' (Table_Read_Offset) PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. PowderN: powdern: WARNING: Did not hit sample from inside (inc). ABSORB. Trace ETA 3.71667 [min] 4 % 10 % 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90 % *** TRACE end *** Save [MAXIV_DanMAX_pxrd1d] Detector: src_psd_I=3.13517e+15 src_psd_ERR=4.2356e+12 src_psd_N=9.99626e+06 "src_mon.psd" Detector: src_div_I=3.13602e+15 src_div_ERR=4.23617e+12 src_div_N=1e+07 "src_mon.div" Detector: src_e_I=3.13602e+15 src_e_ERR=4.23617e+12 src_e_N=1e+07 "src_mon.e" Detector: oh_postmono_psd_I=0.0221738 oh_postmono_psd_ERR=3.26565e-05 oh_postmono_psd_N=3.55656e+06 "oh_postmono.psd" Detector: oh_postmono_div_I=0.0224169 oh_postmono_div_ERR=3.28174e-05 oh_postmono_div_N=3.67027e+06 "oh_postmono.div" Detector: oh_postmono_e_I=0.0224169 oh_postmono_e_ERR=3.28174e-05 oh_postmono_e_N=3.67027e+06 "oh_postmono.e" Detector: eh_start_psd_I=0.0131441 eh_start_psd_ERR=2.25634e-05 eh_start_psd_N=2.13115e+06 "eh_start.psd" Detector: eh_start_div_I=0.0131607 eh_start_div_ERR=2.25808e-05 eh_start_div_N=2.13421e+06 "eh_start.div" Detector: eh_start_e_I=0.0131607 eh_start_e_ERR=2.25808e-05 eh_start_e_N=2.13421e+06 "eh_start.e" Detector: imaging_psd_I=0.0131441 imaging_psd_ERR=2.25634e-05 imaging_psd_N=2.13115e+06 "imaging.psd" Detector: imaging_div_I=0.0131607 imaging_div_ERR=2.25808e-05 imaging_div_N=2.13421e+06 "imaging.div" Detector: imaging_e_I=0.0131607 imaging_e_ERR=2.25808e-05 imaging_e_N=2.13421e+06 "imaging.e" Detector: pxrd1_psd_I=0.00154236 pxrd1_psd_ERR=8.67383e-06 pxrd1_psd_N=161114 "pxrd1.psd" Detector: pxrd1_div_I=0.00154236 pxrd1_div_ERR=8.67383e-06 pxrd1_div_N=161114 "pxrd1.div" Detector: pxrd1_e_I=0.00154236 pxrd1_e_ERR=8.67383e-06 pxrd1_e_N=161114 "pxrd1.e" Detector: dm_strip_banana_I=0.000809077 dm_strip_banana_ERR=2.26013e-07 dm_strip_banana_N=1.16463e+08 "dm_strip_banana.th" Finally [MAXIV_DanMAX_pxrd1d: 1]. Time: 3.68333 [min] PowderN: powdern: Warning messages were repeated 14795756 times with absorbed xrays. INFO: Placing instr file copy MAXIV_DanMAX_pxrd1d.instr in dataset 1 INFO: Placing generated c-code copy MAXIV_DanMAX_pxrd1d.c in dataset 1