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_H5_20230901_000945" INFO: Regenerating c-file: ILL_H5.c DEBUG: CMD: mcstas -t -o ./ILL_H5.c /home/nexmap/pkwi/TESTS/2023-09-01/McStas_CPU_MPICC_KISS_1e7/ILL_H5/ILL_H5.instr CFLAGS= WARNING: The parameter format of HCS_Al 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. WARNING: The parameter powder_format of H53_IN14_Sample 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. WARNING: The parameter rUpPar of H53_CryoEDM_polariser 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. WARNING: The parameter rDownPar of H53_CryoEDM_polariser 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. WARNING: The parameter rPar of IN15_Vpolariser 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. WARNING: The parameter rUpPar of IN15_Vpolariser 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. WARNING: The parameter rDownPar of IN15_Vpolariser 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: WARNING: --> JUMP found at COMPONENT 9, H53_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 10, H52_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 11, H51_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 26, H53_IN14_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 79, H53_IN16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 94, H53_D16_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 110, H53_SADAM_Monochromator_Jumper --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 154, H51_split_2 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 155, H51_split_1 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL ----------------------------------------------------------- DEBUG: CMD: mcstas finished INFO: Recompiling: ./ILL_H5.out DEBUG: CMD: mpicc -o ./ILL_H5.out ./ILL_H5.c -lm -DUSE_MPI -lmpi -g -lm -O2 -DUSE_MPI -lmpi -std=c99 -D_POSIX_SOURCE ./ILL_H5.c: In function ‘cif2hkl’: ./ILL_H5.c:9382:38: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 9382 | if(!ext || ext == infile) return infile; | ^~~~~~ ./ILL_H5.c:9391:41: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 9391 | && strcasecmp(ext, "res")) return infile; | ^~~~~~ ./ILL_H5.c:9394:26: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 9394 | if (!OUTFILE) return infile; | ^~~~~~ ./ILL_H5.c: In function ‘class_Pol_guide_vmirror_init’: ./ILL_H5.c:35051:35: warning: passing argument 2 of ‘Table_Read’ from incompatible pointer type [-Wincompatible-pointer-types] 35051 | #define rPar (_comp->_parameters.rPar) | ~~~~~~~~~~~~~~~~~~~^~~~~~ | | | MCNUM * {aka double *} ./ILL_H5.c:35116:28: note: in expansion of macro ‘rPar’ 35116 | if (Table_Read(&rParPtr, rPar, 1) <= 0) { | ^~~~ ./ILL_H5.c:6725:41: note: expected ‘char *’ but argument is of type ‘MCNUM *’ {aka ‘double *’} 6725 | long Table_Read(t_Table *Table, char *File, long block_number) | ~~~~~~^~~~ ./ILL_H5.c:35052:37: warning: passing argument 2 of ‘Table_Read’ from incompatible pointer type [-Wincompatible-pointer-types] 35052 | #define rUpPar (_comp->_parameters.rUpPar) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ | | | MCNUM * {aka double *} ./ILL_H5.c:35121:30: note: in expansion of macro ‘rUpPar’ 35121 | if (Table_Read(&rUpParPtr, rUpPar, 1) <= 0) { | ^~~~~~ ./ILL_H5.c:6725:41: note: expected ‘char *’ but argument is of type ‘MCNUM *’ {aka ‘double *’} 6725 | long Table_Read(t_Table *Table, char *File, long block_number) | ~~~~~~^~~~ ./ILL_H5.c:35053:39: warning: passing argument 2 of ‘Table_Read’ from incompatible pointer type [-Wincompatible-pointer-types] 35053 | #define rDownPar (_comp->_parameters.rDownPar) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | MCNUM * {aka double *} ./ILL_H5.c:35126:32: note: in expansion of macro ‘rDownPar’ 35126 | if (Table_Read(&rDownParPtr, rDownPar, 1) <= 0) { | ^~~~~~~~ ./ILL_H5.c:6725:41: note: expected ‘char *’ but argument is of type ‘MCNUM *’ {aka ‘double *’} 6725 | long Table_Read(t_Table *Table, char *File, long block_number) | ~~~~~~^~~~ /usr/bin/ld: /u/data/pkwi/tmp-nightly//cc4uHSLk.o: in function `cif2hkl': /u/data/pkwi/TESTS/2023-09-01/McStas_CPU_MPICC_KISS_1e7/ILL_H5/./ILL_H5.c:9396: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===