INFO: No output directory specified (--dir) INFO: Using directory: "ILL_SALSA_20240919_035152" INFO: Regenerating c-file: ILL_SALSA.c DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_SALSA.c ILL_SALSA.instr Info: 'Al_window' is a contributed component. Info: 'Monochromator_bent' is a contributed component. Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. WARNING: The parameter format of Al_pow 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 Monochromator_0 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_0 Component Monochromator_1 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_2 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_3 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_4 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_5 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_6 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_7 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_8 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_9 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_10 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_11 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_12 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_13 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_14 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_15 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_16 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_17 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_18 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_19 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_20 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_21 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_22 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_23 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_24 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_25 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_26 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_27 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_28 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_29 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_30 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_31 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_32 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_33 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_34 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_35 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_36 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_37 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_38 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> GPU kCFLAGS= -DFUNNEL -I@MCCODE_LIB@/share/ ernel from component arm_takeoff Component Sample_environment is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Sample_environment -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /home/nexmap/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_SALSA.out DEBUG: CMD: mpicc -o ./ILL_SALSA.out ./ILL_SALSA.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 -DFUNNEL -I/home/nexmap/pkwi/McStas/mcstas/3.x-dev/share/ ./ILL_SALSA.c: In function ‘class_Monochromator_bent_init’: ./ILL_SALSA.c:67118:42: warning: passing argument 1 of ‘stringToEnum’ from incompatible pointer type [-Wincompatible-pointer-types] enum crystal_plane plane = stringToEnum(&plane_of_reflection); ^ ./ILL_SALSA.c:9144:46: note: expected ‘const char *’ but argument is of type ‘char (*)[16384]’ enum crystal_plane stringToEnum(const char* plane) { ~~~~~~~~~~~~^~~~~ ./ILL_SALSA.c: In function ‘strcpy_valid’: ./ILL_SALSA.c:2907:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(valid, original, n); ^ ./ILL_SALSA.c:2905:11: note: length computed here if (n > strlen(original)) n = strlen(original); ^ DEBUG: CMD: mpicc finished INFO: ===