INFO: No output directory specified (--dir) INFO: Using directory: "ILL_D4_20240919_002637" INFO: Regenerating c-file: ILL_D4.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_D4.c ILL_D4.instr CFLAGS= --> Added COMPONENT Monok USERVAR ncol_6 with type int --> Added COMPONENT Monok USERVAR nrow_6 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 Monok -> SPLIT N at component Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Monok -> SPLIT within buffer at component Sample ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_D4.out DEBUG: CMD: nvc -o ./ILL_D4.out ./ILL_D4.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_D4.c", line 4499: 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_D4.c", line 10650: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D4.c", line 10650: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D4.c", line 10677: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D4.c", line 10677: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D4.c", line 11005: 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_D4.c", line 11005: 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_D4.c", line 11005: 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_D4.c", line 11005: 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_D4.c", line 11005: 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_D4.c", line 11005: 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_D4.c", line 11362: 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_D4.c", line 12853: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_D4.c", line 12832: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_D4.c", line 12833: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_D4.c", line 12744: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_D4.c", line 12744: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_D4.c", line 14381: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_D4.c", line 14369: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_D4.c", line 14422: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_D4.c", line 14512: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_D4.c", line 14577: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_D4.c", line 14643: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_D4.c", line 14692: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_D4.c", line 14769: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_D4.c", line 14818: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_D4.c", line 14884: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_D4.c", line 14986: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_D4.c", line 15080: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_D4.c", line 15182: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_D4.c", line 17687: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_D4.c", line 17688: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_D4.c", line 17688: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_D4.c", line 20542: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_D4.c", line 20543: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_D4.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_D4.c", line 2911: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 91, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 139, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 165, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 189, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 200, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 209, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 221, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1555, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1559, Generating acc routine seq Generating NVIDIA GPU code str_len: 1568, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4120, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4551, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4615, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4633, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4662, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4708, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4743, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4754, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4771, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4782, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4798, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4827, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4838, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4842, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5019, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5050, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5067, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5166, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5250, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5316, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5393, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5665, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5675, Generating acc routine seq Generating NVIDIA GPU code _hash: 5701, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5742, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5758, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5774, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5781, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6440, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6476, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6536, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6553, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6723, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7750, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7818, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7897, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8365, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8381, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8399, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8446, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 8455, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9646, Generating acc routine seq Generating NVIDIA GPU code off_F: 10962, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10967, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10977, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11003, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11066, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11197, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11242, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11359, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11477, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11489, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11524, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11775, Generating acc routine seq Generating NVIDIA GPU code merge: 11782, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11886, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11901, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11955, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12072, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12094, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 12634, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 12671, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 12707, Generating acc routine seq Generating NVIDIA GPU code init: 16493, Generating update device(_Monok_var,_Sample_var,_Origin_var,_BananaTheta_var,_instrument_var,_Lmon2_var,_mono_out_var,_mono_cradle_var,_Lmon1_var,_PSD_var,_Sample_mon_var,_BananaPSD_var,_Source_var) class_Progress_bar_trace: 16538, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 16628, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 16837, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 16908, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 16981, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 17326, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 17616, Generating acc routine seq Generating NVIDIA GPU code 17935, 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 raytrace: 18257, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 18567, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 18578, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 18567, Local memory used for .inl_particle_20099,particleN,.inl_.inl_mcneutron_0_20114,.inl_.X2274_20116,.inl_.inl_.X2477_15_20115 18578, Generating implicit firstprivate(seed,_particle) finally: 19622, Generating update self(_Monok_var,_Sample_var,_Origin_var,_BananaTheta_var,_instrument_var,_Lmon2_var,_mono_out_var,_mono_cradle_var,_Lmon1_var,_PSD_var,_Sample_mon_var,_BananaPSD_var,_Source_var) mcenabletrace: 5900, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===