INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_new_20240617_102142" INFO: Regenerating c-file: ILL_H5_new.c DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas -t -o ILL_H5_new.c C:\\Users\\pkwi\\mcstas-test\\20240617_1004_11\\mcstas-3.4.49_Windows\\ILL_H5_new\\ILL_H5_new.instr --> Added COMPONENT H53_ThALES_Monochromator USERVAR ncol_25 with type int --> Added COMPONENT H53_ThALES_Monochromator USERVAR nrow_25 with type int --> Added COMPONENT PG2Xtal USERVAR ncol_37 with type int --> Added COMPONENT PG2Xtal USERVAR nrow_37 with type int --> Added COMPONENT H521_D16_Monochromator USERVAR ncol_114 with type int --> Added COMPONENT H521_D16_Monochromator USERVAR nrow_114 with type int --> Added COMPONENT H521_SADAM_Monochromator USERVAR ncol_130 with type int --> Added COMPONENT H521_SADAM_Monochromator USERVAR nrow_130 with type int 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_ThALES_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 WASP_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 WASP_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 WASP_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 WASP_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 WASP_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 10, 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 11, 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 12, 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_ThALES_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 66, H523_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 67, H521_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 68, H522_origin --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL WARNING: --> JUMP found at COMPONENT 115, H521_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 254, 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 255, H51_split_1 --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL ----------------------------------------------------------- CFLAGS= DEBUG: CMD: C:\mcstas-3.4.49\bin\mcstas finished INFO: Recompiling: ILL_H5_new.exe DEBUG: CMD: mpicc.bat -o ILL_H5_new.exe ILL_H5_new.c -DUSE_MPI -lmsmpi -flto -O3 -mtune=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm (base) C:\Users\pkwi\mcstas-test\20240617_1004_11\mcstas-3.4.49_Windows\ILL_H5_new>gcc -o ILL_H5_new.exe ILL_H5_new.c -DUSE_MPI -lmsmpi -flto -O3 -mtune=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm -lmsmpi -IC:\mcstas-3.4.49\bin\\..\miniconda3\Library\Include -L"C:\mcstas-3.4.49\bin\\..\miniconda3\Library\lib ILL_H5_new.c: In function 'mcuse_dir': ILL_H5_new.c:3874:8: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if(mkdir(dirname, 0777)) { ^ ILL_H5_new.c: In function 'class_Pol_guide_vmirror_init': ILL_H5_new.c:44378:16: warning: passing argument 2 of 'Table_Read' from incompatible pointer type [-Wincompatible-pointer-types] #define rPar (_comp->_parameters.rPar) ^ ILL_H5_new.c:44443:28: note: in expansion of macro 'rPar' if (Table_Read(&rParPtr, rPar, 1) <= 0) { ^ ILL_H5_new.c:7065:8: note: expected 'char *' but argument is of type 'MCNUM * {aka double *}' long Table_Read(t_Table *Table, char *File, long block_number) ^ ILL_H5_new.c:44379:18: warning: passing argument 2 of 'Table_Read' from incompatible pointer type [-Wincompatible-pointer-types] #define rUpPar (_comp->_parameters.rUpPar) ^ ILL_H5_new.c:44448:30: note: in expansion of macro 'rUpPar' if (Table_Read(&rUpParPtr, rUpPar, 1) <= 0) { ^ ILL_H5_new.c:7065:8: note: expected 'char *' but argument is of type 'MCNUM * {aka double *}' long Table_Read(t_Table *Table, char *File, long block_number) ^ ILL_H5_new.c:44380:20: warning: passing argument 2 of 'Table_Read' from incompatible pointer type [-Wincompatible-pointer-types] #define rDownPar (_comp->_parameters.rDownPar) ^ ILL_H5_new.c:44453:32: note: in expansion of macro 'rDownPar' if (Table_Read(&rDownParPtr, rDownPar, 1) <= 0) { ^ ILL_H5_new.c:7065:8: note: expected 'char *' but argument is of type 'MCNUM * {aka double *}' long Table_Read(t_Table *Table, char *File, long block_number) ^ DEBUG: CMD: mpicc.bat finished INFO: ===