INFO: No output directory specified (--dir) INFO: Using directory: "Test_Guides_Curved_20251212_035106" INFO: Regenerating c-file: Test_Guides_Curved.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./Test_Guides_Curved.c Test_Guides_Curved.instr Info: 'Guide_curved' is a contributed component. CFLAGS= WARNING: The parameter rTopUpPar of GuideB 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 rTopDownPar of GuideB 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 rBotUpPar of GuideB 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 rBotDownPar of GuideB 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 rLeftUpPar of GuideB 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 rLeftDownPar of GuideB 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 rRightUpPar of GuideB 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 rRightDownPar of GuideB 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./Test_Guides_Curved.out DEBUG: CMD: mpicc -o ./Test_Guides_Curved.out ./Test_Guides_Curved.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 ./Test_Guides_Curved.c:18078:25: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 18077 | fprintf(stderr, "Pol_bender: %s: drawOption %ld not supported. Exiting.\n", | ~~~ | %d 18078 | NAME_CURRENT_COMP, drawOption); | ^~~~~~~~~~ ./Test_Guides_Curved.c:18011:22: note: expanded from macro 'drawOption' 18011 | #define drawOption (_comp->_parameters.drawOption) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Test_Guides_Curved.c:19997:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 19997 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:19997:48: note: remove extraneous parentheses around the comparison to silence this warning 19997 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:19997:48: note: use '=' to turn this equality comparison into an assignment 19997 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20019:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20019 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20019:48: note: remove extraneous parentheses around the comparison to silence this warning 20019 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20019:48: note: use '=' to turn this equality comparison into an assignment 20019 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20041:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20041 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20041:48: note: remove extraneous parentheses around the comparison to silence this warning 20041 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20041:48: note: use '=' to turn this equality comparison into an assignment 20041 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20063:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20063 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20063:48: note: remove extraneous parentheses around the comparison to silence this warning 20063 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20063:48: note: use '=' to turn this equality comparison into an assignment 20063 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20090:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20090 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20090:48: note: remove extraneous parentheses around the comparison to silence this warning 20090 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20090:48: note: use '=' to turn this equality comparison into an assignment 20090 | if ((( _instrument_var._parameters.Guide == 1 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20112:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20112 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20112:48: note: remove extraneous parentheses around the comparison to silence this warning 20112 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20112:48: note: use '=' to turn this equality comparison into an assignment 20112 | if ((( _instrument_var._parameters.Guide == 2 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20139:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20139 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20139:48: note: remove extraneous parentheses around the comparison to silence this warning 20139 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20139:48: note: use '=' to turn this equality comparison into an assignment 20139 | if ((( _instrument_var._parameters.Guide == 3 ))) // conditional WHEN execution | ^~ | = ./Test_Guides_Curved.c:20161:48: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 20161 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Guides_Curved.c:20161:48: note: remove extraneous parentheses around the comparison to silence this warning 20161 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Guides_Curved.c:20161:48: note: use '=' to turn this equality comparison into an assignment 20161 | if ((( _instrument_var._parameters.Guide == 4 ))) // conditional WHEN execution | ^~ | = 9 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_Curved.out DEBUG: CMD: otool finished INFO: ===