INFO: No output directory specified (--dir) INFO: Using directory: "templateNMX_TOF_20240919_040003" INFO: Regenerating c-file: templateNMX_TOF.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./templateNMX_TOF.c templateNMX_TOF.instr CFLAGS= WARNING: The parameter mosaic_AB 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. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component sample ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./templateNMX_TOF.out DEBUG: CMD: mpicc -o ./templateNMX_TOF.out ./templateNMX_TOF.c -DUSE_MPI -lmpi -Wl,-rpath,/usr/lib -L/usr/lib -DUSE_NEXUS -lNeXus -I/usr/include/nexus -fno-PIC -fPIE -flto -O3 -mtune=native -march=native -fno-math-errno -ftree-vectorize -g -DNDEBUG -D_POSIX_SOURCE -std=c99 -lm ./templateNMX_TOF.c: In function ‘cif2hkl’: ./templateNMX_TOF.c:10512:38: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] if(!ext || ext == infile) return infile; ^~~~~~ ./templateNMX_TOF.c:10521:41: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] && strcasecmp(ext, "res")) return infile; ^~~~~~ ./templateNMX_TOF.c:10524:26: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] if (!OUTFILE) return infile; ^~~~~~ ./templateNMX_TOF.c: In function ‘strcpy_valid’: ./templateNMX_TOF.c:2907:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(valid, original, n); ^ ./templateNMX_TOF.c:2905:11: note: length computed here if (n > strlen(original)) n = strlen(original); ^ /tmp/ccn9aKDi.ltrans0.ltrans.o: In function `read_hkl_data.constprop.28': /home/nexmap/pkwi/TESTS/2024-09-19/mcstas-3.x-dev_NeXus_mpi_x_16_1e7_Linux/templateNMX_TOF/./templateNMX_TOF.c:10526: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===