INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN13_20241222_080349" INFO: Regenerating c-file: ILL_IN13.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./ILL_IN13.c ILL_IN13.instr 2024-12-22 08:04:15.768 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :Monochromator_curved(0):read_table-lib :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib 2024-12-22 08:04:15.768 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib 2024-12-22 08:04:15.768 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib 2024-12-22 08:04:15.768 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib 2024-12-22 08:04:15.768 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib monitor_nd-lib WARNING: --> USERVAR R is of type Rotation --> and may need specific per-particle initialization through an EXTEND block! The instrument has 8 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component mono_cradle -> SPLIT 10 at component defl_cradle -> SPLIT 10 at component SamplePos ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Progress -> GPU kernel from component Source -> GPU kernel from component EndOfFakeGuide -> GPU kernel from component mono_pos -> GPU kernel from component CaF2_incoming -> SPLIT within buffer at component mono_cradle -> GPU kernel from component CaF2_mono -> GPU kernel from component CaF2_transmitted -> GPU kernel from component out_mono -> SPLIT within buffer at component defl_cradle -> GPU kernel from component Defl_XY -> GPU kernel from component Defl_lambda -> GPU kernel from component IN13_deflector -> GPU kernel from component out_defl -> GPU kernel from component source_slit -> GPU kernel from component sample_slit -> SPLIT within buffer at component SamplePos -> GPU kernel from component SamposPSD -> GPU kernel from component SamposEnergy -> GPU kernel from component SamposPSDcm2 -> GPU kernel from component Sample -> GPU kernel from component PSD_scattered -> GPU kernel from component RotateNeutron -> GPU kernel from component AnalyserMount -> GPU kernel from component Analyser -> GPU kernel from component Sample_copy -> GPU kernel from component DetectorMount -> GPU kernel from component Detector -> GPU kernel from component DetectorEnergy -> GPU kernel from component DetectorShape ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ILL_IN13.out DEBUG: CMD: nvc -o ./ILL_IN13.out ./ILL_IN13.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_IN13.c", line 4557: 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 11426: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN13.c", line 11426: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN13.c", line 11453: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN13.c", line 11453: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN13.c", line 11577: 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 11577: 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 11577: 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 11577: 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 11577: 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 11577: 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 11934: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_IN13.c", line 12886: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_IN13.c", line 12947: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_IN13.c", line 16945: 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 16945: 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 19923: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_IN13.c", line 19924: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_IN13.c", line 1565: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_IN13.c", line 2968: 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: 241, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 250, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 272, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1612, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1616, Generating acc routine seq Generating NVIDIA GPU code str_len: 1625, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4178, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4609, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4620, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4629, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4641, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4653, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4663, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4673, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4681, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4691, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4713, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4720, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4766, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4801, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4812, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4829, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4840, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4856, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4885, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4896, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4900, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5077, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5108, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5125, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5224, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5308, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5374, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5451, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5723, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5733, Generating acc routine seq Generating NVIDIA GPU code _hash: 5759, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5800, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5811, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5816, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5824, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5832, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5839, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6496, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6592, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6609, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6724, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6779, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7486, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7500, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 8761, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 8829, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 8908, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 9376, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 9392, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 9410, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 10407, Generating acc routine seq Generating NVIDIA GPU code off_F: 11534, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11539, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11549, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11575, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11638, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11769, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11814, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11931, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12049, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12061, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12096, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12347, Generating acc routine seq Generating NVIDIA GPU code merge: 12354, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12458, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12473, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12527, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12644, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12666, Generating acc routine seq Generating NVIDIA GPU code init: 15587, 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: 15628, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 15736, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 15945, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 16026, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 16333, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 16717, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 16790, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 16834, Generating acc routine seq Generating NVIDIA GPU code class_Incoherent_trace: 16905, Generating acc routine seq Generating NVIDIA GPU code 17102, Reference argument passing prevents parallelization: solid_angle 17105, Reference argument passing prevents parallelization: solid_angle raytrace: 17250, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 17840, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 17854, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 17840, Local memory used for .inl_particle_22098,particleN,.inl_.inl_mcneutron_0_22113,.inl_.X2235_22115,.inl_.inl_.X2438_15_22114 17854, Generating implicit firstprivate(seed,_particle) finally: 19013, 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: 5958, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatBL-0gr-UJF9CF.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: ===