INFO: No output directory specified (--dir) INFO: Using directory: "Test_Jump_Iterate_20241118_024139" INFO: Regenerating c-file: Test_Jump_Iterate.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Jump_Iterate.c Test_Jump_Iterate.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: WARNING: --> JUMP found at COMPONENT 9, CG_2_out --> 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: ./Test_Jump_Iterate.out DEBUG: CMD: nvc -o ./Test_Jump_Iterate.out ./Test_Jump_Iterate.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Test_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 " "./Test_Jump_Iterate.c", line 9003: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Jump_Iterate.c", line 9003: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Jump_Iterate.c", line 9030: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Jump_Iterate.c", line 9030: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Jump_Iterate.c", line 10927: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Test_Jump_Iterate.c", line 10927: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Test_Jump_Iterate.c", line 10927: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Test_Jump_Iterate.c", line 10927: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Test_Jump_Iterate.c", line 10927: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Test_Jump_Iterate.c", line 10927: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Test_Jump_Iterate.c", line 11284: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_Jump_Iterate.c", line 12941: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Jump_Iterate.c", line 12929: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Jump_Iterate.c", line 12982: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Jump_Iterate.c", line 13046: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Jump_Iterate.c", line 13095: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Jump_Iterate.c", line 13197: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Jump_Iterate.c", line 13299: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_Jump_Iterate.c", line 13387: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_Jump_Iterate.c", line 13436: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_Jump_Iterate.c", line 13524: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_Jump_Iterate.c", line 13626: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_Jump_Iterate.c", line 13675: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_Jump_Iterate.c", line 13777: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_Jump_Iterate.c", line 16796: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Jump_Iterate.c", line 16797: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Jump_Iterate.c", line 1496: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_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 Monitor_nD_Trace: 7999, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9981, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10049, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10128, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10596, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10612, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10630, Generating acc routine seq Generating NVIDIA GPU code off_F: 10884, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10889, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10899, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10925, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10988, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11119, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11164, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11281, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11399, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11411, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11446, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11697, Generating acc routine seq Generating NVIDIA GPU code merge: 11704, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11808, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11823, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11877, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11994, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12016, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 12240, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 12299, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 12565, Generating acc routine seq Generating NVIDIA GPU code init: 14429, Generating update device(_Mon_LambdaX_Out_var,_Origin_var,_CG_2_var,_Mon_LambdaDX_Out_var,_CG_Out_var,_CG_1_var,_CG_2_out_var,_CG_2_Position_var,_CG_In_var,_Mon_LambdaX_In_var,_Mon_LambdaDX_In_var,_instrument_var,_Source_var) class_Progress_bar_trace: 14472, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 14562, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 14665, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 14955, Generating acc routine seq Generating NVIDIA GPU code 15088, Reference argument passing prevents parallelization: dt raytrace: 15229, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 15507, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 15521, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 15507, Local memory used for .inl_particle_15238,particleN,.inl_.inl_mcneutron_0_15253,.inl_.X2088_15255,.inl_.inl_.X2291_15_15254 15521, Generating implicit firstprivate(seed,_particle) finally: 16167, Generating update self(_Mon_LambdaX_Out_var,_Origin_var,_CG_2_var,_Mon_LambdaDX_Out_var,_CG_Out_var,_CG_1_var,_CG_2_out_var,_CG_2_Position_var,_CG_In_var,_Mon_LambdaX_In_var,_Mon_LambdaDX_In_var,_instrument_var,_Source_var) mcenabletrace: 5888, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===