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: "ILL_SALSA_20230901_001309" INFO: Regenerating c-file: ILL_SALSA.c DEBUG: CMD: mcstas -t -o ./ILL_SALSA.c /home/nexmap/pkwi/TESTS/2023-09-01/McStas_CPU_MPICC_KISS_1e7/ILL_SALSA/ILL_SALSA.instr Info: 'Al_window' is a contributed component. 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_pow 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 Sample_environment is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Sample_environment -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: mcstas finished INFO: Recompiling: ./ILL_SALSA.out DEBUG: CMD: mpicc -o ./ILL_SALSA.out ./ILL_SALSA.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 ./ILL_SALSA.c: In function ‘write_tagging_tree’: ./ILL_SALSA.c:13516:105: warning: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types] 13516 | 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 ./ILL_SALSA.c:242: /usr/include/stdlib.h:837: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 *)’ 837 | __compar_fn_t __compar) __nonnull ((1, 4)); | ~~~~~~~~~~~~~~^~~~~~~~ ./ILL_SALSA.c:13525:20: warning: passing argument 1 of ‘printf_history’ from incompatible pointer type [-Wincompatible-pointer-types] 13525 | printf_history(&total_history.saved_histories[history_iterate]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct saved_history_struct * ./ILL_SALSA.c:498:5: note: in definition of macro ‘MPI_MASTER’ 498 | { statement; } \ | ^~~~~~~~~ ./ILL_SALSA.c:13346:50: note: expected ‘struct dynamic_history_list *’ but argument is of type ‘struct saved_history_struct *’ 13346 | void printf_history(struct dynamic_history_list *history) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ DEBUG: CMD: mpicc finished INFO: ===