INFO: No output directory specified (--dir) INFO: Using directory: "Test_Mirrors_20250514_064727" INFO: Regenerating c-file: Test_Mirrors.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 ./Test_Mirrors.c Test_Mirrors.instr 2025-05-14 06:48:39.464 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_flat(0):read_table-lib :Mirror(0):read_table-lib :Mirror(1):reflectivity-lib :Mirror(2):interoff-lib :Mirror_elliptic(0):perfect_crystals-lib :Mirror_elliptic(1):read_table-lib :Mirror_elliptic(2):reflectivity-lib :perfect_crystals-lib(0):read_table-lib :Mirror_curved(0):read_table-lib :Mirror_curved(1):reflectivity-lib :Mirror_toroid(0):read_table-lib :Mirror_toroid(1):reflectivity-lib :Mirror_toroid_pothole(0):read_table-lib :Mirror_toroid_pothole(1):reflectivity-lib :Multilayer_elliptic(0):read_table-lib :Multilayer_elliptic(1):reflectivity-lib 2025-05-14 06:48:39.464 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib interoff-lib 2025-05-14 06:48:39.465 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib interoff-lib perfect_crystals-lib 2025-05-14 06:48:39.465 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to reflectivity-lib read_table-lib perfect_crystals-lib interoff-lib 2025-05-14 06:48:39.465 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib reflectivity-lib perfect_crystals-lib interoff-lib The instrument has 5 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component src -> GPU kernel from component psd0 -> GPU kernel from component mirror_stage -> GPU kernel from component mt0_flat -> GPU kernel from component mt1_ellip -> GPU kernel from component mt2_parab -> GPU kernel from component mt3_curved -> GPU kernel from component mt4_toroid -> GPU kernel from component mt5_toroid_pot -> GPU kernel from component mt6_multilayer -> GPU kernel from component mirror_out -> GPU kernel from component psd1 -> GPU kernel from component psd2 -> GPU kernel from component psd3 ----------------------------------------------------------- CFLAGS= -std=c99 DEBUG: CMD: mcxtrace-antlr -I${MCXTRACE} finished INFO: Recompiling: ./Test_Mirrors.out DEBUG: CMD: mpicc -o ./Test_Mirrors.out ./Test_Mirrors.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 ./Test_Mirrors.c: In function 'reflec_Init': ./Test_Mirrors.c:9483:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 9483 | int N=(unsigned int)((double **) pars)[0]; | ^ lto-wrapper: warning: using serial compilation of 3 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information DEBUG: CMD: mpicc finished INFO: ===