INFO: No output directory specified (--dir) INFO: Using directory: "Manual_example_20240919_041324" INFO: Regenerating c-file: Manual_example.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Manual_example.c Manual_example.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -I@MCCODE_LIB@/share/ -DFUNNEL WARNING: The parameter format of Al_powder 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: Component Master is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Master -> GPU kernel from component Banana_monitor ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Manual_example.out DEBUG: CMD: mpicc -o ./Manual_example.out ./Manual_example.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 -I/home/nexmap/pkwi/McStas/mcstas/3.x-dev/share/ -DFUNNEL ./Manual_example.c: In function ‘strcpy_valid’: ./Manual_example.c:2907:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(valid, original, n); ^ ./Manual_example.c:2905:11: note: length computed here if (n > strlen(original)) n = strlen(original); ^ DEBUG: CMD: mpicc finished INFO: ===