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_test_mask_20221101_001914" INFO: Regenerating c-file: Union_test_mask.c DEBUG: CMD: mcstas -t -o ./Union_test_mask.c /home/nexmap/pkwi/TESTS/2022-11-01/McStas_CPU_MPICC_KISS_1e7/Union_test_mask/Union_test_mask.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -I@MCCODE_LIB@/share/ -DFUNNEL ----------------------------------------------------------- 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 m4pi ----------------------------------------------------------- INFO: Recompiling: ./Union_test_mask.out DEBUG: CMD: mpicc -o ./Union_test_mask.out ./Union_test_mask.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_test_mask.c: In function ‘write_tagging_tree’: ./Union_test_mask.c:7718:82: warning: passing argument 4 of ‘qsort’ from incompatible pointer type [enabled by default] qsort(total_history.saved_histories,total_history.used_elements,sizeof (struct saved_history_struct), Sample_compare_history_intensities); ^ In file included from ./Union_test_mask.c:265:0: /usr/include/stdlib.h:760:13: note: expected ‘__compar_fn_t’ but argument is of type ‘int (*)(const struct saved_history_struct *, const struct saved_history_struct *)’ extern void qsort (void *__base, size_t __nmemb, size_t __size, ^ ./Union_test_mask.c:7722:3: warning: passing argument 1 of ‘printf_history’ from incompatible pointer type [enabled by default] MPI_MASTER( ^ ./Union_test_mask.c:7548:6: note: expected ‘struct dynamic_history_list *’ but argument is of type ‘struct saved_history_struct *’ void printf_history(struct dynamic_history_list *history) { ^ INFO: ===