INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN5_20250506_031914" INFO: Regenerating c-file: ILL_IN5.c DEBUG: CMD: /home/runner/work/McCode/McCode/install_mcstas/bin/mcstas -t -o ./ILL_IN5.c ILL_IN5.instr Info: 'PSD_Detector' is a contributed component. CFLAGS= WARNING: The parameter powder_format of 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 format of hous 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: ----------------------------------------------------------- DEBUG: CMD: /home/runner/work/McCode/McCode/install_mcstas/bin/mcstas finished INFO: Recompiling: ./ILL_IN5.out DEBUG: CMD: mpicc -o ./ILL_IN5.out ./ILL_IN5.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_IN5.c: In function ‘detector_import’: ./ILL_IN5.c:2474:57: warning: ‘ ’ directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] 2474 | 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_IN5.c:272: In function ‘snprintf’, inlined from ‘detector_import’ at ./ILL_IN5.c:2474: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_IN5.c: In function ‘Open_File’: ./ILL_IN5.c:7277:41: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7277 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_IN5.c:7277: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_IN5.c: In function ‘Open_File’: ./ILL_IN5.c:7292:41: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7292 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_IN5.c:7292: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_IN5.c: In function ‘Open_File’: ./ILL_IN5.c:7300:37: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 7300 | snprintf(path, 1024, "%s%c%s", dir, MC_PATHSEP_C, File); | ^ In function ‘snprintf’, inlined from ‘Open_File’ at ./ILL_IN5.c:7300: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_IN5.c: In function ‘Open_File’: ./ILL_IN5.c:7306:35: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 7306 | 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_IN5.c:7306: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_IN5.c: In function ‘Open_File’: ./ILL_IN5.c:7312:35: warning: ‘%s’ directive output may be truncated writing 7 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 7312 | 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_IN5.c:7312: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_IN5.c: In function ‘Monitor_nD_Init’: ./ILL_IN5.c:9280:33: warning: ‘%li’ directive writing between 1 and 20 bytes into a region of size between 0 and 127 [-Wformat-overflow=] 9280 | sprintf(Vars->Mon_File, "%s_%li", Vars->compcurname, t); | ^~~ In function ‘sprintf’, inlined from ‘Monitor_nD_Init’ at ./ILL_IN5.c:9280: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 ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘off_display’: ./ILL_IN5.c:12659:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 12659 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes 12659 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./ILL_IN5.c:12659: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_IN5.c: In function ‘off_display’: ./ILL_IN5.c:12659:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 12659 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes 12659 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./ILL_IN5.c:12659: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_IN5.c: In function ‘off_display’: ./ILL_IN5.c:12659:37: warning: ‘%g’ directive writing between 1 and 13 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 12659 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~ ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes 12659 | sprintf(pixelinfotmp, "%s,%g,%g,%g", pixelinfo, x2-cmx, y2-cmy, z2-cmz); | ^~~~~~~~~~~~~ ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes ./ILL_IN5.c:12659:33: note: assuming directive output of 12 bytes In function ‘sprintf’, inlined from ‘off_display’ at ./ILL_IN5.c:12659: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_IN5.c: In function ‘class_PSD_Detector_init’: ./ILL_IN5.c:19573:35: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 245 [-Wformat-overflow=] 19573 | sprintf(tmp, "Gas_tables%s%s", MC_PATHSEP_S, FN_Conv); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_init’ at ./ILL_IN5.c:19573:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 16395 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_init’: ./ILL_IN5.c:19578:35: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 245 [-Wformat-overflow=] 19578 | sprintf(tmp, "Gas_tables%s%s", MC_PATHSEP_S, FN_Stop); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_init’ at ./ILL_IN5.c:19578:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 16395 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_init’: ./ILL_IN5.c:19583:31: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 245 [-Wformat-overflow=] 19583 | sprintf(tmp, "Gas_tables%s%s", MC_PATHSEP_S, FN_Conv); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_init’ at ./ILL_IN5.c:19583:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 16395 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_init’: ./ILL_IN5.c:19588:31: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 245 [-Wformat-overflow=] 19588 | sprintf(tmp, "Gas_tables%s%s", MC_PATHSEP_S, FN_Stop); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_init’ at ./ILL_IN5.c:19588:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 16395 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_init’: ./ILL_IN5.c:19736:31: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 245 [-Wformat-overflow=] 19736 | sprintf(tmp, "Gas_tables%s%s", MC_PATHSEP_S, FN_Conv); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_init’ at ./ILL_IN5.c:19736:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 16395 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_init’: ./ILL_IN5.c:19749:31: warning: ‘%s’ directive writing up to 16383 bytes into a region of size 245 [-Wformat-overflow=] 19749 | sprintf(tmp, "Gas_tables%s%s", MC_PATHSEP_S, FN_Stop); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_init’ at ./ILL_IN5.c:19749:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 12 and 16395 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_save’: ./ILL_IN5.c:24211:22: warning: ‘%s’ directive writing up to 255 bytes into a region of size 128 [-Wformat-overflow=] 24211 | sprintf(file, "%s.dat", NAME_CURRENT_COMP); | ^~ In function ‘sprintf’, inlined from ‘class_PSD_Detector_save’ at ./ILL_IN5.c:24211:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 5 and 260 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 ()); | ~~~~~~~~~~~~~~~~~ ./ILL_IN5.c: In function ‘class_PSD_Detector_save’: ./ILL_IN5.c:24238:26: warning: ‘%s’ directive output may be truncated writing up to 16383 bytes into a region of size 128 [-Wformat-truncation=] 24238 | snprintf(file, 128, "%s.en", | ^~ In function ‘snprintf’, inlined from ‘class_PSD_Detector_save’ at ./ILL_IN5.c:24238:5: /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 16387 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccl7kQSL.ltrans2.ltrans.o: in function `read_line_data.part.0.constprop.0': /home/runner/work/McCode/McCode/run_test-suite/mcstas-3.99.99_mpi_x_2_ubuntu-latest_mpich_clang_Linux/ILL_IN5/./ILL_IN5.c:14484:(.text+0xcd7e): warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===