INFO: No output directory specified (--dir) INFO: Using directory: "RTP_NeutronRadiography_20241118_022718" INFO: Regenerating c-file: RTP_NeutronRadiography.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./RTP_NeutronRadiography.c RTP_NeutronRadiography.instr CFLAGS= WARNING: The parameter format of sample_outer1 is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- 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: ./RTP_NeutronRadiography.out DEBUG: CMD: nvc -o ./RTP_NeutronRadiography.out ./RTP_NeutronRadiography.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./RTP_NeutronRadiography.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 " "./RTP_NeutronRadiography.c", line 10902: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./RTP_NeutronRadiography.c", line 10902: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./RTP_NeutronRadiography.c", line 10929: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./RTP_NeutronRadiography.c", line 10929: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./RTP_NeutronRadiography.c", line 11257: 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; ^ "./RTP_NeutronRadiography.c", line 11257: 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; ^ "./RTP_NeutronRadiography.c", line 11257: 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; ^ "./RTP_NeutronRadiography.c", line 11257: 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; ^ "./RTP_NeutronRadiography.c", line 11257: 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; ^ "./RTP_NeutronRadiography.c", line 11257: 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; ^ "./RTP_NeutronRadiography.c", line 11614: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./RTP_NeutronRadiography.c", line 13293: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./RTP_NeutronRadiography.c", line 13281: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./RTP_NeutronRadiography.c", line 13334: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./RTP_NeutronRadiography.c", line 13424: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./RTP_NeutronRadiography.c", line 13486: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./RTP_NeutronRadiography.c", line 13548: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./RTP_NeutronRadiography.c", line 13650: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./RTP_NeutronRadiography.c", line 13699: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./RTP_NeutronRadiography.c", line 13748: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./RTP_NeutronRadiography.c", line 13841: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./RTP_NeutronRadiography.c", line 13934: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./RTP_NeutronRadiography.c", line 14027: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./RTP_NeutronRadiography.c", line 14129: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./RTP_NeutronRadiography.c", line 14231: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./RTP_NeutronRadiography.c", line 14333: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./RTP_NeutronRadiography.c", line 16323: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./RTP_NeutronRadiography.c", line 16324: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./RTP_NeutronRadiography.c", line 16327: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./RTP_NeutronRadiography.c", line 16330: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./RTP_NeutronRadiography.c", line 16334: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./RTP_NeutronRadiography.c", line 16336: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./RTP_NeutronRadiography.c", line 16337: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./RTP_NeutronRadiography.c", line 16338: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./RTP_NeutronRadiography.c", line 16340: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./RTP_NeutronRadiography.c", line 18859: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./RTP_NeutronRadiography.c", line 18860: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./RTP_NeutronRadiography.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./RTP_NeutronRadiography.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: 7723, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7791, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7870, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8338, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8354, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8372, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8419, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 8524, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 8583, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9898, Generating acc routine seq Generating NVIDIA GPU code off_F: 11214, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11219, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11229, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11255, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11318, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11449, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11494, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11611, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11729, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11741, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11776, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12027, Generating acc routine seq Generating NVIDIA GPU code merge: 12034, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12138, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12153, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12207, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12324, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12346, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 12842, Generating acc routine seq Generating NVIDIA GPU code init: 15450, Generating update device(_CoarseCollimator2_var,_source_var,_sample_position_var,_CoarseCollimator1_var,_instrument_var,_sample_position_rotated_var,_sample_outer2_var,_sample_inner_var,_reactor_var,_sample_outer1_var,_image_plate_eff_var,_Origin_var,_image_plate_ideal_var,_lmon_var,_image_plate_scattered_var) class_Progress_bar_trace: 15493, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 15583, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 15792, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 15945, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 16245, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 16275, Generating acc routine seq Generating NVIDIA GPU code class_Shape_trace: 16755, Generating acc routine seq Generating NVIDIA GPU code raytrace: 16806, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 17140, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 17154, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 17140, Local memory used for .inl_particle_17521,particleN,.inl_.inl_mcneutron_0_17536,.inl_.X2173_17538,.inl_.inl_.X2380_15_17537 17154, Generating implicit firstprivate(seed,_particle) finally: 17961, Generating update self(_CoarseCollimator2_var,_sample_position_var,_source_var,_CoarseCollimator1_var,_instrument_var,_sample_position_rotated_var,_sample_outer2_var,_sample_inner_var,_reactor_var,_sample_outer1_var,_image_plate_eff_var,_Origin_var,_image_plate_ideal_var,_lmon_var,_image_plate_scattered_var) mcenabletrace: 5894, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvcVs9llnLK40zL9.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-11-18/McStas_8GPU_openacc_5e6_Linux_5e6/RTP_NeutronRadiography/./RTP_NeutronRadiography.c:12567: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===