INFO: No output directory specified (--dir) INFO: Using directory: "MAXIV_DanMAX_pxrd2d_20250514_060443" INFO: Regenerating c-file: MAXIV_DanMAX_pxrd2d.c WARNING: Full-path code-generator "/home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace-antlr -I${MCXTRACE}" not found!! WARNING: Attempting replacement by "mcxtrace-antlr -I${MCXTRACE}" DEBUG: CMD: mcxtrace-antlr -I${MCXTRACE} -t -o ./MAXIV_DanMAX_pxrd2d.c MAXIV_DanMAX_pxrd2d.instr 2025-05-14 06:06:03.634 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Filter(0):read_table-lib :Filter(1):interoff-lib :Bragg_crystal(0):perfect_crystals-lib :perfect_crystals-lib(0):read_table-lib :Mirror_toroid(0):read_table-lib :Mirror_toroid(1):reflectivity-lib :Mirror(0):read_table-lib :Mirror(1):reflectivity-lib :Mirror(2):interoff-lib :Lens_parab(0):read_table-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib 2025-05-14 06:06:03.634 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib monitor_nd-lib interoff-lib 2025-05-14 06:06:03.634 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib monitor_nd-lib interoff-lib 2025-05-14 06:06:03.634 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib interoff-lib monitor_nd-lib 2025-05-14 06:06:03.634 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib monitor_nd-lib interoff-lib 2025-05-14 06:06:03.635 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib monitor_nd-lib interoff-lib 2025-05-14 06:06:03.635 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib monitor_nd-lib interoff-lib perfect_crystals-lib 2025-05-14 06:06:03.635 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib monitor_nd-lib interoff-lib The instrument has 26 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT _instrument_var._parameters.SPLITS at component powdern ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin Component dmu is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component src_div -> GPU kernel from component src_e -> GPU kernel from component FM1 -> GPU kernel from component FM2 -> GPU kernel from component FEMM -> GPU kernel from component oh0 -> GPU kernel from component oh_diamond_filter1 -> GPU kernel from component oh_premono_ap -> GPU kernel from component DCM0_a0 -> GPU kernel from component DCM0 -> GPU kernel from component DCM0_a1 -> GPU kernel from component DCM1_a0 -> GPU kernel from component DCM1 -> GPU kernel from component DCM1_a1 -> GPU kernel from component DMM0_a0 -> GPU kernel from component DMM0a -> GPU kernel from component DMM0b -> GPU kernel from component DMM0_a1 -> GPU kernel from component DMM1_a0 -> GPU kernel from component DMM1 -> GPU kernel from component DMM1_a1 -> GPU kernel from component oh_postmono_ap -> GPU kernel from component oh_postmono_psd -> GPU kernel from component oh_postmono_div -> GPU kernel from component oh_postmono_e -> GPU kernel from component oh_2dcrl_guard -> GPU kernel from component oh_2dcrl -> GPU kernel from component oh_end_ap -> GPU kernel from component eh0 -> GPU kernel from component eh_start_psd -> GPU kernel from component eh_start_div -> GPU kernel from component eh_start_e -> GPU kernel from component Imaging -> GPU kernel from component imaging_psd -> GPU kernel from component imaging_div -> GPU kernel from component imaging_e -> GPU kernel from component pxrd_2d_pt -> GPU kernel from component pxrd2_slit -> GPU kernel from component pxrd2_psd -> GPU kernel from component pxrd2_div -> GPU kernel from component pxrd2_e -> SPLIT within buffer at component powdern -> GPU kernel from component pxrd_2d_a -> GPU kernel from component beamstop2 -> GPU kernel from component Pilatus_2M ----------------------------------------------------------- CFLAGS= -std=c99 -lgsl -lgslcblas -DFUNNEL DEBUG: CMD: mcxtrace-antlr -I${MCXTRACE} finished INFO: Recompiling: ./MAXIV_DanMAX_pxrd2d.out DEBUG: CMD: mpicc -o ./MAXIV_DanMAX_pxrd2d.out ./MAXIV_DanMAX_pxrd2d.c -lm -DUSE_MPI -lmpi -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -std=c99 -lgsl -lgslcblas -DFUNNEL ./MAXIV_DanMAX_pxrd2d.c: In function 'reflec_Init': ./MAXIV_DanMAX_pxrd2d.c:10587:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 10587 | int N=(unsigned int)((double **) pars)[0]; | ^ lto-wrapper: warning: using serial compilation of 5 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information /home/nexmap/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/13.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /tmp/ccWxr3hJ.ltrans1.ltrans.o: in function `read_line_data.constprop.0': /home/nexmap/pkwi/xTESTS/2025-05-14/ANTLR_mpi_x_16_1e7_Linux_1e7/MAXIV_DanMAX_pxrd2d/./MAXIV_DanMAX_pxrd2d.c:8135:(.text+0x5ead): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===