INFO: No output directory specified (--dir) INFO: Using directory: "Focal_pt_monitor_20241123_063318" INFO: Regenerating c-file: Focal_pt_monitor.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./Focal_pt_monitor.c Focal_pt_monitor.instr 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: ./Focal_pt_monitor.out DEBUG: CMD: nvc -o ./Focal_pt_monitor.out ./Focal_pt_monitor.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 "./Focal_pt_monitor.c", line 4483: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Focal_pt_monitor.c", line 6606: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./Focal_pt_monitor.c", line 6779: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./Focal_pt_monitor.c", line 8814: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./Focal_pt_monitor.c", line 9816: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./Focal_pt_monitor.c", line 10331: warning: variable "y0" is used before its value is set [used_before_set] if (y0 < ymin) y0=ymin; ^ "./Focal_pt_monitor.c", line 10333: warning: variable "y1" is used before its value is set [used_before_set] if (y1 < ymin) y1=ymin; ^ "./Focal_pt_monitor.c", line 10705: 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; ^ "./Focal_pt_monitor.c", line 10705: 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; ^ "./Focal_pt_monitor.c", line 10705: 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; ^ "./Focal_pt_monitor.c", line 10705: 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; ^ "./Focal_pt_monitor.c", line 10705: 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; ^ "./Focal_pt_monitor.c", line 10705: 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; ^ "./Focal_pt_monitor.c", line 11062: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Focal_pt_monitor.c", line 12174: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Focal_pt_monitor.c", line 12162: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Focal_pt_monitor.c", line 12215: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Focal_pt_monitor.c", line 12284: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Focal_pt_monitor.c", line 12347: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Focal_pt_monitor.c", line 12396: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Focal_pt_monitor.c", line 12558: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./Focal_pt_monitor.c", line 12624: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./Focal_pt_monitor.c", line 13151: warning: variable "s2" was declared but never referenced [declared_but_not_referenced] double s2x,s2y,s2z,s2; ^ "./Focal_pt_monitor.c", line 13152: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double F,k,e,theta,alpha,delta; ^ "./Focal_pt_monitor.c", line 13266: warning: variable "s1" was declared but never referenced [declared_but_not_referenced] double g,h,s1,s2; ^ "./Focal_pt_monitor.c", line 13266: warning: variable "s2" was declared but never referenced [declared_but_not_referenced] double g,h,s1,s2; ^ "./Focal_pt_monitor.c", line 14660: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Focal_pt_monitor.c", line 14661: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Focal_pt_monitor.c", line 1492: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Focal_pt_monitor.c", line 2895: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 86, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 100, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 160, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 184, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 195, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 204, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 215, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1539, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1543, Generating acc routine seq Generating NVIDIA GPU code str_len: 1552, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4104, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4535, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4546, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4555, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4567, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4579, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4589, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4599, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4607, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4617, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4639, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4646, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4692, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4727, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4738, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4755, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4766, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4782, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4811, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4822, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4826, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5003, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5034, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5051, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5150, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5234, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5300, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5377, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5649, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5659, Generating acc routine seq Generating NVIDIA GPU code _hash: 5685, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5726, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5737, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5742, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5750, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5758, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5765, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6407, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6440, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6501, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6517, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6603, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6671, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7810, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7878, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7957, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8425, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8441, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8459, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9409, Generating acc routine seq Generating NVIDIA GPU code off_F: 10662, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10667, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10677, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10703, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10766, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 10897, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 10942, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11059, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11177, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11189, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11224, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11475, Generating acc routine seq Generating NVIDIA GPU code merge: 11482, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11586, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11601, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11655, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11772, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 11794, Generating acc routine seq Generating NVIDIA GPU code init: 12884, Generating update device(_lens_var,_source_var,_origin_var,_instrument_var,_fpt0_var,_fpt_var) class_Progress_bar_trace: 12925, Generating acc routine seq Generating NVIDIA GPU code class_Source_pt_trace: 13016, Generating acc routine seq Generating NVIDIA GPU code class_Lens_simple_trace: 13133, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 13240, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 13287, Generating acc routine seq Generating NVIDIA GPU code raytrace: 13511, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 13671, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 13685, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 13671, Local memory used for .inl_particle_12039,particleN,.inl_.inl_mcphoton_0_12055,.inl_.X1996_12057,.inl_.inl_.X2197_13_12056 13685, Generating implicit firstprivate(seed,_particle) finally: 14194, Generating update self(_lens_var,_origin_var,_source_var,_instrument_var,_fpt0_var,_fpt_var) mcenabletrace: 5884, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafat4RUrfOYrLux1z.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: ===