INFO: No output directory specified (--dir) INFO: Using directory: "Reflectometer_20251212_034651" 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:15513:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15513 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15513:53: note: remove extraneous parentheses around the comparison to silence this warning 15513 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15513:53: note: use '=' to turn this equality comparison into an assignment 15513 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15535:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15535 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15535:53: note: remove extraneous parentheses around the comparison to silence this warning 15535 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15535:53: note: use '=' to turn this equality comparison into an assignment 15535 | if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15557:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15557 | if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15557:53: note: remove extraneous parentheses around the comparison to silence this warning 15557 | if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15557:53: note: use '=' to turn this equality comparison into an assignment 15557 | if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15579:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15579 | if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15579:53: note: remove extraneous parentheses around the comparison to silence this warning 15579 | if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15579:53: note: use '=' to turn this equality comparison into an assignment 15579 | if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15601:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15601 | if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15601:53: note: remove extraneous parentheses around the comparison to silence this warning 15601 | if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15601:53: note: use '=' to turn this equality comparison into an assignment 15601 | if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15623:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15623 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15623:53: note: remove extraneous parentheses around the comparison to silence this warning 15623 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15623:53: note: use '=' to turn this equality comparison into an assignment 15623 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15645:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15645 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15645:53: note: remove extraneous parentheses around the comparison to silence this warning 15645 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15645:53: note: use '=' to turn this equality comparison into an assignment 15645 | if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution | ^~ | = ./Reflectometer.c:15667:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15667 | if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15667:53: note: remove extraneous parentheses around the comparison to silence this warning 15667 | if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution | ~ ^ ~ ./Reflectometer.c:15667:53: note: use '=' to turn this equality comparison into an assignment 15667 | 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: ===