INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H13_IN20_20240919_003024" INFO: Regenerating c-file: ILL_H13_IN20.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_H13_IN20.c ILL_H13_IN20.instr CFLAGS= --> Added COMPONENT PG1Xtal USERVAR ncol_10 with type int --> Added COMPONENT PG1Xtal USERVAR nrow_10 with type int --> Added COMPONENT PG2Xtal USERVAR ncol_20 with type int --> Added COMPONENT PG2Xtal USERVAR nrow_20 with type int WARNING: The parameter powder_format of Sample 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: -> SPLIT N at component PG1Xtal -> SPLIT N at component Sample_Cradle -> SPLIT N at component PG2Xtal ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component PG1Xtal -> SPLIT within buffer at component Sample_Cradle -> SPLIT within buffer at component PG2Xtal ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_H13_IN20.out DEBUG: CMD: nvc -o ./ILL_H13_IN20.out ./ILL_H13_IN20.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H13_IN20.c", line 4511: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ILL_H13_IN20.c", line 10780: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H13_IN20.c", line 10780: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H13_IN20.c", line 10807: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H13_IN20.c", line 10807: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H13_IN20.c", line 11135: 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; ^ "./ILL_H13_IN20.c", line 11135: 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; ^ "./ILL_H13_IN20.c", line 11135: 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; ^ "./ILL_H13_IN20.c", line 11135: 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; ^ "./ILL_H13_IN20.c", line 11135: 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; ^ "./ILL_H13_IN20.c", line 11135: 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; ^ "./ILL_H13_IN20.c", line 11492: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./ILL_H13_IN20.c", line 12983: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_H13_IN20.c", line 12962: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_H13_IN20.c", line 12963: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_H13_IN20.c", line 12874: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_H13_IN20.c", line 12874: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_H13_IN20.c", line 14735: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H13_IN20.c", line 14723: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_H13_IN20.c", line 14820: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H13_IN20.c", line 14776: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_H13_IN20.c", line 14877: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H13_IN20.c", line 14862: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_H13_IN20.c", line 14922: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H13_IN20.c", line 14919: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_H13_IN20.c", line 14964: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_H13_IN20.c", line 15013: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_H13_IN20.c", line 15090: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_H13_IN20.c", line 15139: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_H13_IN20.c", line 15241: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_H13_IN20.c", line 15302: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_H13_IN20.c", line 15404: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_H13_IN20.c", line 15501: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_H13_IN20.c", line 15550: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_H13_IN20.c", line 15652: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_H13_IN20.c", line 15713: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_H13_IN20.c", line 15762: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_H13_IN20.c", line 15839: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_H13_IN20.c", line 15888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_H13_IN20.c", line 15949: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_H13_IN20.c", line 18647: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_H13_IN20.c", line 18648: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H13_IN20.c", line 18648: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H13_IN20.c", line 21709: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H13_IN20.c", line 21710: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H13_IN20.c", line 1520: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H13_IN20.c", line 2923: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 93, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 107, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 143, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 171, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 197, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 208, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 217, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 231, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1567, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1571, Generating acc routine seq Generating NVIDIA GPU code str_len: 1580, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4132, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4563, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4574, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4607, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4617, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4627, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4635, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4645, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4667, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4674, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4720, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4755, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4766, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4783, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4794, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4810, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4839, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4850, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4854, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5031, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5062, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5079, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5178, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5262, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5328, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5405, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5677, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5687, Generating acc routine seq Generating NVIDIA GPU code _hash: 5713, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5754, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5765, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5770, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5778, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5786, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5793, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6452, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6488, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6548, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6565, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6680, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6735, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7880, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7948, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8027, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8495, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8511, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8529, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8576, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 8585, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9776, Generating acc routine seq Generating NVIDIA GPU code off_F: 11092, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11097, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11107, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11133, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11196, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11327, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11372, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11489, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11607, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11619, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11654, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11905, Generating acc routine seq Generating NVIDIA GPU code merge: 11912, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12016, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12031, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12085, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12202, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12224, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 12764, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 12801, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 12837, Generating acc routine seq Generating NVIDIA GPU code init: 17195, Generating update device(OpenACC) 17523, Generating update device(_Mono_Out_var,_Sample_var,_PG2Xtal_var,_D7_SC3_1D_var,_He3H_var,_Origin_var,_Mono_Cradle_var,_Ana_Out_var,_SC1_var,_SC4_var,_Sample_Out_var,_Sample_Cradle_var,_D4_SC2_1D_var,_SC2_var,_PG1Xtal_var,_Ana_Cradle_var,_SC3_var,_Guide_out_var,_instrument_var,_Source_var) class_Progress_bar_trace: 17568, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 17658, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 17867, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 17941, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18286, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 18576, Generating acc routine seq Generating NVIDIA GPU code 18895, Reference argument passing prevents parallelization: u1z Reference argument passing prevents parallelization: u1y Reference argument passing prevents parallelization: u1x Reference argument passing prevents parallelization: solid_angle class_PSD_monitor_trace: 19202, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19281, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 19695, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 19706, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 19695, Local memory used for .inl_particle_22453,particleN,.inl_.inl_mcneutron_0_22468,.inl_.X2391_22470,.inl_.inl_.X2594_15_22469 19706, Generating implicit firstprivate(seed,_particle) finally: 20752, Generating update self(_Mono_Out_var,_Sample_var,_PG2Xtal_var,_D7_SC3_1D_var,_He3H_var,_Origin_var,_Mono_Cradle_var,_Ana_Out_var,_SC1_var,_SC4_var,_Sample_Out_var,_Sample_Cradle_var,_D4_SC2_1D_var,_SC2_var,_PG1Xtal_var,_Ana_Cradle_var,_SC3_var,_Guide_out_var,_instrument_var,_Source_var) mcenabletrace: 5912, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===