INFO: No output directory specified (--dir) INFO: Using directory: "Unittest_JUMP_WHEN_20240919_024156" INFO: Regenerating c-file: Unittest_JUMP_WHEN.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Unittest_JUMP_WHEN.c Unittest_JUMP_WHEN.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: WARNING: --> JUMP found at COMPONENT 4, Jmp --> JUMPS are not supported in FUNNEL mode and are ignored --> Your instrument may give different output with FUNNEL ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Unittest_JUMP_WHEN.out DEBUG: CMD: nvc -o ./Unittest_JUMP_WHEN.out ./Unittest_JUMP_WHEN.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Unittest_JUMP_WHEN.c", line 4499: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Unittest_JUMP_WHEN.c", line 6937: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_WHEN.c", line 6934: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Unittest_JUMP_WHEN.c", line 6981: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_WHEN.c", line 6978: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Unittest_JUMP_WHEN.c", line 7042: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_WHEN.c", line 7023: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Unittest_JUMP_WHEN.c", line 7087: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_WHEN.c", line 7084: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Unittest_JUMP_WHEN.c", line 8171: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Unittest_JUMP_WHEN.c", line 8172: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Unittest_JUMP_WHEN.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Unittest_JUMP_WHEN.c", line 2911: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 91, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 139, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 165, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 189, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 200, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 209, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 221, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1555, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1559, Generating acc routine seq Generating NVIDIA GPU code str_len: 1568, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4120, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4551, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4615, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4633, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4662, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4708, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4743, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4754, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4771, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4782, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4798, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4827, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4838, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4842, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5019, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5050, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5067, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5166, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5250, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5316, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5393, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5665, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5675, Generating acc routine seq Generating NVIDIA GPU code _hash: 5701, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5742, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5758, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5774, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5781, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6440, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6476, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6536, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6553, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6723, Generating acc routine seq Generating NVIDIA GPU code init: 7213, Generating update device(_PSD_var,_Jmp_var,_Arm_var,_instrument_var,_Return_var) class_Arm_trace: 7258, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 7306, Generating acc routine seq Generating NVIDIA GPU code raytrace: 7383, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 7524, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 7535, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 7524, Local memory used for .inl_particle_7553,particleN,.inl_.inl_mcneutron_0_7568,.inl_.X1731_7570,.inl_.inl_.X1919_15_7569 7535, Generating implicit firstprivate(seed,_particle) finally: 7843, Generating update self(_PSD_var,_Jmp_var,_Arm_var,_instrument_var,_Return_var) mcenabletrace: 5900, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===