INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_SIXS_20251123_030013" INFO: Regenerating c-file: SOLEIL_SIXS.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace -t -o ./SOLEIL_SIXS.c SOLEIL_SIXS.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT dcm_xtal1: EXTEND %{ if (!SCATTERED) ABSORB; %} is overwritten by: EXTEND %{ if (!SCATTERED) ABSORB; %} ----------------------------------------------------------- CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 WARNING: The parameter mosaic_AB of sx_layer 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 surf_dir of sx_layer 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 sample_stage ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Source_U20 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Source_U20 -> GPU kernel from component mon_src_xy -> SPLIT within buffer at component sample_stage ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_SIXS.out DEBUG: CMD: mpicc -o ./SOLEIL_SIXS.out ./SOLEIL_SIXS.c -lm -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/runner/miniconda3/envs/mcxtrace/lib -L/Users/runner/miniconda3/envs/mcxtrace/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcxtrace/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcxtrace/include -O2 -g -DNDEBUG -isysroot /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk -D_DARWIN_C_SOURCE -I/Users/runner/miniconda3/envs/mcxtrace/include -Wl,-rpath,/Users/runner/miniconda3/envs/mcxtrace/lib -L/Users/runner/miniconda3/envs/mcxtrace/lib -fno-PIC -fPIE -flto -O3 -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/Users/runner/miniconda3/envs/mcxtrace/include -Wl,-rpath,/Users/runner/miniconda3/envs/mcxtrace/lib -L/Users/runner/miniconda3/envs/mcxtrace/lib -lgsl -lgslcblas -DFUNNEL -std=c99 ./SOLEIL_SIXS.c:13042:17: warning: cast to smaller integer type 'unsigned int' from 'double *' [-Wpointer-to-int-cast] 13042 | int N=(unsigned int)((double **) pars)[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOLEIL_SIXS.c:13503:13: warning: using floating point absolute value function 'fabs' when argument is of complex type [-Wabsolute-value] 13503 | r=fabs(r_handle.prms.rconst.R); | ^ ./SOLEIL_SIXS.c:13503:13: note: use function 'cabs' instead 13503 | r=fabs(r_handle.prms.rconst.R); | ^~~~ | cabs ./SOLEIL_SIXS.c:18007:92: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 18007 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18007:95: warning: data argument not used by format string [-Wformat-extra-args] 18007 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./SOLEIL_SIXS.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^ ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18016:100: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 18016 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18016:103: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 18016 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./SOLEIL_SIXS.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18027:100: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 18027 | printf("Single_crystal: %s: Warning: surf_k = [%g:%g]. Must be around 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18027:114: warning: format specifies type 'double' but the argument has type 'char *' [-Wformat] 18027 | printf("Single_crystal: %s: Warning: surf_k = [%g:%g]. Must be around 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./SOLEIL_SIXS.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18033:97: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 18033 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_SIXS.c:18033:104: warning: data argument not used by format string [-Wformat-extra-args] 18033 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./SOLEIL_SIXS.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ 10 warnings generated. ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcxtrace/lib' ignored ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcxtrace/lib' ignored ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcxtrace/lib' ignored DEBUG: CMD: mpicc finished DEBUG: CMD: otool -l ./SOLEIL_SIXS.out DEBUG: CMD: otool finished INFO: ===