INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN6_20240919_014041" INFO: Regenerating c-file: ILL_IN6.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_IN6.c ILL_IN6.instr CFLAGS= --> Added COMPONENT Mono1 USERVAR ncol_5 with type int --> Added COMPONENT Mono1 USERVAR nrow_5 with type int --> Added COMPONENT Mono2 USERVAR ncol_6 with type int --> Added COMPONENT Mono2 USERVAR nrow_6 with type int --> Added COMPONENT Mono3 USERVAR ncol_7 with type int --> Added COMPONENT Mono3 USERVAR nrow_7 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 Cradle -> SPLIT N at component Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Cradle -> SPLIT within buffer at component Sample ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_IN6.out DEBUG: CMD: nvc -o ./ILL_IN6.out ./ILL_IN6.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_IN6.c", line 4547: 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_IN6.c", line 10718: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN6.c", line 10718: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN6.c", line 10745: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN6.c", line 10745: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN6.c", line 11073: 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_IN6.c", line 11073: 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_IN6.c", line 11073: 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_IN6.c", line 11073: 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_IN6.c", line 11073: 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_IN6.c", line 11073: 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_IN6.c", line 11430: 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_IN6.c", line 13403: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_IN6.c", line 13382: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_IN6.c", line 13383: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_IN6.c", line 13294: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_IN6.c", line 13294: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_IN6.c", line 15080: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_IN6.c", line 15068: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_IN6.c", line 15121: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_IN6.c", line 15211: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_IN6.c", line 15260: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_IN6.c", line 15309: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_IN6.c", line 15386: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_IN6.c", line 15463: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_IN6.c", line 15540: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_IN6.c", line 15589: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_IN6.c", line 15638: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_IN6.c", line 15740: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_IN6.c", line 15842: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_IN6.c", line 15911: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_IN6.c", line 16013: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_IN6.c", line 16071: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_IN6.c", line 16120: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_IN6.c", line 16189: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_IN6.c", line 16291: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_IN6.c", line 16393: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_IN6.c", line 16495: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_IN6.c", line 16597: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_IN6.c", line 16646: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_IN6.c", line 16743: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_IN6.c", line 16803: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_IN6.c", line 16905: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_IN6.c", line 18281: warning: variable "chopper_const" was declared but never referenced [declared_but_not_referenced] double chopper_const = 252.77; /*constant in chopper SPEED formula*/ ^ "./ILL_IN6.c", line 19869: warning: variable "zp2" was set but never used [set_but_not_used] double xp2, zp2,xp3=0,vxp2=0,vzp1=0; /* position, velocity */ ^ "./ILL_IN6.c", line 19667: warning: variable "X" was set but never used [set_but_not_used] double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ILL_IN6.c", line 19667: warning: variable "Z" was set but never used [set_but_not_used] double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ILL_IN6.c", line 20321: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_IN6.c", line 20322: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN6.c", line 20322: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN6.c", line 21004: warning: variable "q" was declared but never referenced [declared_but_not_referenced] double q,qq; ^ "./ILL_IN6.c", line 21008: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double phi; ^ "./ILL_IN6.c", line 24134: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_IN6.c", line 24135: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_IN6.c", line 1556: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_IN6.c", line 2959: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 99, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 113, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 155, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 189, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 221, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 232, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 241, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 261, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1603, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1607, Generating acc routine seq Generating NVIDIA GPU code str_len: 1616, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4168, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4599, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4619, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4631, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4643, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4653, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4663, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4671, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4681, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4703, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4710, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4756, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4791, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4802, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4819, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4830, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4846, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4875, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4886, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4890, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5067, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5098, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5115, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5214, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5298, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5364, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5441, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5713, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5723, Generating acc routine seq Generating NVIDIA GPU code _hash: 5749, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5790, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5801, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5806, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5814, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5822, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5829, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6488, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6524, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6584, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6601, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6716, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6771, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7818, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7886, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7965, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8433, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8449, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8467, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8514, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 8523, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9714, Generating acc routine seq Generating NVIDIA GPU code off_F: 11030, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11035, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11045, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11071, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11134, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11265, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11310, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11427, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11545, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11557, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11592, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11843, Generating acc routine seq Generating NVIDIA GPU code merge: 11850, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11954, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11969, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12023, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12140, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12162, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 12386, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 12445, Generating acc routine seq Generating NVIDIA GPU code FC_zrot: 12613, Generating acc routine seq Generating NVIDIA GPU code FC_xrot: 12626, Generating acc routine seq Generating NVIDIA GPU code FC_xzrot_dt: 12652, Generating acc routine seq Generating NVIDIA GPU code FC_xzbrent: 12673, Generating acc routine seq Generating NVIDIA GPU code FC_xintersect: 12746, Generating acc routine seq Generating NVIDIA GPU code FC_zintersect: 12753, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 13184, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 13221, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 13257, Generating acc routine seq Generating NVIDIA GPU code init: 18326, Generating update device(iRATIO) 18351, Generating update device(Frequency) 18524, Generating update device(_MonokMonitor_var,_Suppressor_var,_SlitFC_var,_Mon_SuppOutT_var,_Mono1_var,_Mono2_var,_instrument_var,_SourceTarget_var,_Mon_SampleInXY_var,_Mon_SuppInL_var,_SuppPos_var,_Mon_SuppInT_var,_Sample_var,_FermiM_var,_Detector_nM_var,_M_theta_t_all_var,_Mono3_var,_Mon_FermiOutdT_var,_Mon_SampleInT_var,_sample_pos_var,_mono_out_var,_Out_var,_Origin_var,_FermiPos_var,_Cradle_var,_VCS_var) class_Progress_bar_trace: 18569, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 18659, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 18868, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 18921, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 19297, Generating acc routine seq Generating NVIDIA GPU code class_FermiChopper_trace: 19624, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 20206, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 20250, Generating acc routine seq Generating NVIDIA GPU code 20569, 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_4PI_trace: 20901, Generating acc routine seq Generating NVIDIA GPU code class_Sqw_monitor_trace: 20979, Generating acc routine seq Generating NVIDIA GPU code raytrace: 21127, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 21679, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 21690, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 21679, Local memory used for .inl_particle_27371,particleN,.inl_.inl_mcneutron_0_27386,.inl_.X2365_27388,.inl_.inl_.X2571_15_27387 21690, Generating implicit firstprivate(seed,_particle) finally: 23036, Generating update self(_MonokMonitor_var,_Suppressor_var,_SlitFC_var,_Mon_SuppOutT_var,_Mono1_var,_Mono2_var,_instrument_var,_SourceTarget_var,_Mon_SampleInXY_var,_Mon_SuppInL_var,_SuppPos_var,_Mon_SuppInT_var,_Sample_var,_FermiM_var,_Detector_nM_var,_M_theta_t_all_var,_Mono3_var,_Mon_FermiOutdT_var,_Mon_SampleInT_var,_sample_pos_var,_mono_out_var,_Out_var,_Origin_var,_FermiPos_var,_Cradle_var,_VCS_var) mcenabletrace: 5948, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===