INFO: No output directory specified (--dir) INFO: Using directory: "Reflectometer_20251123_040806" INFO: Regenerating c-file: Reflectometer.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./Reflectometer.c Reflectometer.instr CFLAGS= WARNING: The parameter powder_format of Sample_Mirror_backside 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/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./Reflectometer.out DEBUG: CMD: mpicc -o ./Reflectometer.out ./Reflectometer.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 ./Reflectometer.c:15511:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15511 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15511:53: note: remove extraneous parentheses around the comparison to silence this warning 15511 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15511:53: note: use '=' to turn this equality comparison into an assignment 15511 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15533:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15533 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15533:53: note: remove extraneous parentheses around the comparison to silence this warning 15533 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15533:53: note: use '=' to turn this equality comparison into an assignment 15533 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15555:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15555 | if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15555:53: note: remove extraneous parentheses around the comparison to silence this warning 15555 | if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15555:53: note: use '=' to turn this equality comparison into an assignment 15555 | if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15577:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15577 | if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15577:53: note: remove extraneous parentheses around the comparison to silence this warning 15577 | if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15577:53: note: use '=' to turn this equality comparison into an assignment 15577 | if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15599:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15599 | if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15599:53: note: remove extraneous parentheses around the comparison to silence this warning 15599 | if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15599:53: note: use '=' to turn this equality comparison into an assignment 15599 | if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15621:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15621 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15621:53: note: remove extraneous parentheses around the comparison to silence this warning 15621 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15621:53: note: use '=' to turn this equality comparison into an assignment 15621 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15643:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15643 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15643:53: note: remove extraneous parentheses around the comparison to silence this warning 15643 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15643:53: note: use '=' to turn this equality comparison into an assignment 15643 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15665:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15665 | if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15665:53: note: remove extraneous parentheses around the comparison to silence this warning 15665 | if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15665:53: note: use '=' to turn this equality comparison into an assignment 15665 | if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution | ^~ | = 8 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 ./Reflectometer.out DEBUG: CMD: otool finished INFO: ===