INFO: No output directory specified (--dir) INFO: Using directory: "ISIS_Prisma2_20240919_014939" INFO: Regenerating c-file: ISIS_Prisma2.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ISIS_Prisma2.c ISIS_Prisma2.instr CFLAGS= ----------------------------------------------------------- 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: ./ISIS_Prisma2.out DEBUG: CMD: nvc -o ./ISIS_Prisma2.out ./ISIS_Prisma2.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ISIS_Prisma2.c", line 4493: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ISIS_Prisma2.c", line 8697: 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; ^ "./ISIS_Prisma2.c", line 8697: 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; ^ "./ISIS_Prisma2.c", line 8697: 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; ^ "./ISIS_Prisma2.c", line 8697: 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; ^ "./ISIS_Prisma2.c", line 8697: 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; ^ "./ISIS_Prisma2.c", line 8697: 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; ^ "./ISIS_Prisma2.c", line 9054: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ISIS_Prisma2.c", line 12137: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ISIS_Prisma2.c", line 12137: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ISIS_Prisma2.c", line 12164: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ISIS_Prisma2.c", line 12164: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ISIS_Prisma2.c", line 12757: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ISIS_Prisma2.c", line 12741: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ISIS_Prisma2.c", line 12798: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ISIS_Prisma2.c", line 12856: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ISIS_Prisma2.c", line 12923: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ISIS_Prisma2.c", line 12981: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ISIS_Prisma2.c", line 13039: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ISIS_Prisma2.c", line 13097: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ISIS_Prisma2.c", line 13155: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ISIS_Prisma2.c", line 13235: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ISIS_Prisma2.c", line 13284: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ISIS_Prisma2.c", line 13342: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ISIS_Prisma2.c", line 13403: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ISIS_Prisma2.c", line 13461: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ISIS_Prisma2.c", line 13510: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ISIS_Prisma2.c", line 13572: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ISIS_Prisma2.c", line 13634: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ISIS_Prisma2.c", line 13696: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ISIS_Prisma2.c", line 13758: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ISIS_Prisma2.c", line 13820: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ISIS_Prisma2.c", line 13882: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ISIS_Prisma2.c", line 13944: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ISIS_Prisma2.c", line 13993: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ISIS_Prisma2.c", line 14051: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ISIS_Prisma2.c", line 14109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ISIS_Prisma2.c", line 14174: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ISIS_Prisma2.c", line 14276: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ISIS_Prisma2.c", line 14378: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ISIS_Prisma2.c", line 14480: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ISIS_Prisma2.c", line 14582: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ISIS_Prisma2.c", line 14684: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ISIS_Prisma2.c", line 14786: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./ISIS_Prisma2.c", line 14888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./ISIS_Prisma2.c", line 14990: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./ISIS_Prisma2.c", line 16276: 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 */ ^ "./ISIS_Prisma2.c", line 16276: 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 */ ^ "./ISIS_Prisma2.c", line 19801: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ISIS_Prisma2.c", line 19802: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ISIS_Prisma2.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ISIS_Prisma2.c", line 2905: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 90, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 104, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 137, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 162, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 185, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 196, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 205, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 216, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1549, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1553, Generating acc routine seq Generating NVIDIA GPU code str_len: 1562, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4114, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4545, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4556, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4565, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4577, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4589, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4599, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4609, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4617, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4627, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4649, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4656, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4702, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4737, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4748, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4765, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4776, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4792, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4821, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4832, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4836, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5013, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5044, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5061, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5160, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5244, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5310, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5387, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5659, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5669, Generating acc routine seq Generating NVIDIA GPU code _hash: 5695, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5736, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5747, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5752, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5760, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5768, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5775, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6434, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6470, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6530, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6547, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6662, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6717, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7751, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7819, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7898, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8366, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8382, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8400, Generating acc routine seq Generating NVIDIA GPU code off_F: 8654, Generating acc routine seq Generating NVIDIA GPU code off_sign: 8659, Generating acc routine seq Generating NVIDIA GPU code off_normal: 8669, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 8695, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 8758, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 8889, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 8934, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 9051, Generating acc routine seq Generating NVIDIA GPU code off_compare: 9169, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 9181, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 9216, Generating acc routine seq Generating NVIDIA GPU code Min_int: 9467, Generating acc routine seq Generating NVIDIA GPU code merge: 9474, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 9578, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 9593, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 9647, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 9764, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 9786, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 11133, Generating acc routine seq Generating NVIDIA GPU code init: 15925, Generating update device(_instrument_var,_mod_var,_tof_test_var,_slit2_var,_modslit_var,_sample_var,_slit1_var,_mon1_var,_rita_ana_var,_Detector_var,_mon2_var,_ana7_var,_mon3_var,_psd_var,_a3_var,_ana1_var,_ana2_var,_ana3_var,_ana4_var,_ana5_var,_ana6_var,_a2_var,_mon4_var,_mon5_var,_mon9_var,_Detector7_var,_Detector1_var,_Detector2_var,_Detector3_var,_Detector4_var,_Detector5_var,_Detector6_var,_mon6_var,_coll2_var) class_Moderator_trace: 15970, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 16053, Generating acc routine seq Generating NVIDIA GPU code class_TOF_monitor_trace: 16097, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_trace: 16178, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 16236, Generating acc routine seq Generating NVIDIA GPU code 16433, Reference argument passing prevents parallelization: solid_angle 16436, Reference argument passing prevents parallelization: solid_angle class_Collimator_linear_trace: 16535, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_flat_trace: 16609, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 16819, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16890, Generating acc routine seq Generating NVIDIA GPU code raytrace: 17185, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 17893, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 17904, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 17893, Local memory used for .inl_particle_22181,particleN,.inl_.inl_mcneutron_0_22196,.inl_.X2187_22198,.inl_.inl_.X2388_15_22197 17904, Generating implicit firstprivate(seed,_particle) finally: 18909, Generating update self(_instrument_var,_mod_var,_tof_test_var,_slit2_var,_modslit_var,_sample_var,_slit1_var,_mon1_var,_rita_ana_var,_Detector_var,_mon2_var,_ana7_var,_mon3_var,_psd_var,_a3_var,_ana1_var,_ana2_var,_ana3_var,_ana4_var,_ana5_var,_ana6_var,_a2_var,_mon4_var,_mon5_var,_mon9_var,_Detector7_var,_Detector1_var,_Detector2_var,_Detector3_var,_Detector4_var,_Detector5_var,_Detector6_var,_mon6_var,_coll2_var) mcenabletrace: 5894, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===