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 INFO: No output directory specified (--dir) INFO: Using directory: "mini_20220901_025939" INFO: Regenerating c-file: mini.c DEBUG: CMD: mcstas -t -o ./mini.c /zhome/89/0/38697/TESTS/2022-09-01/McStas_GPU_PGCC_TESLA_KISS_5e7/mini/mini.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./mini.out DEBUG: CMD: nvc -o ./mini.out ./mini.c -lm -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./mini.c", line 6099: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./mini.c", line 6100: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./mini.c", line 7473: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./mini.c", line 7413: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./mini.c", line 1273: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./mini.c", line 2514: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating Tesla code particle_getvar: 102, Generating acc routine seq Generating Tesla code particle_setvar: 126, Generating acc routine seq Generating Tesla code particle_restore: 137, Generating acc routine seq Generating Tesla code particle_getuservar_byid: 145, Generating acc routine seq Generating Tesla code particle_uservar_init: 155, Generating acc routine seq Generating Tesla code noprintf: 1305, Generating acc routine seq Generating Tesla code str_comp: 1309, Generating acc routine seq Generating Tesla code str_len: 1318, Generating acc routine seq Generating Tesla code mcget_ncount: 3492, Generating acc routine seq Generating Tesla code coords_set: 3729, Generating acc routine seq Generating Tesla code coords_get: 3740, Generating acc routine seq Generating Tesla code coords_add: 3749, Generating acc routine seq Generating Tesla code coords_sub: 3761, Generating acc routine seq Generating Tesla code coords_neg: 3773, Generating acc routine seq Generating Tesla code coords_scale: 3783, Generating acc routine seq Generating Tesla code coords_sp: 3793, Generating acc routine seq Generating Tesla code coords_xp: 3801, Generating acc routine seq Generating Tesla code coords_len: 3811, Generating acc routine seq Generating Tesla code coords_print: 3833, Generating acc routine seq Generating Tesla code coords_norm: 3840, Generating acc routine seq Generating Tesla code rot_set_rotation: 3886, Generating acc routine seq Generating Tesla code rot_test_identity: 3921, Generating acc routine seq Generating Tesla code rot_mul: 3932, Generating acc routine seq Generating Tesla code rot_copy: 3949, Generating acc routine seq Generating Tesla code rot_transpose: 3960, Generating acc routine seq Generating Tesla code rot_apply: 3976, Generating acc routine seq Generating Tesla code vec_prod_func: 4005, Generating acc routine seq Generating Tesla code scalar_prod: 4016, Generating acc routine seq Generating Tesla code norm_func: 4020, Generating acc routine seq Generating Tesla code mccoordschange: 4197, Generating acc routine seq Generating Tesla code mccoordschange_polarisation: 4228, Generating acc routine seq Generating Tesla code normal_vec: 4245, Generating acc routine seq Generating Tesla code solve_2nd_order: 4344, Generating acc routine seq Generating Tesla code _randvec_target_circle: 4428, Generating acc routine seq Generating Tesla code _randvec_target_rect_angular: 4494, Generating acc routine seq Generating Tesla code _randvec_target_rect_real: 4571, Generating acc routine seq Generating Tesla code kiss_srandom: 4843, Generating acc routine seq Generating Tesla code kiss_random: 4853, Generating acc routine seq Generating Tesla code _hash: 4879, Generating acc routine seq Generating Tesla code _randnorm2: 4920, Generating acc routine seq Generating Tesla code _randtriangle: 4931, Generating acc routine seq Generating Tesla code _rand01: 4936, Generating acc routine seq Generating Tesla code _randpm1: 4944, Generating acc routine seq Generating Tesla code _rand0max: 4952, Generating acc routine seq Generating Tesla code _randminmax: 4959, Generating acc routine seq Generating Tesla code mcsetstate: 5571, Generating acc routine seq Generating Tesla code inside_rectangle: 5663, Generating acc routine seq Generating Tesla code box_intersect: 5680, Generating acc routine seq Generating Tesla code cylinder_intersect: 5795, Generating acc routine seq Generating Tesla code sphere_intersect: 5850, Generating acc routine seq Generating Tesla code init: 6481, Generating update device(_source_var,_instrument_var,_arm_var,_coll2_var,_detector_var) class_Source_simple_trace: 6524, Generating acc routine seq Generating Tesla code class_Slit_trace: 6633, Generating acc routine seq Generating Tesla code class_PSD_monitor_trace: 6682, Generating acc routine seq Generating Tesla code raytrace: 6763, Generating acc routine seq Generating Tesla code raytrace_all: 6896, Generating Tesla code 6907, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 6896, Local memory used for particleN,..inline finally: 7164, Generating update self(_source_var,_instrument_var,_arm_var,_coll2_var,_detector_var) INFO: ===