loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_CPU_PGCC_MULTICORE_KISS/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "NCrystal_example_20221101_014846" INFO: Regenerating c-file: NCrystal_example.c DEBUG: CMD: mcstas -t -o ./NCrystal_example.c /home/nexmap/pkwi/TESTS/2022-11-01/McStas_CPU_PGCC_MULTICORE_KISS_1e7/NCrystal_example/NCrystal_example.instr Info: 'NCrystal_sample' is a contributed component. CFLAGS= -Wl,-rpath,CMD(ncrystal-config --show libdir) -LCMD(ncrystal-config --show libdir) -lNCrystal -ICMD(ncrystal-config --show includedir) -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=multicore -Minfo=accel -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/libs -L/u/data/pkwi/McStas/mcstas/3.x-dev/libs -lNCrystal -I/u/data/pkwi/McStas/mcstas/3.x-dev/include -DFUNNEL "./NCrystal_example.c", line 4254: warning: variable "randstate" was declared but never referenced unsigned long randstate[7]; ^ "./NCrystal_example.c", line 4173: warning: variable "newlen" was declared but never referenced long newlen = 0; ^ "./NCrystal_example.c", line 6140: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" } ^ "./NCrystal_example.c", line 11111: warning: variable "tc2" was set but never used Coords tc1, tc2; ^ "./NCrystal_example.c", line 12919: warning: variable "_particle_save" was set but never used _class_particle _particle_save; ^ "./NCrystal_example.c", line 13609: warning: variable "t" was declared but never referenced time_t t; ^ "./NCrystal_example.c", line 13610: warning: variable "ct" was set but never used clock_t ct; ^ "./NCrystal_example.c", line 1337: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./NCrystal_example.c", line 2636: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ sort_absorb_last: 4177, Generating Multicore code 4184, #pragma acc loop gang 4195, Accelerator restriction: induction variable live-out from loop: i 4196, Accelerator restriction: induction variable live-out from loop: i 4197, Accelerator restriction: induction variable live-out from loop: i 4198, Accelerator restriction: induction variable live-out from loop: i 4200, Accelerator restriction: induction variable live-out from loop: j 4201, Accelerator restriction: induction variable live-out from loop: j 4202, Accelerator restriction: induction variable live-out from loop: j 4203, Accelerator restriction: induction variable live-out from loop: j 4225, Generating Multicore code 4229, #pragma acc loop gang 4232, Accelerator restriction: size of the GPU copy of particles is unknown 4249, Generating Multicore code 4253, #pragma acc loop gang raytrace_all_funnel: 12840, Generating Multicore code 12844, #pragma acc loop gang 12851, Generating Multicore code 12856, #pragma acc loop gang 12914, Generating Multicore code 12917, #pragma acc loop gang 12949, Generating Multicore code 12952, #pragma acc loop gang INFO: ===