INFO: No output directory specified (--dir) INFO: Using directory: "templateTOF_20251212_034915" INFO: Regenerating c-file: templateTOF.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./templateTOF.c templateTOF.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Container_out: EXTEND %{ if (SCATTERED) flag_container=1; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_container=1; %} ----------------------------------------------------------- ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Environment_out: EXTEND %{ if (SCATTERED) flag_env=1; %} is overwritten by: EXTEND %{ if (SCATTERED) flag_env=1; %} ----------------------------------------------------------- CFLAGS= WARNING: --> USERVAR flag_single is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_multi is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_env is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_container is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: The parameter powder_format of Environment_in 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: ./templateTOF.out DEBUG: CMD: mpicc -o ./templateTOF.out ./templateTOF.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 ./templateTOF.c:15474:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15474 | if(op && strlen(op)) | ^~ ~~ ./templateTOF.c:15475:47: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15475 | stracpy(_M_total_var._parameters.options, op ? op : "", 16384); | ^~ ~ ./templateTOF.c:15600:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15600 | if(op && strlen(op)) | ^~ ~~ ./templateTOF.c:15601:52: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15601 | stracpy(_M_single_coh_var._parameters.options, op ? op : "", 16384); | ^~ ~ ./templateTOF.c:15726:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15726 | if(op && strlen(op)) | ^~ ~~ ./templateTOF.c:15727:52: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15727 | stracpy(_M_single_inc_var._parameters.options, op ? op : "", 16384); | ^~ ~ ./templateTOF.c:15852:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15852 | if(op && strlen(op)) | ^~ ~~ ./templateTOF.c:15853:47: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15853 | stracpy(_M_multi_var._parameters.options, op ? op : "", 16384); | ^~ ~ ./templateTOF.c:15978:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15978 | if(op && strlen(op)) | ^~ ~~ ./templateTOF.c:15979:55: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] 15979 | stracpy(_M_env_container_var._parameters.options, op ? op : "", 16384); | ^~ ~ ./templateTOF.c:18571:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18571 | if ((( flag_single == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~^~~~ ./templateTOF.c:18571:26: note: remove extraneous parentheses around the comparison to silence this warning 18571 | if ((( flag_single == 1 ))) // conditional WHEN execution | ~ ^ ~ ./templateTOF.c:18571:26: note: use '=' to turn this equality comparison into an assignment 18571 | if ((( flag_single == 1 ))) // conditional WHEN execution | ^~ | = ./templateTOF.c:18593:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 18593 | if ((( flag_single == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~^~~~ ./templateTOF.c:18593:26: note: remove extraneous parentheses around the comparison to silence this warning 18593 | if ((( flag_single == 2 ))) // conditional WHEN execution | ~ ^ ~ ./templateTOF.c:18593:26: note: use '=' to turn this equality comparison into an assignment 18593 | if ((( flag_single == 2 ))) // conditional WHEN execution | ^~ | = 12 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 ./templateTOF.out DEBUG: CMD: otool finished INFO: ===