INFO: No output directory specified (--dir) INFO: Using directory: "templateNMX_TOF_20220401_005410" INFO: Regenerating c-file: templateNMX_TOF.c DEBUG: CMD: mcstas -t -o ./templateNMX_TOF.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas-2.x_CPU_MPICC_5e7/templateNMX_TOF/templateNMX_TOF.instr Info: Defining SPLIT from sample=Single_crystal() to END in instrument templateNMX_TOF CFLAGS= INFO: Recompiling: ./templateNMX_TOF.out DEBUG: CMD: mpicc -o ./templateNMX_TOF.out ./templateNMX_TOF.c -lm -DUSE_MPI -g -lm -O2 -DUSE_MPI -lmpi /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp: In function ‘mcinit’: ./templateNMX_TOF.c:8787:35: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:35: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:39: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:39: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:43: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:43: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:47: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:47: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:51: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:51: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:55: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:55: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:59: warning: excess elements in scalar initializer /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ ./templateNMX_TOF.c:8787:59: note: (near initialization for ‘mosaic_ABin’) /* Definition parameters for component 'sample' [5]. */ ^ ./templateNMX_TOF.c:10331:19: note: in expansion of macro ‘mccsample_mosaic_AB’ #define mccompcurindex 5 ^~~~~~ /home/nexmap/pkwi/McStas/mcstas/2.x-dev/tools/Python/mcrun/../mccodelib/../../../samples/Single_crystal.comp:1024:25: note: in expansion of macro ‘mosaic_AB’ double* mosaic_ABin = mosaic_AB; ^~~~~~~~~ INFO: === loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas-2.x_CPU_MPICC/mccode_config.json