INFO: No output directory specified (--dir) INFO: Using directory: "Test_Pol_Mirror_20240617_101140" INFO: Regenerating c-file: Test_Pol_Mirror.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./Test_Pol_Mirror.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/Test_Pol_Mirror/Test_Pol_Mirror.instr CFLAGS= WARNING: The parameter rUpPar of mirror 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 rDownPar of mirror 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/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./Test_Pol_Mirror.out DEBUG: CMD: mpicc -o ./Test_Pol_Mirror.out ./Test_Pol_Mirror.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1718556543798/work=/usr/local/src/conda/mcstas-core-3.4.49 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./Test_Pol_Mirror.c:3575:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./Test_Pol_Mirror.c:10921:30: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rUpPar); ^~~~~~ ./Test_Pol_Mirror.c:10904:18: note: expanded from macro 'rUpPar' #define rUpPar (_comp->_parameters.rUpPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Test_Pol_Mirror.c:10931:30: warning: format specifies type 'char *' but the argument has type 'MCNUM *' (aka 'double *') [-Wformat] NAME_CURRENT_COMP, rDownPar); ^~~~~~~~ ./Test_Pol_Mirror.c:10905:20: note: expanded from macro 'rDownPar' #define rDownPar (_comp->_parameters.rDownPar) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Test_Pol_Mirror.c:11893:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( reflected == 1 ))) // conditional WHEN execution ~~~~~~~~~~^~~~ ./Test_Pol_Mirror.c:11893:24: note: remove extraneous parentheses around the comparison to silence this warning if ((( reflected == 1 ))) // conditional WHEN execution ~ ^ ~ ./Test_Pol_Mirror.c:11893:24: note: use '=' to turn this equality comparison into an assignment if ((( reflected == 1 ))) // conditional WHEN execution ^~ = ./Test_Pol_Mirror.c:11915:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( reflected == 0 ))) // conditional WHEN execution ~~~~~~~~~~^~~~ ./Test_Pol_Mirror.c:11915:24: note: remove extraneous parentheses around the comparison to silence this warning if ((( reflected == 0 ))) // conditional WHEN execution ~ ^ ~ ./Test_Pol_Mirror.c:11915:24: note: use '=' to turn this equality comparison into an assignment if ((( reflected == 0 ))) // conditional WHEN execution ^~ = 5 warnings generated. DEBUG: CMD: mpicc finished INFO: ===