INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN13_20241118_013536" INFO: Regenerating c-file: ILL_IN13.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_IN13.c ILL_IN13.instr CFLAGS= --> Added COMPONENT CaF2_mono USERVAR ncol_7 with type int --> Added COMPONENT CaF2_mono USERVAR nrow_7 with type int --> Added COMPONENT IN13_deflector USERVAR ncol_13 with type int --> Added COMPONENT IN13_deflector USERVAR nrow_13 with type int --> Added COMPONENT Analyser USERVAR ncol_25 with type int --> Added COMPONENT Analyser USERVAR nrow_25 with type int WARNING: --> USERVAR R is of type Rotation and may need specific --> per-particle initialisation through an --> EXTEND block! ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component mono_cradle -> SPLIT N at component defl_cradle -> SPLIT N at component SamplePos ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component mono_cradle -> SPLIT within buffer at component defl_cradle -> SPLIT within buffer at component SamplePos ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_IN13.out DEBUG: CMD: nvc -o ./ILL_IN13.out ./ILL_IN13.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_IN13.c", line 4558: 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_IN13.c", line 10703: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN13.c", line 10703: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN13.c", line 10730: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN13.c", line 10730: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN13.c", line 11058: 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_IN13.c", line 11058: 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_IN13.c", line 11058: 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_IN13.c", line 11058: 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_IN13.c", line 11058: 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_IN13.c", line 11058: 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_IN13.c", line 11415: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_IN13.c", line 12892: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_IN13.c", line 12880: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_IN13.c", line 12977: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_IN13.c", line 12933: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_IN13.c", line 13019: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_IN13.c", line 13068: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_IN13.c", line 13117: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_IN13.c", line 13219: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_IN13.c", line 13268: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_IN13.c", line 13345: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_IN13.c", line 13447: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_IN13.c", line 13496: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_IN13.c", line 13545: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_IN13.c", line 13647: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_IN13.c", line 13713: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_IN13.c", line 13790: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_IN13.c", line 13839: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_IN13.c", line 13897: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_IN13.c", line 13955: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_IN13.c", line 14004: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_IN13.c", line 14069: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_IN13.c", line 14171: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_IN13.c", line 14273: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_IN13.c", line 14353: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_IN13.c", line 14455: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_IN13.c", line 14504: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_IN13.c", line 14553: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_IN13.c", line 14630: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ILL_IN13.c", line 14710: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ILL_IN13.c", line 14759: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ILL_IN13.c", line 14861: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ILL_IN13.c", line 14963: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ILL_IN13.c", line 17718: warning: variable "l_i" was set but never used [set_but_not_used] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_IN13.c", line 17718: warning: variable "l_o" was declared but never referenced [declared_but_not_referenced] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./ILL_IN13.c", line 20845: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_IN13.c", line 20846: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_IN13.c", line 1567: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_IN13.c", line 2970: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 101, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 115, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 159, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 195, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 229, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 240, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 249, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 271, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1614, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1618, Generating acc routine seq Generating NVIDIA GPU code str_len: 1627, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4179, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4621, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4630, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4654, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4664, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4674, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4682, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4692, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4714, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4721, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4767, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4802, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4813, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4830, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4841, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4857, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4886, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4897, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4901, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5078, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5109, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5126, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5225, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5309, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5375, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5452, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5724, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5734, Generating acc routine seq Generating NVIDIA GPU code _hash: 5760, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5801, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5812, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5817, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5825, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5833, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5840, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6499, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6535, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6595, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6612, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6727, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6782, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7811, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7879, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7958, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8426, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8442, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8460, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8507, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9699, Generating acc routine seq Generating NVIDIA GPU code off_F: 11015, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11020, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11030, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11056, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11119, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11250, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11295, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11412, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11530, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11542, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11577, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11828, Generating acc routine seq Generating NVIDIA GPU code merge: 11835, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11939, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11954, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12008, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12125, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12147, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 12276, Generating acc routine seq Generating NVIDIA GPU code init: 16326, Generating update device(_PSD_scattered_var,_SamposPSDcm2_var,_Detector_var,_mono_cradle_var,_Analyser_var,_instrument_var,_CaF2_incoming_var,_CaF2_mono_var,_out_defl_var,_Source_var,_CaF2_transmitted_var,_Defl_XY_var,_EndOfFakeGuide_var,_mono_pos_var,_source_slit_var,_sample_slit_var,_out_mono_var,_RotateNeutron_var,_SamposEnergy_var,_Sample_var,_SamposPSD_var,_Sample_copy_var,_IN13_deflector_var,_Progress_var,_AnalyserMount_var,_SamplePos_var,_DetectorEnergy_var,_DetectorShape_var,_Defl_lambda_var,_DetectorMount_var,_defl_cradle_var) class_Progress_bar_trace: 16369, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 16489, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 16698, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16791, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 17110, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 17490, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 17563, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 17607, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 17678, Generating acc routine seq Generating NVIDIA GPU code 17875, Reference argument passing prevents parallelization: solid_angle 17878, Reference argument passing prevents parallelization: solid_angle raytrace: 18032, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 18625, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 18639, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 18625, Local memory used for .inl_particle_22267,particleN,.inl_.inl_mcneutron_0_22282,.inl_.X2229_22284,.inl_.inl_.X2432_15_22283 18639, Generating implicit firstprivate(seed,_particle) finally: 19844, Generating update self(_PSD_scattered_var,_SamposPSDcm2_var,_Detector_var,_mono_cradle_var,_Analyser_var,_instrument_var,_CaF2_incoming_var,_CaF2_mono_var,_out_defl_var,_Source_var,_CaF2_transmitted_var,_Defl_XY_var,_EndOfFakeGuide_var,_mono_pos_var,_sample_slit_var,_source_slit_var,_out_mono_var,_RotateNeutron_var,_SamposEnergy_var,_Sample_var,_SamposPSD_var,_Sample_copy_var,_IN13_deflector_var,_Progress_var,_AnalyserMount_var,_SamplePos_var,_DetectorEnergy_var,_DetectorShape_var,_Defl_lambda_var,_DetectorMount_var,_defl_cradle_var) mcenabletrace: 5959, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===