loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_CPU_MPICC_KISS/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "Union_time_of_flight_20221201_002747" INFO: Regenerating c-file: Union_time_of_flight.c DEBUG: CMD: mcstas -t -o ./Union_time_of_flight.c /home/nexmap/pkwi/TESTS/2022-12-01/McStas_CPU_MPICC_KISS_1e7/Union_time_of_flight/Union_time_of_flight.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 Al_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 test_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample -> GPU kernel from component banana_detector_tof ----------------------------------------------------------- INFO: Recompiling: ./Union_time_of_flight.out DEBUG: CMD: mpicc -o ./Union_time_of_flight.out ./Union_time_of_flight.c -lm -DUSE_MPI -lmpi -g -lm -O2 -DUSE_MPI -lmpi -std=c99 -D_POSIX_SOURCE -I/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../share/ -DFUNNEL ./Union_time_of_flight.c: In function 'write_tagging_tree': ./Union_time_of_flight.c:7776:105: warning: passing argument 4 of 'qsort' from incompatible pointer type [-Wincompatible-pointer-types] 7776 | qsort(total_history.saved_histories,total_history.used_elements,sizeof (struct saved_history_struct), Sample_compare_history_intensities); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int (*)(const struct saved_history_struct *, const struct saved_history_struct *) In file included from ./Union_time_of_flight.c:234: /u/data/pkwi/WORK/miniconda3/x86_64-conda-linux-gnu/sysroot/usr/include/stdlib.h:776:34: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(const struct saved_history_struct *, const struct saved_history_struct *)' 776 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ ./Union_time_of_flight.c:7785:20: warning: passing argument 1 of 'printf_history' from incompatible pointer type [-Wincompatible-pointer-types] 7785 | printf_history(&total_history.saved_histories[history_iterate]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct saved_history_struct * ./Union_time_of_flight.c:456:5: note: in definition of macro 'MPI_MASTER' 456 | { statement; } \ | ^~~~~~~~~ ./Union_time_of_flight.c:7606:50: note: expected 'struct dynamic_history_list *' but argument is of type 'struct saved_history_struct *' 7606 | void printf_history(struct dynamic_history_list *history) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ INFO: ===