INFO: No output directory specified (--dir) INFO: Using directory: "Test_Guides_20251123_035914" 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:21548:57: warning: for loop has empty body [-Wempty-body] 21548 | if (n==0) { for(n=0; x<((2*n-1)*(GVars.w1c+d)); n--); nv=n; } | ^ ./Test_Guides.c:21548:57: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21555:56: warning: for loop has empty body [-Wempty-body] 21555 | if (m1==0) { for (m1=0; y<((2*m1-1)*(y_min)); m1--); mv=m1; } | ^ ./Test_Guides.c:21555:56: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21547:46: warning: for loop has empty body [-Wempty-body] 21547 | for(n=0; x>((2*n+1)*(GVars.w1c+d)) ; n++); nv=n; | ^ ./Test_Guides.c:21547:46: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21554:39: warning: for loop has empty body [-Wempty-body] 21554 | for(m1=0;y>((2*m1+1)*y_min); m1++); mv=m1; | ^ ./Test_Guides.c:21554:39: note: put the semicolon on a separate line to silence this warning ./Test_Guides.c:21949:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 21949 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:21949:48: note: remove extraneous parentheses around the comparison to silence this warning 21949 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:21949:48: note: use '=' to turn this equality comparison into an assignment 21949 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:21971:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 21971 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:21971:48: note: remove extraneous parentheses around the comparison to silence this warning 21971 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:21971:48: note: use '=' to turn this equality comparison into an assignment 21971 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:21993:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 21993 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:21993:48: note: remove extraneous parentheses around the comparison to silence this warning 21993 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:21993:48: note: use '=' to turn this equality comparison into an assignment 21993 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22015:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22015 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22015:48: note: remove extraneous parentheses around the comparison to silence this warning 22015 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22015:48: note: use '=' to turn this equality comparison into an assignment 22015 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22037:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22037 | if ((( _instrument_var._parameters.Guide == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22037:48: note: remove extraneous parentheses around the comparison to silence this warning 22037 | if ((( _instrument_var._parameters.Guide == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22037:48: note: use '=' to turn this equality comparison into an assignment 22037 | if ((( _instrument_var._parameters.Guide == 5 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22059:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22059 | if ((( _instrument_var._parameters.Guide == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22059:48: note: remove extraneous parentheses around the comparison to silence this warning 22059 | if ((( _instrument_var._parameters.Guide == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22059:48: note: use '=' to turn this equality comparison into an assignment 22059 | if ((( _instrument_var._parameters.Guide == 6 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22081:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22081 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22081:48: note: remove extraneous parentheses around the comparison to silence this warning 22081 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22081:48: note: use '=' to turn this equality comparison into an assignment 22081 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22103:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22103 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22103:48: note: remove extraneous parentheses around the comparison to silence this warning 22103 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22103:48: note: use '=' to turn this equality comparison into an assignment 22103 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22125:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22125 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22125:48: note: remove extraneous parentheses around the comparison to silence this warning 22125 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22125:48: note: use '=' to turn this equality comparison into an assignment 22125 | if ((( _instrument_var._parameters.Guide == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22147:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22147 | if ((( _instrument_var._parameters.Guide == 8 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22147:48: note: remove extraneous parentheses around the comparison to silence this warning 22147 | if ((( _instrument_var._parameters.Guide == 8 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22147:48: note: use '=' to turn this equality comparison into an assignment 22147 | if ((( _instrument_var._parameters.Guide == 8 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22169:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22169 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22169:48: note: remove extraneous parentheses around the comparison to silence this warning 22169 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22169:48: note: use '=' to turn this equality comparison into an assignment 22169 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22191:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22191 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22191:48: note: remove extraneous parentheses around the comparison to silence this warning 22191 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22191:48: note: use '=' to turn this equality comparison into an assignment 22191 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ^~ | = ./Test_Guides.c:22213:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 22213 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides.c:22213:48: note: remove extraneous parentheses around the comparison to silence this warning 22213 | if ((( _instrument_var._parameters.Guide == 9 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides.c:22213:48: note: use '=' to turn this equality comparison into an assignment 22213 | 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: ===