INFO: No output directory specified (--dir) INFO: Using directory: "Test_Mask_20250130_163022" INFO: Regenerating c-file: Test_Mask.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./Test_Mask.c Test_Mask.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: ./Test_Mask.out DEBUG: CMD: nvc -o ./Test_Mask.out ./Test_Mask.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 nvc-Warning- The -gpu=[no]managed option is deprecated; please use -gpu=mem:managed or -gpu=mem:separate instead "./Test_Mask.c", line 4484: 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_Mask.c", line 6607: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./Test_Mask.c", line 6780: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./Test_Mask.c", line 8727: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Mask.c", line 8715: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Mask.c", line 8768: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Mask.c", line 8842: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Mask.c", line 8905: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Mask.c", line 8964: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Mask.c", line 9120: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./Test_Mask.c", line 9233: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./Test_Mask.c", line 9233: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./Test_Mask.c", line 9234: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_Mask.c", line 9234: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_Mask.c", line 9234: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_Mask.c", line 9430: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_Mask.c", line 9679: warning: variable "kk" was declared but never referenced [declared_but_not_referenced] double kk,theta_x,theta_y,l,e,k; ^ "./Test_Mask.c", line 9856: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./Test_Mask.c", line 9857: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./Test_Mask.c", line 11097: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Mask.c", line 11098: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Mask.c", line 1492: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Mask.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: 4105, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4536, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4547, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4556, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4568, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4580, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4590, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4600, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4608, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4618, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4640, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4647, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4693, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4728, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4739, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4756, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4767, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4783, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4812, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4823, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4827, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5004, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5035, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5052, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5151, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5235, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5301, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5378, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5650, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5660, Generating acc routine seq Generating NVIDIA GPU code _hash: 5686, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5727, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5738, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5743, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5751, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5759, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5766, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6408, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6441, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6502, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6518, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6604, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6672, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7811, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7879, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7958, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8426, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8442, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8460, Generating acc routine seq Generating NVIDIA GPU code init: 9508, Generating update device(_src_var,_psd1_var,_maske_var,_instrument_var,_psd0_var,_Origin_var) class_Progress_bar_trace: 9549, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 9640, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 9836, Generating acc routine seq Generating NVIDIA GPU code class_Mask_trace: 9927, Generating acc routine seq Generating NVIDIA GPU code raytrace: 10008, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 10168, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 10182, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 10168, Local memory used for .inl_particle_10097,particleN,.inl_.inl_mcphoton_0_10113,.inl_.X1844_10115,.inl_.inl_.X2041_13_10114 10182, Generating implicit firstprivate(seed,_particle) finally: 10619, Generating update self(_src_var,_psd1_var,_maske_var,_instrument_var,_psd0_var,_Origin_var) mcenabletrace: 5885, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===