INFO: No output directory specified (--dir) INFO: Using directory: "Test_FluoPowder_20251123_030021" INFO: Regenerating c-file: Test_FluoPowder.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace -t -o ./Test_FluoPowder.c Test_FluoPowder.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT FluoG: EXTEND %{ if (!SCATTERED) ABSORB; scatt_type = type; %} is overwritten by: EXTEND %{ if (SCATTERED) scatt_type = type; %} ----------------------------------------------------------- ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT PowG: EXTEND %{ if (!SCATTERED) ABSORB; scatt_type=3; %} is overwritten by: EXTEND %{ if (SCATTERED) scatt_type=DIFFRACTION; else ABSORB; %} ----------------------------------------------------------- CFLAGS= @XRLFLAGS@ -DUSE_OFF -DFUNNEL WARNING: The parameter format of Pow 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 mat_format of Pow 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 SX 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 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 powder_format of FL_pow 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_cradle ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component sample_cradle Component FL_pow is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component FL_pow Component Fluo is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component FluoG is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component PowG ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace finished INFO: Recompiling: ./Test_FluoPowder.out DEBUG: CMD: mpicc -o ./Test_FluoPowder.out ./Test_FluoPowder.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_FluoPowder.c:19194:92: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 19194 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19194:95: warning: data argument not used by format string [-Wformat-extra-args] 19194 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_FluoPowder.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^ ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19203:100: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 19203 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19203:103: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 19203 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./Test_FluoPowder.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19214:100: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 19214 | 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_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19214:114: warning: format specifies type 'double' but the argument has type 'char *' [-Wformat] 19214 | 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_FluoPowder.c:783:27: note: expanded from macro 'NAME_CURRENT_COMP' 783 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19220:97: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 19220 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:19220:104: warning: data argument not used by format string [-Wformat-extra-args] 19220 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_FluoPowder.c:617:5: note: expanded from macro 'MPI_MASTER' 617 | { statement; } \ | ^~~~~~~~~ ./Test_FluoPowder.c:20829:26: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 20829 | sg = tth_sign/fabs(tth_sign); | ^ ./Test_FluoPowder.c:20829:26: note: use function 'abs' instead 20829 | sg = tth_sign/fabs(tth_sign); | ^~~~ | abs ./Test_FluoPowder.c:22109:23: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 22109 | sg = tth_sign/fabs(tth_sign); | ^ ./Test_FluoPowder.c:22109:23: note: use function 'abs' instead 22109 | sg = tth_sign/fabs(tth_sign); | ^~~~ | abs ./Test_FluoPowder.c:23405:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23405 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_FluoPowder.c:23405:48: note: remove extraneous parentheses around the comparison to silence this warning 23405 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23405:48: note: use '=' to turn this equality comparison into an assignment 23405 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23427:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23427 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_FluoPowder.c:23427:48: note: remove extraneous parentheses around the comparison to silence this warning 23427 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23427:48: note: use '=' to turn this equality comparison into an assignment 23427 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23449:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23449 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_FluoPowder.c:23449:48: note: remove extraneous parentheses around the comparison to silence this warning 23449 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23449:48: note: use '=' to turn this equality comparison into an assignment 23449 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23471:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23471 | if ((( _instrument_var._parameters.index == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_FluoPowder.c:23471:48: note: remove extraneous parentheses around the comparison to silence this warning 23471 | if ((( _instrument_var._parameters.index == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23471:48: note: use '=' to turn this equality comparison into an assignment 23471 | if ((( _instrument_var._parameters.index == 4 ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23493:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23493 | if ((( _instrument_var._parameters.index == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_FluoPowder.c:23493:48: note: remove extraneous parentheses around the comparison to silence this warning 23493 | if ((( _instrument_var._parameters.index == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23493:48: note: use '=' to turn this equality comparison into an assignment 23493 | if ((( _instrument_var._parameters.index == 5 ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23519:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23519 | if ((( _instrument_var._parameters.index == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_FluoPowder.c:23519:48: note: remove extraneous parentheses around the comparison to silence this warning 23519 | if ((( _instrument_var._parameters.index == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23519:48: note: use '=' to turn this equality comparison into an assignment 23519 | if ((( _instrument_var._parameters.index == 5 ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23565:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23565 | if ((( scatt_type == DIFFRACTION ))) // conditional WHEN execution | ~~~~~~~~~~~^~~~~~~~~~~~~~ ./Test_FluoPowder.c:23565:25: note: remove extraneous parentheses around the comparison to silence this warning 23565 | if ((( scatt_type == DIFFRACTION ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23565:25: note: use '=' to turn this equality comparison into an assignment 23565 | if ((( scatt_type == DIFFRACTION ))) // conditional WHEN execution | ^~ | = ./Test_FluoPowder.c:23630:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 23630 | if ((( scatt_type == DIFFRACTION ))) // conditional WHEN execution | ~~~~~~~~~~~^~~~~~~~~~~~~~ ./Test_FluoPowder.c:23630:25: note: remove extraneous parentheses around the comparison to silence this warning 23630 | if ((( scatt_type == DIFFRACTION ))) // conditional WHEN execution | ~ ^ ~ ./Test_FluoPowder.c:23630:25: note: use '=' to turn this equality comparison into an assignment 23630 | if ((( scatt_type == DIFFRACTION ))) // conditional WHEN execution | ^~ | = 18 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_FluoPowder.out DEBUG: CMD: otool finished INFO: ===