INFO: No output directory specified (--dir) INFO: Using directory: "Reflectometer_20250506_032403" INFO: Regenerating c-file: Reflectometer.c DEBUG: CMD: /Users/runner/work/McCode/McCode/install_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/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./Reflectometer.out DEBUG: CMD: mpicc -o ./Reflectometer.out ./Reflectometer.c -lm -DUSE_MPI -lmpi -headerpad_max_install_names -O2 -g -DNDEBUG -isysroot /Applications/Xcode_15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk -D_DARWIN_C_SOURCE -I${CONDA_PREFIX}/include -Wl,-rpath,${CONDA_PREFIX}/lib -L${CONDA_PREFIX}/lib -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./Reflectometer.c:3780:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./Reflectometer.c:15416:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15416:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15416:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15438:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15438:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15438:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 1 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15460:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15460:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15460:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 2 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15482:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15482:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15482:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 3 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15504:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15504:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15504:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 5 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15526:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15526:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15526:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15548:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15548:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15548:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 6 ))) // conditional WHEN execution ^~ = ./Reflectometer.c:15570:53: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Reflectometer.c:15570:53: note: remove extraneous parentheses around the comparison to silence this warning if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution ~ ^ ~ ./Reflectometer.c:15570:53: note: use '=' to turn this equality comparison into an assignment if ((( _instrument_var._parameters.sampletype == 7 ))) // conditional WHEN execution ^~ = 9 warnings generated. ld: warning: ignoring duplicate libraries: '-lm', '-lmpi' ld: warning: search path '/lib' not found DEBUG: CMD: mpicc finished INFO: ===