INFO: No output directory specified (--dir) INFO: Using directory: "Test_Sources_20251123_040141" INFO: Regenerating c-file: Test_Sources.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./Test_Sources.c Test_Sources.instr CFLAGS= ----------------------------------------------------------- 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_Sources.out DEBUG: CMD: mpicc -o ./Test_Sources.out ./Test_Sources.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_Sources.c:14429:6: warning: address of array 'lamopts' will always evaluate to 'true' [-Wpointer-bool-conversion] 14429 | if(lamopts && strlen(lamopts)) | ^~~~~~~ ~~ ./Test_Sources.c:14430:42: warning: address of array 'lamopts' will always evaluate to 'true' [-Wpointer-bool-conversion] 14430 | stracpy(_m1_var._parameters.options, lamopts ? lamopts : "", 16384); | ^~~~~~~ ~ ./Test_Sources.c:15908:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 15908 | sprintf(outputdir,dirname); | ^~~~~~~ /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ./Test_Sources.c:15908:23: note: treat the string as an argument to avoid this 15908 | sprintf(outputdir,dirname); | ^ | "%s", /Applications/Xcode_16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ ./Test_Sources.c:17626:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17626 | if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17626:49: note: remove extraneous parentheses around the comparison to silence this warning 17626 | if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17626:49: note: use '=' to turn this equality comparison into an assignment 17626 | if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17648:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17648 | if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17648:49: note: remove extraneous parentheses around the comparison to silence this warning 17648 | if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17648:49: note: use '=' to turn this equality comparison into an assignment 17648 | if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17670:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17670 | if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17670:49: note: remove extraneous parentheses around the comparison to silence this warning 17670 | if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17670:49: note: use '=' to turn this equality comparison into an assignment 17670 | if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17692:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17692 | if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17692:49: note: remove extraneous parentheses around the comparison to silence this warning 17692 | if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17692:49: note: use '=' to turn this equality comparison into an assignment 17692 | if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17714:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17714 | if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17714:49: note: remove extraneous parentheses around the comparison to silence this warning 17714 | if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17714:49: note: use '=' to turn this equality comparison into an assignment 17714 | if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17736:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17736 | if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17736:49: note: remove extraneous parentheses around the comparison to silence this warning 17736 | if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17736:49: note: use '=' to turn this equality comparison into an assignment 17736 | if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17758:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17758 | if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17758:49: note: remove extraneous parentheses around the comparison to silence this warning 17758 | if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17758:49: note: use '=' to turn this equality comparison into an assignment 17758 | if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution | ^~ | = 10 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_Sources.out DEBUG: CMD: otool finished INFO: ===