INFO: No output directory specified (--dir) INFO: Using directory: "NBI_Lab_TOMO_20241123_061441" INFO: Regenerating c-file: NBI_Lab_TOMO.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./NBI_Lab_TOMO.c NBI_Lab_TOMO.instr Info: 'Detector_pn' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace finished INFO: Recompiling: ./NBI_Lab_TOMO.out DEBUG: CMD: nvc -o ./NBI_Lab_TOMO.out ./NBI_Lab_TOMO.c -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -L/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./NBI_Lab_TOMO.c", line 4476: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./NBI_Lab_TOMO.c", line 6599: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./NBI_Lab_TOMO.c", line 6772: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./NBI_Lab_TOMO.c", line 8768: 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; ^ "./NBI_Lab_TOMO.c", line 8768: 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; ^ "./NBI_Lab_TOMO.c", line 8768: 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; ^ "./NBI_Lab_TOMO.c", line 8768: 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; ^ "./NBI_Lab_TOMO.c", line 8768: 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; ^ "./NBI_Lab_TOMO.c", line 8768: 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; ^ "./NBI_Lab_TOMO.c", line 9125: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./NBI_Lab_TOMO.c", line 10345: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./NBI_Lab_TOMO.c", line 10333: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./NBI_Lab_TOMO.c", line 10409: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./NBI_Lab_TOMO.c", line 10386: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./NBI_Lab_TOMO.c", line 10451: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./NBI_Lab_TOMO.c", line 10512: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./NBI_Lab_TOMO.c", line 10574: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./NBI_Lab_TOMO.c", line 10636: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./NBI_Lab_TOMO.c", line 10697: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./NBI_Lab_TOMO.c", line 10746: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./NBI_Lab_TOMO.c", line 10811: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./NBI_Lab_TOMO.c", line 10872: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./NBI_Lab_TOMO.c", line 10934: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./NBI_Lab_TOMO.c", line 10996: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./NBI_Lab_TOMO.c", line 11061: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./NBI_Lab_TOMO.c", line 11188: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./NBI_Lab_TOMO.c", line 11255: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./NBI_Lab_TOMO.c", line 11312: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./NBI_Lab_TOMO.c", line 11400: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./NBI_Lab_TOMO.c", line 11938: warning: expression has no effect [expr_has_no_effect] 1; ^ "./NBI_Lab_TOMO.c", line 11974: warning: expression has no effect [expr_has_no_effect] 1; ^ "./NBI_Lab_TOMO.c", line 11900: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha,e,k,mu,mu0,delta,beta,f; ^ "./NBI_Lab_TOMO.c", line 11900: warning: variable "mu" was declared but never referenced [declared_but_not_referenced] double alpha,e,k,mu,mu0,delta,beta,f; ^ "./NBI_Lab_TOMO.c", line 11900: warning: variable "beta" was set but never used [set_but_not_used] double alpha,e,k,mu,mu0,delta,beta,f; ^ "./NBI_Lab_TOMO.c", line 11902: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,status=0; ^ "./NBI_Lab_TOMO.c", line 12047: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha,e,k,mu; ^ "./NBI_Lab_TOMO.c", line 13707: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./NBI_Lab_TOMO.c", line 13708: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./NBI_Lab_TOMO.c", line 1485: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./NBI_Lab_TOMO.c", line 2888: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 84, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 98, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 131, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 156, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 179, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 190, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 199, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 209, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1532, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1536, Generating acc routine seq Generating NVIDIA GPU code str_len: 1545, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4097, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4528, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4539, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4548, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4560, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4572, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4592, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4600, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4632, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4639, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4685, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4720, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4731, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4748, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4775, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4804, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4815, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4819, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 4996, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5027, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5044, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5143, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5227, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5293, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5370, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5642, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5652, Generating acc routine seq Generating NVIDIA GPU code _hash: 5678, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5719, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5730, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5735, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5743, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5751, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5758, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6400, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6433, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6494, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6510, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6596, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6664, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7819, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7887, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7966, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8434, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8450, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8468, Generating acc routine seq Generating NVIDIA GPU code off_F: 8725, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8730, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8740, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8766, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8829, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8960, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 9005, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9122, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9240, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9252, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9287, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9538, Generating acc routine seq Generating NVIDIA GPU code merge: 9545, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9649, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 9664, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 9718, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9835, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9857, Generating acc routine seq Generating NVIDIA GPU code filter_refract: 9990, Generating acc routine seq Generating NVIDIA GPU code init: 11554, Generating update device(_Detector_Si_var,_source_var,_sample_mnt_var,_e_mon2_var,_filter_Al_var,_emonef_var,_emon0_var,_king_var,_instrument_var,_Origin_var,_filter_Be_var,_filterAl_var,_e_mon1_var,_filter_air_var) class_Progress_bar_trace: 11595, Generating acc routine seq Generating NVIDIA GPU code class_Source_pt_trace: 11686, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 11803, Generating acc routine seq Generating NVIDIA GPU code class_Filter_trace: 11878, Generating acc routine seq Generating NVIDIA GPU code class_Detector_pn_trace: 12024, Generating acc routine seq Generating NVIDIA GPU code raytrace: 12120, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 12432, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 12446, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 12432, Local memory used for .inl_particle_14643,particleN,.inl_.inl_mcphoton_0_14659,.inl_.X1909_14661,.inl_.inl_.X2109_13_14660 12446, Generating implicit firstprivate(seed,_particle) finally: 13130, Generating update self(_Detector_Si_var,_source_var,_sample_mnt_var,_e_mon2_var,_filter_Al_var,_emonef_var,_emon0_var,_king_var,_instrument_var,_Origin_var,_filter_Be_var,_filterAl_var,_e_mon1_var,_filter_air_var) mcenabletrace: 5877, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafat4DvmfOXW2uus_.o: missing .note.GNU-stack section implies executable stack /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker DEBUG: CMD: nvc finished INFO: ===