INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H5_new_20250506_031801" INFO: Regenerating c-file: ILL_H5_new.c DEBUG: CMD: /home/runner/work/McCode/McCode/install_mcstas/bin/mcstas -t -o ./ILL_H5_new.c 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 CFLAGS= 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 ----------------------------------------------------------- DEBUG: CMD: /home/runner/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./ILL_H5_new.out DEBUG: CMD: mpicc -o ./ILL_H5_new.out ./ILL_H5_new.c -lm -DUSE_MPI -lmpi -O2 -g -DNDEBUG -I${CONDA_PREFIX}/include -Wl,-rpath,${CONDA_PREFIX}/lib -L${CONDA_PREFIX}/lib -fno-PIC -fPIE -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./ILL_H5_new.c: In function ‘class_Guide_tapering_init’: ./ILL_H5_new.c:56361:19: warning: initialization of ‘char *’ from incompatible pointer type ‘int *’ [-Wincompatible-pointer-types] 56361 | char *ret=&dymmy; | ^ ./ILL_H5_new.c: In function ‘class_Pol_guide_vmirror_init’: ./ILL_H5_new.c:57303:63: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘MCNUM *’ {aka ‘double *’} [-Wformat=] 57303 | fprintf(stderr,"Pol_guide_vmirror: %s: can not read file %s\n", | ~^ | | | char * ./ILL_H5_new.c:57308:63: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘MCNUM *’ {aka ‘double *’} [-Wformat=] 57308 | fprintf(stderr,"Pol_guide_vmirror: %s: can not read file %s\n", | ~^ | | | char * ./ILL_H5_new.c:57313:63: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘MCNUM *’ {aka ‘double *’} [-Wformat=] 57313 | fprintf(stderr,"Pol_guide_vmirror: %s: can not read file %s\n", | ~^ | | | char * ./ILL_H5_new.c: In function ‘detector_import’: ./ILL_H5_new.c:2529:57: warning: ‘ ’ directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 2529 | snprintf(detector.variables, CHAR_BUF_LENGTH, "%s %s %s_err N", detector.xvar, c, c); | ^ In file included from /usr/include/stdio.h:980, from ./ILL_H5_new.c:327: In function ‘snprintf’, inlined from ‘detector_import’ at ./ILL_H5_new.c:2529:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 9 or more bytes (assuming 1032) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘Open_File’: ./ILL_H5_new.c:7346:41: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7346 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_H5_new.c:7346:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘Open_File’: ./ILL_H5_new.c:7361:41: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7361 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_H5_new.c:7361:13: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘Open_File’: ./ILL_H5_new.c:7369:37: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7369 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_H5_new.c:7369:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘Open_File’: ./ILL_H5_new.c:7375:35: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 7375 | snprintf(path, 1024, "%s%c%s%c%s", dir, MC_PATHSEP_C, "data", MC_PATHSEP_C, File); | ^~ ~~~~~~ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_H5_new.c:7375:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 7 or more bytes (assuming 1030) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘Open_File’: ./ILL_H5_new.c:7381:35: warning: ‘%s’ directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 7381 | snprintf(path, 1024, "%s%c%s%c%s", dir, MC_PATHSEP_C, "contrib", MC_PATHSEP_C, File); | ^~ ~~~~~~~~~ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_H5_new.c:7381:9: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output 10 or more bytes (assuming 1033) into a destination of size 1024 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘off_display’: ./ILL_H5_new.c:10102:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 10102 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes 10102 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./ILL_H5_new.c:10102:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 1066 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘off_display’: ./ILL_H5_new.c:10102:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 10102 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes 10102 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./ILL_H5_new.c:10102:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 1066 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘off_display’: ./ILL_H5_new.c:10102:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 10102 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes 10102 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes ./ILL_H5_new.c:10102:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./ILL_H5_new.c:10102:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 7 and 1066 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_H5_new.c: In function ‘Monitor_nD_Init’: ./ILL_H5_new.c:10987:33: warning: ‘%li’ directive writing between 1 and 20 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 10987 | sprintf(Vars->Mon_File, "%s_%li", Vars->compcurname, t); | ^~~ In function ‘sprintf’, inlined from ‘Monitor_nD_Init’ at ./ILL_H5_new.c:10987:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 3 and 149 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccKMn7La.ltrans3.ltrans.o: in function `read_line_data.part.0': /home/runner/work/McCode/McCode/run_test-suite/mcstas-3.99.99_mpi_x_2_ubuntu-latest_mpich_clang_Linux/ILL_H5_new/./ILL_H5_new.c:10222:(.text+0xbfa9): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===