INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN4_20251123_035100" 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:15625:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15624 | "# WAVEVECTOR vector of m=%i values %g:%g in [Angstroem-1]: q\n", | ~~ | %li 15625 | bin_q, min_q, max_q); | ^~~~~ ./ILL_IN4.c:15635:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15634 | "# ENERGY vector of n=%i values %g:%g in [meV]: w\n", | ~~ | %li 15635 | bin_w, min_w, max_w); | ^~~~~ ./ILL_IN4.c:15645:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15644 | "# matrix of S(q,w) values (m=%i rows x n=%i columns), one row per q value: sqw\n", | ~~ | %li 15645 | bin_q, bin_w); | ^~~~~ ./ILL_IN4.c:15645:14: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 15644 | "# matrix of S(q,w) values (m=%i rows x n=%i columns), one row per q value: sqw\n", | ~~ | %li 15645 | bin_q, bin_w); | ^~~~~ ./ILL_IN4.c:19199:6: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19199 | if(environment && strlen(environment)) | ^~~~~~~~~~~ ~~ ./ILL_IN4.c:19200:54: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19200 | stracpy(_Environment_in_var._parameters.Sqw_coh, environment ? environment : "", 16384); | ^~~~~~~~~~~ ~ ./ILL_IN4.c:19322:6: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19322 | if(container && strlen(container)) | ^~~~~~~~~ ~~ ./ILL_IN4.c:19323:52: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19323 | stracpy(_Container_in_var._parameters.Sqw_coh, container ? container : "", 16384); | ^~~~~~~~~ ~ ./ILL_IN4.c:19674:6: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19674 | if(container && strlen(container)) | ^~~~~~~~~ ~~ ./ILL_IN4.c:19675:53: warning: address of array 'container' will always evaluate to 'true' [-Wpointer-bool-conversion] 19675 | stracpy(_Container_out_var._parameters.Sqw_coh, container ? container : "", 16384); | ^~~~~~~~~ ~ ./ILL_IN4.c:19797:6: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19797 | if(environment && strlen(environment)) | ^~~~~~~~~~~ ~~ ./ILL_IN4.c:19798:55: warning: address of array 'environment' will always evaluate to 'true' [-Wpointer-bool-conversion] 19798 | stracpy(_Environment_out_var._parameters.Sqw_coh, environment ? environment : "", 16384); | ^~~~~~~~~~~ ~ ./ILL_IN4.c:20404:6: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20404 | if(mon_qe && strlen(mon_qe)) | ^~~~~~ ~~ ./ILL_IN4.c:20405:51: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20405 | stracpy(_Detector_qe_var._parameters.options, mon_qe ? mon_qe : "", 16384); | ^~~~~~ ~ ./ILL_IN4.c:20619:6: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20619 | if(mon_qe && strlen(mon_qe)) | ^~~~~~ ~~ ./ILL_IN4.c:20620:52: warning: address of array 'mon_qe' will always evaluate to 'true' [-Wpointer-bool-conversion] 20620 | stracpy(_Detector_qeV_var._parameters.options, mon_qe ? mon_qe : "", 16384); | ^~~~~~ ~ ./ILL_IN4.c:26456:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 26456 | if ((( flag_source_order == 0 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:26456:32: note: remove extraneous parentheses around the comparison to silence this warning 26456 | if ((( flag_source_order == 0 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:26456:32: note: use '=' to turn this equality comparison into an assignment 26456 | if ((( flag_source_order == 0 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:26478:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 26478 | if ((( flag_source_order == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:26478:32: note: remove extraneous parentheses around the comparison to silence this warning 26478 | if ((( flag_source_order == 1 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:26478:32: note: use '=' to turn this equality comparison into an assignment 26478 | if ((( flag_source_order == 1 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:26500:32: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 26500 | if ((( flag_source_order == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:26500:32: note: remove extraneous parentheses around the comparison to silence this warning 26500 | if ((( flag_source_order == 2 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:26500:32: note: use '=' to turn this equality comparison into an assignment 26500 | if ((( flag_source_order == 2 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:27176:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 27176 | if ((( flag_sample_choice == 1 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:27176:33: note: remove extraneous parentheses around the comparison to silence this warning 27176 | if ((( flag_sample_choice == 1 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:27176:33: note: use '=' to turn this equality comparison into an assignment 27176 | if ((( flag_sample_choice == 1 ))) // conditional WHEN execution | ^~ | = ./ILL_IN4.c:27198:33: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 27198 | if ((( flag_sample_choice == 2 ))) // conditional WHEN execution | ~~~~~~~~~~~~~~~~~~~^~~~ ./ILL_IN4.c:27198:33: note: remove extraneous parentheses around the comparison to silence this warning 27198 | if ((( flag_sample_choice == 2 ))) // conditional WHEN execution | ~ ^ ~ ./ILL_IN4.c:27198:33: note: use '=' to turn this equality comparison into an assignment 27198 | 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: ===