INFO: No output directory specified (--dir) INFO: Using directory: "Unittest_JUMP_ITERATE_20241121_024635" INFO: Regenerating c-file: Unittest_JUMP_ITERATE.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Unittest_JUMP_ITERATE.c Unittest_JUMP_ITERATE.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_ITERATE.out DEBUG: CMD: nvc -o ./Unittest_JUMP_ITERATE.out ./Unittest_JUMP_ITERATE.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Unittest_JUMP_ITERATE.c", line 4487: 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_ITERATE.c", line 6925: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_ITERATE.c", line 6922: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Unittest_JUMP_ITERATE.c", line 6969: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_ITERATE.c", line 6966: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Unittest_JUMP_ITERATE.c", line 7030: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_ITERATE.c", line 7011: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Unittest_JUMP_ITERATE.c", line 7075: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unittest_JUMP_ITERATE.c", line 7072: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Unittest_JUMP_ITERATE.c", line 8144: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Unittest_JUMP_ITERATE.c", line 8145: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Unittest_JUMP_ITERATE.c", line 1496: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Unittest_JUMP_ITERATE.c", line 2899: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 89, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 103, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 135, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 159, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 181, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 192, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 201, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 211, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1543, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1547, Generating acc routine seq Generating NVIDIA GPU code str_len: 1556, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4108, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4539, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4550, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4559, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4593, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4603, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4611, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4621, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4643, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4650, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4696, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4731, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4742, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4770, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4786, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4815, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4826, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4830, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5007, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5038, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5055, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5154, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5238, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5304, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5381, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5653, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5663, Generating acc routine seq Generating NVIDIA GPU code _hash: 5689, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5730, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5741, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5746, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5754, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5762, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5769, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6428, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6464, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6524, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6541, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6656, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6711, Generating acc routine seq Generating NVIDIA GPU code init: 7201, Generating update device(_PSD_var,_Jmp_var,_Arm_var,_instrument_var,_Return_var) class_Arm_trace: 7244, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 7276, Generating acc routine seq Generating NVIDIA GPU code raytrace: 7351, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 7490, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 7504, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 7490, Local memory used for .inl_particle_7499,particleN,.inl_.inl_mcneutron_0_7514,.inl_.X1730_7516,.inl_.inl_.X1918_15_7515 7504, Generating implicit firstprivate(seed,_particle) finally: 7818, Generating update self(_PSD_var,_Jmp_var,_Arm_var,_instrument_var,_Return_var) mcenabletrace: 5888, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===