INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_CASSIOPEE_20261027_033652" INFO: Regenerating c-file: SOLEIL_CASSIOPEE.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/bin/mcxtrace -t -o ./SOLEIL_CASSIOPEE.c SOLEIL_CASSIOPEE.instr --verbose mcxtrace version 3.99.99 Analyzing file SOLEIL_CASSIOPEE.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]: CASSIOPEE_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]: CASSIOPEE_Source_HU60 = Undulator(). Component[3]: CASSIOPEE_Source_HU256 = Undulator(). Embedding component Arm from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Arm.comp Component[4]: CASSIOPEE_M1a_location = Arm(). Embedding library mccode-complex-lib.h Embedding library mccode-complex-lib.c 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[5]: CASSIOPEE_M1a = Mirror_curved(). Component[6]: CASSIOPEE_M1a_out = Arm(). Component[7]: CASSIOPEE_M1b = Mirror_curved(). Component[8]: CASSIOPEE_M1c = Mirror_curved(). Component[9]: CASSIOPEE_M1bc_out = Arm(). Embedding library monitor_nd-lib.h Embedding library monitor_nd-lib.c Embedding library interoff-lib.h Embedding library interoff-lib.c Embedding component Monitor_nD from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/monitors/Monitor_nD.comp Component[10]: CASSIOPEE_PSD_M1out = Monitor_nD(). Component[11]: CASSIOPEE_PG_location = Arm(). Embedding component Grating_reflect from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Grating_reflect.comp Component[12]: CASSIOPEE_PG = Grating_reflect(). Component[13]: CASSIOPEE_M2_rotation_axis = Monitor_nD(). Embedding component Mirror from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Mirror.comp Component[14]: CASSIOPEE_M2 = Mirror(). Component[15]: CASSIOPEE_PM_takeoff = Arm(). Embedding component Slit from file /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/share/mcxtrace/resources/optics/Slit.comp Component[16]: CASSIOPEE_slit = Slit(). Component[17]: CASSIOPEE_M4 = Mirror_curved(). Component[18]: CASSIOPEE_PSD = Monitor_nD(). Combine metadata blocks into table Processed 0 metadata blocks Creating instrument 'SOLEIL_CASSIOPEE' (with 18 component instances) Starting to create C code ./SOLEIL_CASSIOPEE.c Embedding file mccode-r.h (user path) Embedding file mcxtrace-r.h (user path) Compile './SOLEIL_CASSIOPEE.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_CASSIOPEE' and components DECLARE Writing instrument 'SOLEIL_CASSIOPEE' and components INITIALISE Writing components TRACE Writing instrument 'SOLEIL_CASSIOPEE' and components SAVE Writing instrument 'SOLEIL_CASSIOPEE' and components FINALLY Writing instrument 'SOLEIL_CASSIOPEE' and components DISPLAY Embedding file metadata-r.c (user path) Embedding file mccode_main.c (user path) Warning: The build of the instrument 'SOLEIL_CASSIOPEE' has 54 warnings/errors. Generated C code ./SOLEIL_CASSIOPEE.c from SOLEIL_CASSIOPEE.instr CFLAGS= @GSLFLAGS@ -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component CASSIOPEE_Source_HU60 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component CASSIOPEE_Source_HU60 Component CASSIOPEE_Source_HU256 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component CASSIOPEE_M1a_location ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcxtrace-3.x/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_CASSIOPEE.out DEBUG: CMD: mpicc -o ./SOLEIL_CASSIOPEE.out ./SOLEIL_CASSIOPEE.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 ./SOLEIL_CASSIOPEE.c: In function 'reflec_Init': ./SOLEIL_CASSIOPEE.c:10171:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 10171 | 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: ===