INFO: No output directory specified (--dir) INFO: Using directory: "Test_Guides_20251212_035101" INFO: Regenerating c-file: Test_Guides.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./Test_Guides.c Test_Guides.instr Info: 'Guide_curved' is a contributed component. Info: 'Guide_honeycomb' is a contributed component. Info: 'Guide_anyshape_r' is a contributed component. CFLAGS= -DUSE_OFF ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./Test_Guides.out DEBUG: CMD: mpicc -o ./Test_Guides.out ./Test_Guides.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 -DUSE_OFF ./Test_Guides.c:21611:57: warning: for loop has empty body [-Wempty-body] 21611 | if (n==0) { for(n=0; x<((2*n-1)*(GVars.w1c+d)); n--); nv=n; } | ^ ./Test_Guides.c:21611:57: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21618:56: warning: for loop has empty body [-Wempty-body] 21618 | if (m1==0) { for (m1=0; y<((2*m1-1)*(y_min)); m1--); mv=m1; } | ^ ./Test_Guides.c:21618:56: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21610:46: warning: for loop has empty body [-Wempty-body] 21610 | for(n=0; x>((2*n+1)*(GVars.w1c+d)) ; n++); nv=n; | ^ ./Test_Guides.c:21610:46: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21617:39: warning: for loop has empty body [-Wempty-body] 21617 | for(m1=0;y>((2*m1+1)*y_min); m1++); mv=m1; | ^ ./Test_Guides.c:21617:39: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:22012:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22012 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22012:48: note: remove extraneous parentheses around the comparison to silence this warning 22012 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22012:48: note: use '=' to turn this equality comparison into an assignment 22012 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22034:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22034 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22034:48: note: remove extraneous parentheses around the comparison to silence this warning 22034 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22034:48: note: use '=' to turn this equality comparison into an assignment 22034 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22056:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22056 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22056:48: note: remove extraneous parentheses around the comparison to silence this warning 22056 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22056:48: note: use '=' to turn this equality comparison into an assignment 22056 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22078:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22078 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22078:48: note: remove extraneous parentheses around the comparison to silence this warning 22078 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22078:48: note: use '=' to turn this equality comparison into an assignment 22078 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22100:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22100 | if ((( _instrument_var._parameters.Guide == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22100:48: note: remove extraneous parentheses around the comparison to silence this warning 22100 | if ((( _instrument_var._parameters.Guide == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22100:48: note: use '=' to turn this equality comparison into an assignment 22100 | if ((( _instrument_var._parameters.Guide == 5 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22122:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22122 | if ((( _instrument_var._parameters.Guide == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22122:48: note: remove extraneous parentheses around the comparison to silence this warning 22122 | if ((( _instrument_var._parameters.Guide == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22122:48: note: use '=' to turn this equality comparison into an assignment 22122 | if ((( _instrument_var._parameters.Guide == 6 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22144:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22144 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22144:48: note: remove extraneous parentheses around the comparison to silence this warning 22144 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22144:48: note: use '=' to turn this equality comparison into an assignment 22144 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22166:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22166 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22166:48: note: remove extraneous parentheses around the comparison to silence this warning 22166 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22166:48: note: use '=' to turn this equality comparison into an assignment 22166 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22188:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22188 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22188:48: note: remove extraneous parentheses around the comparison to silence this warning 22188 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22188:48: note: use '=' to turn this equality comparison into an assignment 22188 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22210:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22210 | if ((( _instrument_var._parameters.Guide == 8 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22210:48: note: remove extraneous parentheses around the comparison to silence this warning 22210 | if ((( _instrument_var._parameters.Guide == 8 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22210:48: note: use '=' to turn this equality comparison into an assignment 22210 | if ((( _instrument_var._parameters.Guide == 8 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22232:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22232 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22232:48: note: remove extraneous parentheses around the comparison to silence this warning 22232 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22232:48: note: use '=' to turn this equality comparison into an assignment 22232 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22254:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22254 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22254:48: note: remove extraneous parentheses around the comparison to silence this warning 22254 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22254:48: note: use '=' to turn this equality comparison into an assignment 22254 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22276:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22276 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22276:48: note: remove extraneous parentheses around the comparison to silence this warning 22276 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22276:48: note: use '=' to turn this equality comparison into an assignment 22276 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ^~ | = 17 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 ./Test_Guides.out DEBUG: CMD: otool finished INFO: ===