INFO: No output directory specified (--dir) INFO: Using directory: "templateTOF_20250506_031747" INFO: Regenerating c-file: templateTOF.c DEBUG: CMD: /Users/runner/work/McCode/McCode/install_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/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./templateTOF.out DEBUG: CMD: mpicc -o ./templateTOF.out ./templateTOF.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 ./templateTOF.c:3801:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./templateTOF.c:15371:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] if(op && strlen(op)) ^~ ~~ ./templateTOF.c:15372:47: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_M_total_var._parameters.options, op ? op : "", 16384); ^~ ~ ./templateTOF.c:15497:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] if(op && strlen(op)) ^~ ~~ ./templateTOF.c:15498:52: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_M_single_coh_var._parameters.options, op ? op : "", 16384); ^~ ~ ./templateTOF.c:15623:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] if(op && strlen(op)) ^~ ~~ ./templateTOF.c:15624:52: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_M_single_inc_var._parameters.options, op ? op : "", 16384); ^~ ~ ./templateTOF.c:15749:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] if(op && strlen(op)) ^~ ~~ ./templateTOF.c:15750:47: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_M_multi_var._parameters.options, op ? op : "", 16384); ^~ ~ ./templateTOF.c:15875:6: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] if(op && strlen(op)) ^~ ~~ ./templateTOF.c:15876:55: warning: address of array 'op' will always evaluate to 'true' [-Wpointer-bool-conversion] stracpy(_M_env_container_var._parameters.options, op ? op : "", 16384); ^~ ~ ./templateTOF.c:18466:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( flag_single == 1 ))) // conditional WHEN execution ~~~~~~~~~~~~^~~~ ./templateTOF.c:18466:26: note: remove extraneous parentheses around the comparison to silence this warning if ((( flag_single == 1 ))) // conditional WHEN execution ~ ^ ~ ./templateTOF.c:18466:26: note: use '=' to turn this equality comparison into an assignment if ((( flag_single == 1 ))) // conditional WHEN execution ^~ = ./templateTOF.c:18488:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((( flag_single == 2 ))) // conditional WHEN execution ~~~~~~~~~~~~^~~~ ./templateTOF.c:18488:26: note: remove extraneous parentheses around the comparison to silence this warning if ((( flag_single == 2 ))) // conditional WHEN execution ~ ^ ~ ./templateTOF.c:18488:26: note: use '=' to turn this equality comparison into an assignment if ((( flag_single == 2 ))) // conditional WHEN execution ^~ = 13 warnings generated. ld: warning: ignoring duplicate libraries: '-lm', '-lmpi' ld: warning: search path '/lib' not found DEBUG: CMD: mpicc finished INFO: ===