INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H10_IN8_20241222_002803" INFO: Regenerating c-file: ILL_H10_IN8.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_H10_IN8.c ILL_H10_IN8.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_H10_IN8.out DEBUG: CMD: nvc -o ./ILL_H10_IN8.out ./ILL_H10_IN8.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 "./ILL_H10_IN8.c", line 4512: 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_H10_IN8.c", line 10796: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H10_IN8.c", line 10796: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H10_IN8.c", line 10823: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H10_IN8.c", line 10823: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H10_IN8.c", line 11151: 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_H10_IN8.c", line 11151: 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_H10_IN8.c", line 11151: 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_H10_IN8.c", line 11151: 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_H10_IN8.c", line 11151: 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_H10_IN8.c", line 11151: 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_H10_IN8.c", line 11508: 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_H10_IN8.c", line 12999: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_H10_IN8.c", line 12978: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_H10_IN8.c", line 12979: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_H10_IN8.c", line 12890: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_H10_IN8.c", line 12890: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_H10_IN8.c", line 14754: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H10_IN8.c", line 14742: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_H10_IN8.c", line 14839: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H10_IN8.c", line 14795: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_H10_IN8.c", line 14896: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H10_IN8.c", line 14881: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_H10_IN8.c", line 14941: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H10_IN8.c", line 14938: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_H10_IN8.c", line 14983: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_H10_IN8.c", line 15032: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_H10_IN8.c", line 15109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_H10_IN8.c", line 15158: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_H10_IN8.c", line 15260: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_H10_IN8.c", line 15321: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_H10_IN8.c", line 15423: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_H10_IN8.c", line 15520: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_H10_IN8.c", line 15569: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_H10_IN8.c", line 15671: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_H10_IN8.c", line 15732: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_H10_IN8.c", line 15781: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_H10_IN8.c", line 15858: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_H10_IN8.c", line 15907: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_H10_IN8.c", line 15968: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_H10_IN8.c", line 18673: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_H10_IN8.c", line 18674: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H10_IN8.c", line 18674: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_H10_IN8.c", line 21766: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H10_IN8.c", line 21767: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H10_IN8.c", line 1520: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H10_IN8.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: 4133, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4564, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4575, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4584, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4596, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4608, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4618, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4628, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4636, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4646, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4675, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4721, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4756, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4767, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4784, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4795, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4811, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4840, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4851, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4855, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5032, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5063, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5080, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5179, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5263, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5329, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5406, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5678, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5688, Generating acc routine seq Generating NVIDIA GPU code _hash: 5714, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5755, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5771, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5779, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5787, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5794, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6453, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6489, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6549, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6566, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6681, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6736, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7881, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7949, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8028, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8496, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8512, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8530, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8577, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 8586, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9777, Generating acc routine seq Generating NVIDIA GPU code off_F: 11108, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11113, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11123, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11149, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11212, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11343, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11388, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11505, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11623, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11635, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11670, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11921, Generating acc routine seq Generating NVIDIA GPU code merge: 11928, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12032, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12047, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12101, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12218, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12240, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 12780, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 12817, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 12853, Generating acc routine seq Generating NVIDIA GPU code init: 17214, Generating update device(OpenACC) 17551, 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: 17594, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 17684, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 17893, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 17967, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18312, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 18602, Generating acc routine seq Generating NVIDIA GPU code 18921, 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: 19228, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19307, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 19720, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 19734, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 19720, Local memory used for .inl_particle_22453,particleN,.inl_.inl_mcneutron_0_22468,.inl_.X2391_22470,.inl_.inl_.X2594_15_22469 19734, Generating implicit firstprivate(seed,_particle) finally: 20809, 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: 5913, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatBn82drFwkFDtt.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: ===