INFO: No output directory specified (--dir) INFO: Using directory: "Test_SX_20251123_030229" INFO: Regenerating c-file: Test_SX.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace -t -o ./Test_SX.c Test_SX.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT SX: EXTEND %{ if(!SCATTERED) ABSORB; else if (hkl_info.type == 'c') Stype=DIFFRACTION; else Stype=FLUORESCENCE; %} is overwritten by: EXTEND %{ if (SCATTERED) { if (hkl_info.type == 'c') Stype=DIFFRACTION; else Stype=FLUORESCENCE; } else ABSORB; %} ----------------------------------------------------------- CFLAGS= @XRLFLAGS@ -DUSE_OFF -DFUNNEL 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. WARNING: The parameter mosaic_AB of sampleF 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component sampleF is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component sampleF Component FluoG is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component SX ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace finished INFO: Recompiling: ./Test_SX.out DEBUG: CMD: mpicc -o ./Test_SX.out ./Test_SX.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 -lxrl -DUSE_OFF -DFUNNEL ./Test_SX.c:15497:92: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 15497 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15497:95: warning: data argument not used by format string [-Wformat-extra-args] 15497 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_SX.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^ ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15506:100: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 15506 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15506:103: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 15506 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./Test_SX.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15517:100: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 15517 | printf("Single_crystal: %s: Warning: surf_k = [%g:%g]. Must be around 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15517:114: warning: format specifies type 'double' but the argument has type 'char *' [-Wformat] 15517 | printf("Single_crystal: %s: Warning: surf_k = [%g:%g]. Must be around 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./Test_SX.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15523:97: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 15523 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:15523:104: warning: data argument not used by format string [-Wformat-extra-args] 15523 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_SX.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_SX.c:18367:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18367 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_SX.c:18367:48: note: remove extraneous parentheses around the comparison to silence this warning 18367 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:18367:48: note: use '=' to turn this equality comparison into an assignment 18367 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ^~ | = ./Test_SX.c:18389:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18389 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_SX.c:18389:48: note: remove extraneous parentheses around the comparison to silence this warning 18389 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:18389:48: note: use '=' to turn this equality comparison into an assignment 18389 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ^~ | = ./Test_SX.c:18411:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18411 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_SX.c:18411:48: note: remove extraneous parentheses around the comparison to silence this warning 18411 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:18411:48: note: use '=' to turn this equality comparison into an assignment 18411 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ^~ | = ./Test_SX.c:18437:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18437 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_SX.c:18437:48: note: remove extraneous parentheses around the comparison to silence this warning 18437 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:18437:48: note: use '=' to turn this equality comparison into an assignment 18437 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ^~ | = ./Test_SX.c:18483:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18483 | if ((( Stype == DIFFRACTION ))) // conditional WHEN execution | ~~~~~~^~~~~~~~~~~~~~ ./Test_SX.c:18483:20: note: remove extraneous parentheses around the comparison to silence this warning 18483 | if ((( Stype == DIFFRACTION ))) // conditional WHEN execution | ~ ^ ~ ./Test_SX.c:18483:20: note: use '=' to turn this equality comparison into an assignment 18483 | if ((( Stype == DIFFRACTION ))) // conditional WHEN execution | ^~ | = 13 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 ./Test_SX.out DEBUG: CMD: otool finished INFO: ===