INFO: No output directory specified (--dir) INFO: Using directory: "RITA-II_20250506_031539" INFO: Regenerating c-file: RITA-II.c DEBUG: CMD: /Users/runner/work/McCode/McCode/install_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/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./RITA-II.out DEBUG: CMD: mpicc -o ./RITA-II.out ./RITA-II.c -lm -DUSE_MPI -lmpi -headerpad_max_install_names -O2 -g -DNDEBUG -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -D_DARWIN_C_SOURCE -I${CONDA_PREFIX}/include -Wl,-rpath,${CONDA_PREFIX}/lib -L${CONDA_PREFIX}/lib -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./RITA-II.c:3817:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./RITA-II.c:14881:5: warning: non-void function does not return a value [-Wreturn-type] } ^ ./RITA-II.c:14904:5: warning: non-void function does not return a value [-Wreturn-type] } ^ ./RITA-II.c:16581:11: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(arg > 1)) ^ ./RITA-II.c:16581:11: note: use function 'abs' instead if (fabs(arg > 1)) ^~~~ abs ./RITA-II.c:16593:11: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] if (fabs(arg > 1)) ^ ./RITA-II.c:16593:11: note: use function 'abs' instead if (fabs(arg > 1)) ^~~~ abs ./RITA-II.c:16633:52: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] machine_real.da4 = RAD2DEG*asin(ana_d*sin(DEG2RAD*abs(machine_real.aa5))/dsb); ^ ./RITA-II.c:16633:52: note: use function 'fabs' instead machine_real.da4 = RAD2DEG*asin(ana_d*sin(DEG2RAD*abs(machine_real.aa5))/dsb); ^~~ fabs ./RITA-II.c:30242:1: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] XwinMin[9] = 106; ^ ~ ./RITA-II.c:16415:1: note: array 'XwinMin' declared here int XwinMin[9]; ^ ./RITA-II.c:30253:1: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] XwinMax[9] = 115; ^ ~ ./RITA-II.c:16417:1: note: array 'XwinMax' declared here int XwinMax[9]; ^ ./RITA-II.c:30264:1: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] YwinMin[9] = 39; ^ ~ ./RITA-II.c:16416:1: note: array 'YwinMin' declared here int YwinMin[9]; ^ ./RITA-II.c:30275:1: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] YwinMax[9] = 91; ^ ~ ./RITA-II.c:16418:1: note: array 'YwinMax' declared here int YwinMax[9]; ^ ./RITA-II.c:37914:22: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16415:1: note: array 'XwinMin' declared here int XwinMin[9]; ^ ./RITA-II.c:37914:47: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16417:1: note: array 'XwinMax' declared here int XwinMax[9]; ^ ./RITA-II.c:37914:72: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16416:1: note: array 'YwinMin' declared here int YwinMin[9]; ^ ./RITA-II.c:37914:97: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16418:1: note: array 'YwinMax' declared here int YwinMax[9]; ^ ./RITA-II.c:37936:22: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16415:1: note: array 'XwinMin' declared here int XwinMin[9]; ^ ./RITA-II.c:37936:47: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16417:1: note: array 'XwinMax' declared here int XwinMax[9]; ^ ./RITA-II.c:37936:72: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16416:1: note: array 'YwinMin' declared here int YwinMin[9]; ^ ./RITA-II.c:37936:97: warning: array index 9 is past the end of the array (which contains 9 elements) [-Warray-bounds] if ((( BinX >= XwinMin [ 9 ] && BinX <= XwinMax [ 9 ] && BinY >= YwinMin [ 9 ] && BinY <= YwinMax [ 9 ] && ! _instrument_var._parameters.VIRTUALOUT ))) // conditional WHEN execution ^ ~ ./RITA-II.c:16418:1: note: array 'YwinMax' declared here int YwinMax[9]; ^ 18 warnings generated. ld: warning: ignoring duplicate libraries: '-lm', '-lmpi' ld: warning: search path '/lib' not found DEBUG: CMD: mpicc finished INFO: ===