INFO: No output directory specified (--dir) INFO: Using directory: "ATHENA_1pore_20241123_054937" INFO: Regenerating c-file: ATHENA_1pore.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./ATHENA_1pore.c ATHENA_1pore.instr CFLAGS= -DDATPATH=GETPATH(data/) WARNING: --> USERVAR nid is of type long long and may need specific --> per-particle initialisation through an --> EXTEND block! ----------------------------------------------------------- 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: ./ATHENA_1pore.out --> pointing path data/ to /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/data DEBUG: CMD: nvc -o ./ATHENA_1pore.out ./ATHENA_1pore.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 -DDATPATH=/u/data/pkwi/McXtrace/mcxtrace/3.x-dev/data "./ATHENA_1pore.c", line 4512: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ATHENA_1pore.c", line 6635: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./ATHENA_1pore.c", line 6808: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./ATHENA_1pore.c", line 8604: warning: variable "C0" was set but never used [set_but_not_used] double alpha,thetap,thetah,P,d,e,C0; ^ "./ATHENA_1pore.c", line 8988: warning: integer conversion resulted in a change of sign [integer_sign_change] Vars->OFF_polyidx = -1; ^ "./ATHENA_1pore.c", line 9990: warning: variable "ratio" was set but never used [set_but_not_used] double ratio; ^ "./ATHENA_1pore.c", line 10505: warning: variable "y0" is used before its value is set [used_before_set] if (y0 < ymin) y0=ymin; ^ "./ATHENA_1pore.c", line 10507: warning: variable "y1" is used before its value is set [used_before_set] if (y1 < ymin) y1=ymin; ^ "./ATHENA_1pore.c", line 10879: 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; ^ "./ATHENA_1pore.c", line 10879: 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; ^ "./ATHENA_1pore.c", line 10879: 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; ^ "./ATHENA_1pore.c", line 10879: 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; ^ "./ATHENA_1pore.c", line 10879: 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; ^ "./ATHENA_1pore.c", line 10879: 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; ^ "./ATHENA_1pore.c", line 11236: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ATHENA_1pore.c", line 12549: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ATHENA_1pore.c", line 12537: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ATHENA_1pore.c", line 12590: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ATHENA_1pore.c", line 12639: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ATHENA_1pore.c", line 12713: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ATHENA_1pore.c", line 12762: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ATHENA_1pore.c", line 12825: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ATHENA_1pore.c", line 12874: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ATHENA_1pore.c", line 12923: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ATHENA_1pore.c", line 12997: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ATHENA_1pore.c", line 13060: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ATHENA_1pore.c", line 13134: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ATHENA_1pore.c", line 13197: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ATHENA_1pore.c", line 13293: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ATHENA_1pore.c", line 13389: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ATHENA_1pore.c", line 13452: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ATHENA_1pore.c", line 13515: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ATHENA_1pore.c", line 13578: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ATHENA_1pore.c", line 13641: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ATHENA_1pore.c", line 13830: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./ATHENA_1pore.c", line 13943: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./ATHENA_1pore.c", line 13943: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./ATHENA_1pore.c", line 13944: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./ATHENA_1pore.c", line 13944: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./ATHENA_1pore.c", line 13944: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./ATHENA_1pore.c", line 14239: warning: variable "C0" was set but never used [set_but_not_used] double alpha,thetap,thetah,P,d,e,C0; ^ "./ATHENA_1pore.c", line 14930: warning: variable "kk" was declared but never referenced [declared_but_not_referenced] double kk,theta_x,theta_y,l,e,k; ^ "./ATHENA_1pore.c", line 15107: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./ATHENA_1pore.c", line 15108: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./ATHENA_1pore.c", line 15258: warning: variable "wx" was declared but never referenced [declared_but_not_referenced] double wx,wy,wz; ^ "./ATHENA_1pore.c", line 15258: warning: variable "wy" was declared but never referenced [declared_but_not_referenced] double wx,wy,wz; ^ "./ATHENA_1pore.c", line 15258: warning: variable "wz" was declared but never referenced [declared_but_not_referenced] double wx,wy,wz; ^ "./ATHENA_1pore.c", line 15248: warning: variable "i_small" was set but never used [set_but_not_used] int i_small; ^ "./ATHENA_1pore.c", line 15252: warning: variable "nx" was declared but never referenced [declared_but_not_referenced] double nx,ny,nz; ^ "./ATHENA_1pore.c", line 15252: warning: variable "ny" was declared but never referenced [declared_but_not_referenced] double nx,ny,nz; ^ "./ATHENA_1pore.c", line 15252: warning: variable "nz" was declared but never referenced [declared_but_not_referenced] double nx,ny,nz; ^ "./ATHENA_1pore.c", line 15225: warning: variable "dl" was declared but never referenced [declared_but_not_referenced] double tmpt,tmpx,tmpy, dl; ^ "./ATHENA_1pore.c", line 15519: warning: variable "wx" was declared but never referenced [declared_but_not_referenced] double wx,wy,wz; ^ "./ATHENA_1pore.c", line 15519: warning: variable "wy" was declared but never referenced [declared_but_not_referenced] double wx,wy,wz; ^ "./ATHENA_1pore.c", line 15519: warning: variable "wz" was declared but never referenced [declared_but_not_referenced] double wx,wy,wz; ^ "./ATHENA_1pore.c", line 15509: warning: variable "i_small" was set but never used [set_but_not_used] int i_small; ^ "./ATHENA_1pore.c", line 15513: warning: variable "nx" was declared but never referenced [declared_but_not_referenced] double nx,ny,nz; ^ "./ATHENA_1pore.c", line 15513: warning: variable "ny" was declared but never referenced [declared_but_not_referenced] double nx,ny,nz; ^ "./ATHENA_1pore.c", line 15513: warning: variable "nz" was declared but never referenced [declared_but_not_referenced] double nx,ny,nz; ^ "./ATHENA_1pore.c", line 15490: warning: variable "dl" was declared but never referenced [declared_but_not_referenced] double tmpt,tmpx,tmpy, dl; ^ "./ATHENA_1pore.c", line 17929: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ATHENA_1pore.c", line 17930: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ATHENA_1pore.c", line 1521: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ATHENA_1pore.c", line 2924: 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: 144, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 175, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 204, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 215, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 224, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 240, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1568, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1572, Generating acc routine seq Generating NVIDIA GPU code str_len: 1581, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4133, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4564, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4575, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4584, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4596, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4608, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4618, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4628, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4636, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4646, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4675, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4721, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4756, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4767, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4784, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4795, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4811, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4840, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4851, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4855, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5032, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5063, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5080, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5179, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5263, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5329, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5406, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5678, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5688, Generating acc routine seq Generating NVIDIA GPU code _hash: 5714, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5755, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5771, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5779, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5787, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5794, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6436, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6469, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6530, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6546, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6632, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6700, Generating acc routine seq Generating NVIDIA GPU code plane_intersect: 6786, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7887, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7955, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8034, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8502, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8518, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8536, Generating acc routine seq Generating NVIDIA GPU code intersect_paraboloid: 8554, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_hyperboloid: 8603, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9583, Generating acc routine seq Generating NVIDIA GPU code off_F: 10836, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10841, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10851, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10877, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 10940, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11071, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11116, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11233, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11351, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11363, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11398, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11649, Generating acc routine seq Generating NVIDIA GPU code merge: 11656, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11760, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11775, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11829, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 11946, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 11968, Generating acc routine seq Generating NVIDIA GPU code init: 14585, Generating update device(alphax) 14689, Generating update device(_FLmond_var,_src_var,_paramon_var,_srca_var,_detector_post_optics_var,_midopdet_var,_Pore_p_1_var,_Pore_h_1_var,_instrument_var,_Origin_var,_big_detector_var,_optics_centre_var,_focal_detector_var,_a_1_var,_detector_pre_optics_var,_srcoffaxis_var,_ultrafocal_detector_var,_superfocal_detector_var,_hypermon_var) class_Progress_bar_trace: 14730, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 14842, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 14891, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 15087, Generating acc routine seq Generating NVIDIA GPU code class_Pore_p_trace: 15178, Generating acc routine seq Generating NVIDIA GPU code class_Pore_h_trace: 15443, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 15704, Generating acc routine seq Generating NVIDIA GPU code raytrace: 15933, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 16336, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 16350, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 16336, Local memory used for .inl_particle_21098,particleN,.inl_.inl_mcphoton_0_21114,.inl_.X2144_21116,.inl_.inl_.X2347_13_21115 16350, Generating implicit firstprivate(seed,_particle) finally: 17111, Generating update self(_FLmond_var,_src_var,_paramon_var,_srca_var,_detector_post_optics_var,_midopdet_var,_Pore_p_1_var,_Pore_h_1_var,_instrument_var,_Origin_var,_big_detector_var,_optics_centre_var,_focal_detector_var,_a_1_var,_detector_pre_optics_var,_srcoffaxis_var,_ultrafocal_detector_var,_superfocal_detector_var,_hypermon_var) mcenabletrace: 5913, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatxkkfffq2aJWYd.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: ===