INFO: No output directory specified (--dir) INFO: Using directory: "Test_grating_trans_20240701_132417" INFO: Regenerating c-file: Test_grating_trans.c DEBUG: CMD: /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/bin/mcxtrace -t -o ./Test_grating_trans.c /home/nexmap/pkwi/xTESTS/2024-07-01/McXtrace_8GPU_Linux_5e6/Test_grating_trans/Test_grating_trans.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_grating_trans.out DEBUG: CMD: nvc -o ./Test_grating_trans.out ./Test_grating_trans.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 "./Test_grating_trans.c", line 4258: 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_grating_trans.c", line 6373: warning: variable "ret" was declared but never referenced [declared_but_not_referenced] int ret=1,stat=0,plane_stat=0; ^ "./Test_grating_trans.c", line 6546: warning: variable "D" was declared but never referenced [declared_but_not_referenced] double A,B,C,D,k; ^ "./Test_grating_trans.c", line 8480: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_grating_trans.c", line 8468: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_grating_trans.c", line 8510: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_grating_trans.c", line 8573: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_grating_trans.c", line 8611: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_grating_trans.c", line 8667: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_grating_trans.c", line 8723: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_grating_trans.c", line 8868: warning: variable "status" was set but never used [set_but_not_used] int status=0; ^ "./Test_grating_trans.c", line 8985: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_grating_trans.c", line 9068: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./Test_grating_trans.c", line 9068: warning: variable "j" was declared but never referenced [declared_but_not_referenced] int i,j; ^ "./Test_grating_trans.c", line 9069: warning: variable "p1" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_grating_trans.c", line 9069: warning: variable "p2" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_grating_trans.c", line 9069: warning: variable "p3" was declared but never referenced [declared_but_not_referenced] double *p1,*p2,*p3; ^ "./Test_grating_trans.c", line 9330: warning: variable "kk" was declared but never referenced [declared_but_not_referenced] double kk,theta_x,theta_y,l,e,k; ^ "./Test_grating_trans.c", line 9520: warning: variable "M" was set but never used [set_but_not_used] int M; ^ "./Test_grating_trans.c", line 9673: warning: variable "k" was declared but never referenced [declared_but_not_referenced] int i,j,k; ^ "./Test_grating_trans.c", line 9674: warning: variable "e" was declared but never referenced [declared_but_not_referenced] double e,p2; ^ "./Test_grating_trans.c", line 10874: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_grating_trans.c", line 10875: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_grating_trans.c", line 1480: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_grating_trans.c", line 2872: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 81, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 95, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 128, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 153, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 176, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 187, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 196, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 206, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1520, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1524, Generating acc routine seq Generating NVIDIA GPU code str_len: 1533, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 3880, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4310, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4321, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4330, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4342, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4354, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4364, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4374, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4382, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4392, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4414, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4421, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4467, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4502, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4513, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4530, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4541, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4557, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4586, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4597, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4601, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 4778, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 4809, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 4826, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 4925, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5009, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5075, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5152, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5424, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5434, Generating acc routine seq Generating NVIDIA GPU code _hash: 5460, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5501, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5512, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5517, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5525, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5533, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5540, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6174, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6207, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6268, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6284, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6370, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6438, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7569, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7637, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7716, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8154, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8170, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8188, Generating acc routine seq Generating NVIDIA GPU code init: 9150, Generating update device(_instrument_var,_src_div_var,_psd_giant_var,_MEG_1_var,_HEG4_var,_origin_var,_MEG_1a_var) class_Progress_bar_trace: 9193, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 9291, Generating acc routine seq Generating NVIDIA GPU code class_Grating_trans_trace: 9494, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 9653, Generating acc routine seq Generating NVIDIA GPU code raytrace: 9755, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 9923, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 9934, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 9923, Local memory used for .inl_particle_10302,particleN,.inl_.inl_mcphoton_0_10318,.inl_.X1860_10320,.inl_.inl_.X2058_13_10319 9934, Generating implicit firstprivate(seed,_particle) finally: 10365, Generating update self(_instrument_var,_psd_giant_var,_src_div_var,_MEG_1_var,_HEG4_var,_origin_var,_MEG_1a_var) mcenabletrace: 5656, Generating update device(mcdotrace) /u/data/pkwi/McXtrace/mcxtrace/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatUWx9bkOggY4Zu.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: ===