INFO: No output directory specified (--dir) INFO: Using directory: "Test_SX_20240617_101218" INFO: Regenerating c-file: Test_SX.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./Test_SX.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/Test_SX/Test_SX.instr CFLAGS= WARNING: The parameter mosaic_AB of SX 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 SX ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component SX ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./Test_SX.out DEBUG: CMD: mpicc -o ./Test_SX.out ./Test_SX.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_SX.c:3575:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./Test_SX.c:10268:38: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if(!ext || ext == infile) return infile; ^~~~~~ ./Test_SX.c:10277:41: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] && strcasecmp(ext, "res")) return infile; ^~~~~~ ./Test_SX.c:10280:26: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (!OUTFILE) return infile; ^~~~~~ ./Test_SX.c:14017:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( Type == 1 ))) // conditional WHEN execution ~~~~~^~~~ ./Test_SX.c:14017:19: note: remove extraneous parentheses around the comparison to silence this warning if ((( Type == 1 ))) // conditional WHEN execution ~ ^ ~ ./Test_SX.c:14017:19: note: use '=' to turn this equality comparison into an assignment if ((( Type == 1 ))) // conditional WHEN execution ^~ = ./Test_SX.c:14104:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( Type == 3 ))) // conditional WHEN execution ~~~~~^~~~ ./Test_SX.c:14104:19: note: remove extraneous parentheses around the comparison to silence this warning if ((( Type == 3 ))) // conditional WHEN execution ~ ^ ~ ./Test_SX.c:14104:19: note: use '=' to turn this equality comparison into an assignment if ((( Type == 3 ))) // conditional WHEN execution ^~ = ./Test_SX.c:14126:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( Type == 2 ))) // conditional WHEN execution ~~~~~^~~~ ./Test_SX.c:14126:19: note: remove extraneous parentheses around the comparison to silence this warning if ((( Type == 2 ))) // conditional WHEN execution ~ ^ ~ ./Test_SX.c:14126:19: note: use '=' to turn this equality comparison into an assignment if ((( Type == 2 ))) // conditional WHEN execution ^~ = 7 warnings generated. DEBUG: CMD: mpicc finished INFO: ===