INFO: No output directory specified (--dir) INFO: Using directory: "NCrystal_example_20220401_011015" INFO: Regenerating c-file: NCrystal_example.c DEBUG: CMD: mcstas -t -o ./NCrystal_example.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_PGCC_TESLA_KISS_5e7/NCrystal_example/NCrystal_example.instr Info: 'NCrystal_sample' is a contributed component. CFLAGS= -Wl,-rpath,@MCCODE_LIB@/libs -L@MCCODE_LIB@/libs -lNCrystal -I@MCCODE_LIB@/include -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component monochromator is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component monochromator -> GPU kernel from component mono_out Component powder_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component powder_sample -> GPU kernel from component powder_pattern_detc ----------------------------------------------------------- INFO: Recompiling: ./NCrystal_example.out DEBUG: CMD: nvc -o ./NCrystal_example.out ./NCrystal_example.c -lm -ta:tesla,managed -DOPENACC -Wl,-rpath,/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs -L/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs -lNCrystal -I/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../include -DFUNNEL "./NCrystal_example.c", line 4119: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./NCrystal_example.c", line 4038: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./NCrystal_example.c", line 6004: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" } ^ "./NCrystal_example.c", line 10975: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./NCrystal_example.c", line 10976: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./NCrystal_example.c", line 12770: warning: variable "_particle_save" was set but never used _class_particle _particle_save; ^ "./NCrystal_example.c", line 13507: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./NCrystal_example.c", line 13447: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./NCrystal_example.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./NCrystal_example.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ INFO: === loading system configuration loading override configuration from /zhome/89/0/38697/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_PGCC_TESLA_KISS/mccode_config.json