INFO: No output directory specified (--dir) INFO: Using directory: "Test_DiskChoppers2_20251212_034032" INFO: Regenerating c-file: Test_DiskChoppers2.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./Test_DiskChoppers2.c Test_DiskChoppers2.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Slab2: EXTEND %{ if (neutrontype==1) { SCATTER; } %} is overwritten by: EXTEND %{ if (neutrontype==1) { SCATTER; } %} ----------------------------------------------------------- CFLAGS= --> Added COMPONENT R USERVAR Rot_8 with type Rotation WARNING: --> USERVAR Rot_8 is of type Rotation and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: The parameter format of Slab1 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: ./Test_DiskChoppers2.out DEBUG: CMD: mpicc -o ./Test_DiskChoppers2.out ./Test_DiskChoppers2.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_DiskChoppers2.c:13086:92: warning: data argument not used by format string [-Wformat-extra-args] 13086 | fprintf(stderr,"%s: Please indicate direction=1,2 or 3 (x,y or z)\n",NAME_CURRENT_COMP,direction); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./Test_DiskChoppers2.c:13080:21: note: expanded from macro 'direction' 13080 | #define direction (_comp->_parameters.direction) | ^ ./Test_DiskChoppers2.c:13091:28: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 13091 | sprintf(rot_var,"Rot_%i",_comp->_index); | ~~ ^~~~~~~~~~~~~ | %li /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_DiskChoppers2.c:14841:50: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 14841 | if ((( _instrument_var._parameters.chopper == 0 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_DiskChoppers2.c:14841:50: note: remove extraneous parentheses around the comparison to silence this warning 14841 | if ((( _instrument_var._parameters.chopper == 0 ))) // conditional WHEN execution | ~ ^ ~ ./Test_DiskChoppers2.c:14841:50: note: use '=' to turn this equality comparison into an assignment 14841 | if ((( _instrument_var._parameters.chopper == 0 ))) // conditional WHEN execution | ^~ | = ./Test_DiskChoppers2.c:14922:50: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 14922 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_DiskChoppers2.c:14922:50: note: remove extraneous parentheses around the comparison to silence this warning 14922 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_DiskChoppers2.c:14922:50: note: use '=' to turn this equality comparison into an assignment 14922 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ^~ | = ./Test_DiskChoppers2.c:14949:50: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 14949 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_DiskChoppers2.c:14949:50: note: remove extraneous parentheses around the comparison to silence this warning 14949 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_DiskChoppers2.c:14949:50: note: use '=' to turn this equality comparison into an assignment 14949 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ^~ | = ./Test_DiskChoppers2.c:15025:50: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 15025 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ ./Test_DiskChoppers2.c:15025:50: note: remove extraneous parentheses around the comparison to silence this warning 15025 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ~ ^ ~ ./Test_DiskChoppers2.c:15025:50: note: use '=' to turn this equality comparison into an assignment 15025 | if ((( _instrument_var._parameters.chopper == 1 ))) // conditional WHEN execution | ^~ | = 6 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_DiskChoppers2.out DEBUG: CMD: otool finished INFO: ===