INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN4_20251212_033910" INFO: Regenerating c-file: ILL_IN4.c DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas -t -o ./ILL_IN4.c ILL_IN4.instr ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Container_out: EXTEND %{ flag_env += SCATTERED; %} is overwritten by: EXTEND %{ flag_env += SCATTERED; %} ----------------------------------------------------------- ----------------------------------------------------------- WARNING: Existing (COPY) EXTEND block in COMPONENT Environment_out: EXTEND %{ flag_env += SCATTERED; %} is overwritten by: EXTEND %{ flag_env += SCATTERED; %} ----------------------------------------------------------- CFLAGS= --> Added COMPONENT Mono USERVAR ncol_21 with type int --> Added COMPONENT Mono USERVAR nrow_21 with type int WARNING: --> USERVAR flag_sample_choice is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_source_order is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR order_extend is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_sample 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: 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: -> SPLIT N at component Mono -> SPLIT N at component sample_flux ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Mono -> SPLIT within buffer at component sample_flux ----------------------------------------------------------- DEBUG: CMD: /Users/runner/miniconda3/envs/mcstas/bin/mcstas finished INFO: Recompiling: ./ILL_IN4.out DEBUG: CMD: mpicc -o ./ILL_IN4.out ./ILL_IN4.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 ./ILL_IN4.c:15629:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15628 | "# WAVEVECTOR vector of m=%i values %g:%g in [Angstroem-1]: q\n", | ~~ | %li 15629 | bin_q, min_q, max_q); | ^~~~~ ./ILL_IN4.c:15639:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15638 | "# ENERGY vector of n=%i values %g:%g in [meV]: w\n", | ~~ | %li 15639 | bin_w, min_w, max_w); | ^~~~~ ./ILL_IN4.c:15649:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15648 | "# matrix of S(q,w) values (m=%i rows x n=%i columns), one row per q value: sqw\n", | ~~ | %li 15649 | bin_q, bin_w); | ^~~~~ ./ILL_IN4.c:15649:14: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15648 | "# matrix of S(q,w) values (m=%i rows x n=%i columns), one row per q value: sqw\n", | ~~ | %li 15649 | bin_q, bin_w); | ^~~~~ ./ILL_IN4.c:19203:6: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19203 | if(environment && strlen(environment)) | ^~~~~~~~~~~ ~~ ./ILL_IN4.c:19204:54: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19204 | stracpy(_Environment_in_var._parameters.Sqw_coh, environment ? environment : "", 16384); | ^~~~~~~~~~~ ~ ./ILL_IN4.c:19326:6: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19326 | if(container && strlen(container)) | ^~~~~~~~~ ~~ ./ILL_IN4.c:19327:52: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19327 | stracpy(_Container_in_var._parameters.Sqw_coh, container ? container : "", 16384); | ^~~~~~~~~ ~ ./ILL_IN4.c:19678:6: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19678 | if(container && strlen(container)) | ^~~~~~~~~ ~~ ./ILL_IN4.c:19679:53: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19679 | stracpy(_Container_out_var._parameters.Sqw_coh, container ? container : "", 16384); | ^~~~~~~~~ ~ ./ILL_IN4.c:19801:6: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19801 | if(environment && strlen(environment)) | ^~~~~~~~~~~ ~~ ./ILL_IN4.c:19802:55: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19802 | stracpy(_Environment_out_var._parameters.Sqw_coh, environment ? environment : "", 16384); | ^~~~~~~~~~~ ~ ./ILL_IN4.c:20408:6: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20408 | if(mon_qe && strlen(mon_qe)) | ^~~~~~ ~~ ./ILL_IN4.c:20409:51: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20409 | stracpy(_Detector_qe_var._parameters.options, mon_qe ? mon_qe : "", 16384); | ^~~~~~ ~ ./ILL_IN4.c:20623:6: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20623 | if(mon_qe && strlen(mon_qe)) | ^~~~~~ ~~ ./ILL_IN4.c:20624:52: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20624 | stracpy(_Detector_qeV_var._parameters.options, mon_qe ? mon_qe : "", 16384); | ^~~~~~ ~ ./ILL_IN4.c:26462:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 26462 | if ((( flag_source_order == 0 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:26462:32: note: remove extraneous parentheses around the comparison to silence this warning 26462 | if ((( flag_source_order == 0 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:26462:32: note: use '=' to turn this equality comparison into an assignment 26462 | if ((( flag_source_order == 0 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:26484:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 26484 | if ((( flag_source_order == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:26484:32: note: remove extraneous parentheses around the comparison to silence this warning 26484 | if ((( flag_source_order == 1 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:26484:32: note: use '=' to turn this equality comparison into an assignment 26484 | if ((( flag_source_order == 1 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:26506:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 26506 | if ((( flag_source_order == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:26506:32: note: remove extraneous parentheses around the comparison to silence this warning 26506 | if ((( flag_source_order == 2 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:26506:32: note: use '=' to turn this equality comparison into an assignment 26506 | if ((( flag_source_order == 2 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:27182:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 27182 | if ((( flag_sample_choice == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:27182:33: note: remove extraneous parentheses around the comparison to silence this warning 27182 | if ((( flag_sample_choice == 1 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:27182:33: note: use '=' to turn this equality comparison into an assignment 27182 | if ((( flag_sample_choice == 1 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:27204:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 27204 | if ((( flag_sample_choice == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:27204:33: note: remove extraneous parentheses around the comparison to silence this warning 27204 | if ((( flag_sample_choice == 2 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:27204:33: note: use '=' to turn this equality comparison into an assignment 27204 | if ((( flag_sample_choice == 2 ))) // conditional WHEN execution | ^~ | = 21 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 ./ILL_IN4.out DEBUG: CMD: otool finished INFO: ===