INFO: No output directory specified (--dir) INFO: Using directory: "SOLEIL_PX2a_20251123_025826" INFO: Regenerating c-file: SOLEIL_PX2a.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace -t -o ./SOLEIL_PX2a.c SOLEIL_PX2a.instr CFLAGS= @GSLFLAGS@ -DFUNNEL -std=c99 WARNING: The parameter mosaic_AB of sample 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 sample 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 ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component undulator is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component undulator -> GPU kernel from component bragg_crystal_location -> SPLIT within buffer at component sample ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace finished INFO: Recompiling: ./SOLEIL_PX2a.out DEBUG: CMD: mpicc -o ./SOLEIL_PX2a.out ./SOLEIL_PX2a.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_PX2a.c:9473:17: warning: cast to smaller integer type 'unsigned int' from 'double *' [-Wpointer-to-int-cast] 9473 | int N=(unsigned int)((double **) pars)[0]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOLEIL_PX2a.c:9934:13: warning: using floating point absolute value function 'fabs' when argument is of complex type [-Wabsolute-value] 9934 | r=fabs(r_handle.prms.rconst.R); | ^ ./SOLEIL_PX2a.c:9934:13: note: use function 'cabs' instead 9934 | r=fabs(r_handle.prms.rconst.R); | ^~~~ | cabs ./SOLEIL_PX2a.c:17628:92: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 17628 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17628:95: warning: data argument not used by format string [-Wformat-extra-args] 17628 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./SOLEIL_PX2a.c:789:27: note: expanded from macro 'NAME_CURRENT_COMP' 789 | #define NAME_CURRENT_COMP (_comp->_name) | ^ ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17637:100: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 17637 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17637:103: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 17637 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./SOLEIL_PX2a.c:789:27: note: expanded from macro 'NAME_CURRENT_COMP' 789 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17648:100: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 17648 | 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_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17648:114: warning: format specifies type 'double' but the argument has type 'char *' [-Wformat] 17648 | 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_PX2a.c:789:27: note: expanded from macro 'NAME_CURRENT_COMP' 789 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17654:97: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 17654 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { statement; } \ | ^~~~~~~~~ ./SOLEIL_PX2a.c:17654:104: warning: data argument not used by format string [-Wformat-extra-args] 17654 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./SOLEIL_PX2a.c:623:5: note: expanded from macro 'MPI_MASTER' 623 | { 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_PX2a.out DEBUG: CMD: otool finished INFO: ===