INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_NANOSCOPIUM_20261027_033759" INFO: Regenerating c-file: SOLEIL_NANOSCOPIUM.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/bin/mcxtrace -t -o ./SOLEIL_NANOSCOPIUM.c SOLEIL_NANOSCOPIUM.instr --verbose mcxtrace version 3.99.99 Analyzing file SOLEIL_NANOSCOPIUM.instr Embedding component Progress_bar from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/misc/Progress_bar.comp Component[1]: origin = Progress_bar(). Embedding component Undulator from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/sources/Undulator.comp Component[2]: NANO_source = Undulator(). Embedding component E_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/monitors/E_monitor.comp Component[3]: NANO_e_monitor_source = E_monitor(). Embedding library mccode-complex-lib.h Embedding library mccode-complex-lib.c Embedding component PSD_monitor_coh from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/monitors/PSD_monitor_coh.comp Component[4]: NANO_psd_source = PSD_monitor_coh(). Embedding component Slit from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Slit.comp Component[5]: NANO_slit_1 = Slit(). Embedding component Arm from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Arm.comp Component[6]: NANO_m1_in = Arm(). Component[7]: NANO_m1_roll = Arm(). Embedding library read_table-lib.h Embedding library read_table-lib.c Embedding library reflectivity-lib.h Embedding library reflectivity-lib.c Embedding component Mirror_curved from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Mirror_curved.comp Component[8]: NANO_mirror_m1 = Mirror_curved(). Component[9]: NANO_beam_deviation = Arm(). Component[10]: NANO_m2_in = Arm(). Component[11]: NANO_mirror_m2 = Mirror_curved(). Component[12]: NANO_mirror_m2_out = Arm(). Component[13]: NANO_slit_2 = Slit(). Component[14]: NANO_dcm_in = Arm(). Embedding component PSD_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/monitors/PSD_monitor.comp Component[15]: NANO_PSD_dcm_in = PSD_monitor(). Component[16]: NANO_bragg_roll = Arm(). Embedding library perfect_crystals-lib.h Embedding library perfect_crystals-lib.c Embedding component Bragg_crystal from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Bragg_crystal.comp Component[17]: NANO_bragg_crystal_1 = Bragg_crystal(). Component[18]: NANO_dcm2_rot = Arm(). Component[19]: NANO_dcm_transl = Arm(). Component[20]: NANO_bragg_crystal_2 = Bragg_crystal(). Component[21]: NANO_bragg2_out = Arm(). Component[22]: NANO_dcm_out = Arm(). Component[23]: NANO_e_dcm_out = E_monitor(). Component[24]: NANO_secondary_source_slits = Arm(). Component[25]: NANO_psd_ss_in = PSD_monitor(). Component[26]: NANO_slit_3 = Slit(). Component[27]: NANO_psd_ss_out = PSD_monitor(). Component[28]: NANO_jjxray2_slits = Arm(). Component[29]: NANO_slit_5 = Slit(). Component[30]: NANO_kb_in = Arm(). Component[31]: NANO_kb_1 = Mirror_curved(). Component[32]: NANO_kb_beam_deviation = Arm(). Component[33]: NANO_kb1_out = Arm(). Component[34]: NANO_kb2 = Mirror_curved(). Component[35]: NANO_kb_out = Arm(). Component[36]: NANO_slit = Slit(). Component[37]: NANO_psd_sample_stage = PSD_monitor(). Combine metadata blocks into table Processed 0 metadata blocks Creating instrument 'SOLEIL_NANOSCOPIUM' (with 37 component instances) Starting to create C code ./SOLEIL_NANOSCOPIUM.c Embedding file mccode-r.h (user path) Embedding file mcxtrace-r.h (user path) Compile './SOLEIL_NANOSCOPIUM.c -DUSE_NEXUS -lNeXus' to enable NeXus support Embedding file mccode-r.c (user path) Embedding file mcxtrace-r.c (user path) Writing instrument 'SOLEIL_NANOSCOPIUM' and components DECLARE Writing instrument 'SOLEIL_NANOSCOPIUM' and components INITIALISE Writing components TRACE Writing instrument 'SOLEIL_NANOSCOPIUM' and components SAVE Writing instrument 'SOLEIL_NANOSCOPIUM' and components FINALLY Writing instrument 'SOLEIL_NANOSCOPIUM' and components DISPLAY Embedding file metadata-r.c (user path) Embedding file mccode_main.c (user path) Warning: The build of the instrument 'SOLEIL_NANOSCOPIUM' has 92 warnings/errors. Generated C code ./SOLEIL_NANOSCOPIUM.c from SOLEIL_NANOSCOPIUM.instr CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component NANO_source is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component NANO_source -> GPU kernel from component NANO_e_monitor_source ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_NANOSCOPIUM.out DEBUG: CMD: mpicc -o ./SOLEIL_NANOSCOPIUM.out ./SOLEIL_NANOSCOPIUM.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -Wl,-rpath-link,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/include -I/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -DUSE_MPI -lmpi -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/include -O2 -g -DNDEBUG -I/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -fno-PIC -fPIE -flto -O3 -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/lib -lgsl -lgslcblas -DFUNNEL -std=c99 ./SOLEIL_NANOSCOPIUM.c: In function 'reflec_Init': ./SOLEIL_NANOSCOPIUM.c:10168:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 10168 | int N=(unsigned int)((double **) pars)[0]; | ^ lto-wrapper: warning: using serial compilation of 2 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information DEBUG: CMD: mpicc finished INFO: ===