INFO: No output directory specified (--dir) INFO: Using directory: "Test_Sources_20240617_101104" INFO: Regenerating c-file: Test_Sources.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./Test_Sources.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/Test_Sources/Test_Sources.instr CFLAGS= ----------------------------------------------------------- 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_Sources.out DEBUG: CMD: mpicc -o ./Test_Sources.out ./Test_Sources.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_Sources.c:3568:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./Test_Sources.c:13417:6: warning: address of array 'lamopts' will always evaluate to 'true' [-Wpointer-bool-conversion] if(lamopts && strlen(lamopts)) ^~~~~~~ ~~ ./Test_Sources.c:13418:42: warning: address of array 'lamopts' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_m1_var._parameters.options, lamopts ? lamopts : "", 16384); ^~~~~~~ ~ ./Test_Sources.c:14791:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(outputdir,dirname); ^~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ ./Test_Sources.c:14791:23: note: treat the string as an argument to avoid this sprintf(outputdir,dirname); ^ "%s", /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ ./Test_Sources.c:16514:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16514:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16514:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:16536:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16536:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16536:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:16558:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16558:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16558:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:16580:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16580:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16580:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:16602:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16602:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16602:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:16624:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16624:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16624:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:16646:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:16646:49: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution ~ ^ ~ ./Test_Sources.c:16646:49: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution ^~ = ./Test_Sources.c:17149:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(fp,"%6i ",i); ~~~ ^ %6lu 12 warnings generated. DEBUG: CMD: mpicc finished INFO: ===