INFO: No output directory specified (--dir) INFO: Using directory: "Union_unit_test_abs_logger_1D_space_event_20240617_101440" INFO: Regenerating c-file: Union_unit_test_abs_logger_1D_space_event.c DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas -t -o ./Union_unit_test_abs_logger_1D_space_event.c /Users/peterwillendrup/tmp/mcstas-test/20240617_1000_29/mcstas-3.4.49_Darwin/Union_unit_test_abs_logger_1D_space_event/Union_unit_test_abs_logger_1D_space_event.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -I@MCCODE_LIB@/share/ -DFUNNEL WARNING: The parameter format of powder 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: Component master is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master -> GPU kernel from component transmission ----------------------------------------------------------- DEBUG: CMD: /Users/peterwillendrup/miniforge3/bin/mcstas finished INFO: Recompiling: ./Union_unit_test_abs_logger_1D_space_event.out DEBUG: CMD: mpicc -o ./Union_unit_test_abs_logger_1D_space_event.out ./Union_unit_test_abs_logger_1D_space_event.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1718556543798/work=/usr/local/src/conda/mcstas-core-3.4.49 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/Users/peterwillendrup/miniforge3/share/mcstas/resources/share/ -DFUNNEL ./Union_unit_test_abs_logger_1D_space_event.c:3568:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } /* siminfo_init */ ^ ./Union_unit_test_abs_logger_1D_space_event.c:67765:7: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'int *'; remove & [-Wint-conversion] int global_mantid_min_pixel_id = COMP_GETPAR3(Union_init, init, global_mantid_min_pixel_id); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. INFO: call to mpicc failed with Command 'mpicc -o ./Union_unit_test_abs_logger_1D_space_event.out ./Union_unit_test_abs_logger_1D_space_event.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1718556543798/work=/usr/local/src/conda/mcstas-core-3.4.49 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/Users/peterwillendrup/miniforge3/share/mcstas/resources/share/ -DFUNNEL' returned non-zero exit status 1. Traceback (most recent call last): File "/Users/peterwillendrup/miniforge3/share/mcstas/tools/Python/mcrun/mcrun.py", line 569, in main() File "/Users/peterwillendrup/miniforge3/share/mcstas/tools/Python/mcrun/mcrun.py", line 483, in main mcstas.prepare(options) File "/Users/peterwillendrup/miniforge3/share/mcstas/tools/Python/mcrun/mccode.py", line 293, in prepare Process(lexer.quote(options.cc)).run(args) File "/Users/peterwillendrup/miniforge3/share/mcstas/tools/Python/mcrun/mccode.py", line 77, in run raise err File "/Users/peterwillendrup/miniforge3/share/mcstas/tools/Python/mcrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "/Users/peterwillendrup/miniforge3/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'mpicc -o ./Union_unit_test_abs_logger_1D_space_event.out ./Union_unit_test_abs_logger_1D_space_event.c -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -DUSE_MPI -lmpi -headerpad_max_install_names -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -isystem /Users/peterwillendrup/miniforge3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/mcstas-suite_1718556543798/work=/usr/local/src/conda/mcstas-core-3.4.49 -fdebug-prefix-map=/Users/peterwillendrup/miniforge3=/usr/local/src/conda-prefix -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -I/Users/peterwillendrup/miniforge3/include -Wl,-rpath,/Users/peterwillendrup/miniforge3/lib -L/Users/peterwillendrup/miniforge3/lib -fno-PIC -fPIE -flto -O3 -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -I/Users/peterwillendrup/miniforge3/share/mcstas/resources/share/ -DFUNNEL' returned non-zero exit status 1.