INFO: No output directory specified (--dir) INFO: Using directory: "External_component_20240919_041259" INFO: Regenerating c-file: External_component.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./External_component.c External_component.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. WARNING: The parameter format of cylinder_sample_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 test_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample -> GPU kernel from component cylinder_sample_powder Component test_sample_after is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample_after -> GPU kernel from component m4pi ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./External_component.out DEBUG: CMD: mpicc -o ./External_component.out ./External_component.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 ./External_component.c: In function ‘strcpy_valid’: ./External_component.c:2926:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(valid, original, n); ^ ./External_component.c:2924:11: note: length computed here if (n > strlen(original)) n = strlen(original); ^ /tmp/ccjl4i9M.ltrans0.ltrans.o: In function `read_line_data.part.36.constprop.28': /home/nexmap/pkwi/TESTS/2024-09-19/mcstas-3.x-dev_NeXus_mpi_x_16_1e7_Linux/External_component/./External_component.c:38765: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: mpicc finished INFO: ===