INFO: No output directory specified (--dir) INFO: Using directory: "Tomography_20241222_023618" INFO: Regenerating c-file: Tomography.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Tomography.c Tomography.instr CFLAGS= -DUSE_OFF ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Tomography.out DEBUG: CMD: nvc -o ./Tomography.out ./Tomography.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/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -DUSE_OFF "./Tomography.c", line 4487: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Tomography.c", line 8681: 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; ^ "./Tomography.c", line 8681: 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; ^ "./Tomography.c", line 8681: 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; ^ "./Tomography.c", line 8681: 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; ^ "./Tomography.c", line 8681: 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; ^ "./Tomography.c", line 8681: 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; ^ "./Tomography.c", line 9038: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Tomography.c", line 12113: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Tomography.c", line 12113: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Tomography.c", line 12140: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Tomography.c", line 12140: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Tomography.c", line 12462: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Tomography.c", line 12450: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Tomography.c", line 12503: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Tomography.c", line 12564: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Tomography.c", line 12613: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Tomography.c", line 12696: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Tomography.c", line 13569: warning: variable "l_i" was set but never used [set_but_not_used] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./Tomography.c", line 13569: warning: variable "l_o" was declared but never referenced [declared_but_not_referenced] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./Tomography.c", line 15250: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Tomography.c", line 15251: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Tomography.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Tomography.c", line 2898: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 158, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 180, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 191, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 200, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 210, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4108, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4539, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4550, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4559, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4593, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4603, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4611, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4621, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4643, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4650, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4696, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4731, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4742, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4770, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4786, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4815, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4826, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4830, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5007, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5038, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5055, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5154, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5238, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5304, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5381, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5653, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5663, Generating acc routine seq Generating NVIDIA GPU code _hash: 5689, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5730, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5741, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5746, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5754, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5762, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5769, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6428, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6464, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6524, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6541, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6656, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6711, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7735, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7803, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7882, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8350, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8366, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8384, Generating acc routine seq Generating NVIDIA GPU code off_F: 8638, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8643, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8653, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8679, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8742, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8873, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 8918, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9035, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9153, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9165, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9200, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9451, Generating acc routine seq Generating NVIDIA GPU code merge: 9458, Generating acc routine seq Generating NVIDIA GPU code gpusort: 9519, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9562, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 9577, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 9631, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9748, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9770, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 11094, Generating acc routine seq Generating NVIDIA GPU code init: 13298, Generating update device(_source_var,_samplearm_var,_sample_var,_monitor_var,_instrument_var,_Origin_var) class_Progress_bar_trace: 13341, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 13431, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 13529, Generating acc routine seq Generating NVIDIA GPU code 13726, Reference argument passing prevents parallelization: solid_angle 13729, Reference argument passing prevents parallelization: solid_angle class_Monitor_nD_trace: 13828, Generating acc routine seq Generating NVIDIA GPU code raytrace: 14122, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 14266, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 14280, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 14266, Local memory used for .inl_particle_12553,particleN,.inl_.inl_mcneutron_0_12568,.inl_.X2062_12570,.inl_.inl_.X2264_15_12569 14280, Generating implicit firstprivate(seed,_particle) finally: 14728, Generating update self(_source_var,_samplearm_var,_sample_var,_monitor_var,_instrument_var,_Origin_var) mcenabletrace: 5888, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafat_DYte63wwcNKb.o: missing .note.GNU-stack section implies executable stack /u/data/pkwi/McStas/mcstas/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: ===