INFO: No output directory specified (--dir) INFO: Using directory: "SE_example2_20251212_035225" INFO: Regenerating c-file: SE_example2.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./SE_example2.c SE_example2.instr Warning: 'V_sample' is an obsolete component (not maintained). CFLAGS= WARNING: The parameter rUpPar of polariser2 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. WARNING: The parameter rDownPar of polariser2 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: ./SE_example2.out DEBUG: CMD: mpicc -o ./SE_example2.out ./SE_example2.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 ./SE_example2.c:14563:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 14563 | if (hit=box_intersect(&t0,&t1,x,y,z,vx,vy,vz,xwidth,yheight,zdepth)){ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SE_example2.c:14563:12: note: place parentheses around the assignment to silence this warning 14563 | if (hit=box_intersect(&t0,&t1,x,y,z,vx,vy,vz,xwidth,yheight,zdepth)){ | ^ | ( ) ./SE_example2.c:14563:12: note: use '==' to turn this assignment into an equality comparison 14563 | if (hit=box_intersect(&t0,&t1,x,y,z,vx,vy,vz,xwidth,yheight,zdepth)){ | ^ | == ./SE_example2.c:15246:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15246 | if ((( _instrument_var._parameters.SAMPLE == 0 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./SE_example2.c:15246:49: note: remove extraneous parentheses around the comparison to silence this warning 15246 | if ((( _instrument_var._parameters.SAMPLE == 0 ))) // conditional WHEN execution | ~ ^ ~ ./SE_example2.c:15246:49: note: use '=' to turn this equality comparison into an assignment 15246 | if ((( _instrument_var._parameters.SAMPLE == 0 ))) // conditional WHEN execution | ^~ | = 2 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 ./SE_example2.out DEBUG: CMD: otool finished INFO: ===