INFO: No output directory specified (--dir) INFO: Using directory: "RITA-II_20251123_035414" INFO: Regenerating c-file: RITA-II.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./RITA-II.c RITA-II.instr Info: 'Source_gen4' is a contributed component. Info: 'Exact_radial_coll' is a contributed component. CFLAGS= --> Added COMPONENT monochromator_curved USERVAR ncol_54 with type int --> Added COMPONENT monochromator_curved USERVAR nrow_54 with type int WARNING: The parameter format of powderSample 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 crystalSample 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 monochromator_curved -> SPLIT N at component a3 -> SPLIT N at component focus_ana ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component monochromator_curved -> SPLIT within buffer at component a3 -> SPLIT within buffer at component focus_ana ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./RITA-II.out DEBUG: CMD: mpicc -o ./RITA-II.out ./RITA-II.c -lm -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/runner/miniconda3/envs/mcstas/lib -L/Users/runner/miniconda3/envs/mcstas/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcstas/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/runner/miniconda3/envs/mcstas/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/mcstas/include -Wl,-rpath,/Users/runner/miniconda3/envs/mcstas/lib -L/Users/runner/miniconda3/envs/mcstas/lib -fno-PIC -fPIE -flto -O3 -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./RITA-II.c:16757:11: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 16757 | if (fabs(arg > 1)) | ^ ./RITA-II.c:16757:11: note: use function 'abs' instead 16757 | if (fabs(arg > 1)) | ^~~~ | abs ./RITA-II.c:16769:11: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] 16769 | if (fabs(arg > 1)) | ^ ./RITA-II.c:16769:11: note: use function 'abs' instead 16769 | if (fabs(arg > 1)) | ^~~~ | abs ./RITA-II.c:16809:52: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 16809 | machine_real.da4 = RAD2DEG*asin(ana_d*sin(DEG2RAD*abs(machine_real.aa5))/dsb); | ^ ./RITA-II.c:16809:52: note: use function 'fabs' instead 16809 | machine_real.da4 = RAD2DEG*asin(ana_d*sin(DEG2RAD*abs(machine_real.aa5))/dsb); | ^~~ | fabs ./RITA-II.c:30429:1: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 30429 | XwinMin[9] = 106; | ^ ~ ./RITA-II.c:16591:1: note: array 'XwinMin' declared here 16591 | int XwinMin[9]; | ^ ./RITA-II.c:30440:1: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 30440 | XwinMax[9] = 115; | ^ ~ ./RITA-II.c:16593:1: note: array 'XwinMax' declared here 16593 | int XwinMax[9]; | ^ ./RITA-II.c:30451:1: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 30451 | YwinMin[9] = 39; | ^ ~ ./RITA-II.c:16592:1: note: array 'YwinMin' declared here 16592 | int YwinMin[9]; | ^ ./RITA-II.c:30462:1: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 30462 | YwinMax[9] = 91; | ^ ~ ./RITA-II.c:16594:1: note: array 'YwinMax' declared here 16594 | int YwinMax[9]; | ^ ./RITA-II.c:38146:22: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38146 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16591:1: note: array 'XwinMin' declared here 16591 | int XwinMin[9]; | ^ ./RITA-II.c:38146:47: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38146 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16593:1: note: array 'XwinMax' declared here 16593 | int XwinMax[9]; | ^ ./RITA-II.c:38146:72: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38146 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16592:1: note: array 'YwinMin' declared here 16592 | int YwinMin[9]; | ^ ./RITA-II.c:38146:97: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38146 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16594:1: note: array 'YwinMax' declared here 16594 | int YwinMax[9]; | ^ ./RITA-II.c:38168:22: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38168 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16591:1: note: array 'XwinMin' declared here 16591 | int XwinMin[9]; | ^ ./RITA-II.c:38168:47: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38168 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16593:1: note: array 'XwinMax' declared here 16593 | int XwinMax[9]; | ^ ./RITA-II.c:38168:72: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38168 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16592:1: note: array 'YwinMin' declared here 16592 | int YwinMin[9]; | ^ ./RITA-II.c:38168:97: warning: array index 9 is past the end of the array (that has type 'int[9]') [-Warray-bounds] 38168 | if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution | ^ ~ ./RITA-II.c:16594:1: note: array 'YwinMax' declared here 16594 | int YwinMax[9]; | ^ 15 warnings generated. ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcstas/lib' ignored ld: warning: duplicate -rpath '/Users/runner/miniconda3/envs/mcstas/lib' ignored DEBUG: CMD: mpicc finished DEBUG: CMD: otool -l ./RITA-II.out DEBUG: CMD: otool finished INFO: ===