INFO: No output directory specified (--dir) INFO: Using directory: "Test_PowderN_20251123_030030" INFO: Regenerating c-file: Test_PowderN.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace -t -o ./Test_PowderN.c Test_PowderN.instr 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 FlPow 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 FlPow is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component FlPow -> GPU kernel from component Sph_mon ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcxtrace/bin/mcxtrace finished INFO: Recompiling: ./Test_PowderN.out DEBUG: CMD: mpicc -o ./Test_PowderN.out ./Test_PowderN.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_PowderN.c:17669:92: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 17669 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17669:95: warning: data argument not used by format string [-Wformat-extra-args] 17669 | printf("Single_crystal: %s: Warning: No surf_dir surface normal set. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_PowderN.c:776:27: note: expanded from macro 'NAME_CURRENT_COMP' 776 | #define NAME_CURRENT_COMP (_comp->_name) | ^ ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17678:100: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 17678 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^ | %d ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17678:103: warning: format specifies type 'int' but the argument has type 'char *' [-Wformat] 17678 | printf("Single_crystal: %s: Warning: surf_FT2[%i] < 0. Must all be >= 0. Ignoring CTR.\n", i, NAME_CURRENT_COMP); | ~~ ^~~~~~~~~~~~~~~~~ | %s ./Test_PowderN.c:776:27: note: expanded from macro 'NAME_CURRENT_COMP' 776 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17689:100: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 17689 | 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_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17689:114: warning: format specifies type 'double' but the argument has type 'char *' [-Wformat] 17689 | 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_PowderN.c:776:27: note: expanded from macro 'NAME_CURRENT_COMP' 776 | #define NAME_CURRENT_COMP (_comp->_name) | ^~~~~~~~~~~~~~ ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17695:97: warning: format specifies type 'char *' but the argument has type 'double' [-Wformat] 17695 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~ ^~~~~ | %f ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:17695:104: warning: data argument not used by format string [-Wformat-extra-args] 17695 | printf("Single_crystal: %s: Warning: sum(surf_FT2) <= 0. Must be > 0. Ignoring CTR.\n", min_k, max_k, NAME_CURRENT_COMP); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_PowderN.c:610:5: note: expanded from macro 'MPI_MASTER' 610 | { statement; } \ | ^~~~~~~~~ ./Test_PowderN.c:18897:26: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 18897 | sg = tth_sign/fabs(tth_sign); | ^ ./Test_PowderN.c:18897:26: note: use function 'abs' instead 18897 | sg = tth_sign/fabs(tth_sign); | ^~~~ | abs ./Test_PowderN.c:20175:23: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 20175 | sg = tth_sign/fabs(tth_sign); | ^ ./Test_PowderN.c:20175:23: note: use function 'abs' instead 20175 | sg = tth_sign/fabs(tth_sign); | ^~~~ | abs ./Test_PowderN.c:20782:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20782 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_PowderN.c:20782:48: note: remove extraneous parentheses around the comparison to silence this warning 20782 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_PowderN.c:20782:48: note: use '=' to turn this equality comparison into an assignment 20782 | if ((( _instrument_var._parameters.index == 1 ))) // conditional WHEN execution | ^~ | = ./Test_PowderN.c:20804:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20804 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_PowderN.c:20804:48: note: remove extraneous parentheses around the comparison to silence this warning 20804 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_PowderN.c:20804:48: note: use '=' to turn this equality comparison into an assignment 20804 | if ((( _instrument_var._parameters.index == 2 ))) // conditional WHEN execution | ^~ | = ./Test_PowderN.c:20826:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20826 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_PowderN.c:20826:48: note: remove extraneous parentheses around the comparison to silence this warning 20826 | if ((( _instrument_var._parameters.index == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_PowderN.c:20826:48: note: use '=' to turn this equality comparison into an assignment 20826 | if ((( _instrument_var._parameters.index == 3 ))) // 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_PowderN.out DEBUG: CMD: otool finished INFO: ===