INFO: No output directory specified (--dir) INFO: Using directory: "Test_Sources_20251212_034113" 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:17628:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17628 | if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17628:49: note: remove extraneous parentheses around the comparison to silence this warning 17628 | if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17628:49: note: use '=' to turn this equality comparison into an assignment 17628 | if ((( _instrument_var._parameters.source == 2 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17650:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17650 | if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17650:49: note: remove extraneous parentheses around the comparison to silence this warning 17650 | if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17650:49: note: use '=' to turn this equality comparison into an assignment 17650 | if ((( _instrument_var._parameters.source == 3 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17672:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17672 | if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17672:49: note: remove extraneous parentheses around the comparison to silence this warning 17672 | if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17672:49: note: use '=' to turn this equality comparison into an assignment 17672 | if ((( _instrument_var._parameters.source == 4 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17694:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17694 | if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17694:49: note: remove extraneous parentheses around the comparison to silence this warning 17694 | if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17694:49: note: use '=' to turn this equality comparison into an assignment 17694 | if ((( _instrument_var._parameters.source == 5 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17716:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17716 | if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17716:49: note: remove extraneous parentheses around the comparison to silence this warning 17716 | if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17716:49: note: use '=' to turn this equality comparison into an assignment 17716 | if ((( _instrument_var._parameters.source == 6 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17738:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17738 | if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17738:49: note: remove extraneous parentheses around the comparison to silence this warning 17738 | if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17738:49: note: use '=' to turn this equality comparison into an assignment 17738 | if ((( _instrument_var._parameters.source == 7 ))) // conditional WHEN execution | ^~ | = ./Test_Sources.c:17760:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 17760 | if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_Sources.c:17760:49: note: remove extraneous parentheses around the comparison to silence this warning 17760 | if ((( _instrument_var._parameters.source == 8 ))) // conditional WHEN execution | ~ ^ ~ ./Test_Sources.c:17760:49: note: use '=' to turn this equality comparison into an assignment 17760 | 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: ===