INFO: No output directory specified (--dir) INFO: Using directory: "ILL_D2B_noenv_20241222_063238" INFO: Regenerating c-file: ILL_D2B_noenv.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./ILL_D2B_noenv.c ILL_D2B_noenv.instr 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Guide(0):read_table-lib :Guide(1):ref-lib :ref-lib(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 :Guide_channeled(0):ref-lib :PowderN(0):read_table-lib :PowderN(1):interoff-lib 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib monitor_nd-lib 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 06:33:14.309 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib The instrument has 17 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component Monok -> SPLIT 10 at component Arm_Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component Source -> GPU kernel from component Win0 -> GPU kernel from component Oct1 -> GPU kernel from component Oct2 -> GPU kernel from component Win1 -> GPU kernel from component Win2 -> GPU kernel from component Win3 -> GPU kernel from component Win4 -> GPU kernel from component Win5 -> GPU kernel from component Win6 -> GPU kernel from component SMguide -> GPU kernel from component Alpha_One -> GPU kernel from component Slit_Mono -> GPU kernel from component D2B_Mono_XY -> GPU kernel from component D2B_ALPHA1_Div -> GPU kernel from component D2B_Mono_Lambda -> GPU kernel from component mono_cradle -> SPLIT within buffer at component Monok -> GPU kernel from component sphere -> GPU kernel from component mono_out -> GPU kernel from component Shield_Hole -> GPU kernel from component Alpha_Two -> GPU kernel from component Slit_Sample -> GPU kernel from component D2B_ALPHA2_Div -> GPU kernel from component D2B_Sample_Lambda -> SPLIT within buffer at component Arm_Sample -> GPU kernel from component Sample -> GPU kernel from component collimador_radial -> GPU kernel from component D2B_BananaTheta -> GPU kernel from component D2B_BananaThetaCenter -> GPU kernel from component D2B_BananaPSD ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ILL_D2B_noenv.out DEBUG: CMD: nvc -o ./ILL_D2B_noenv.out ./ILL_D2B_noenv.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_D2B_noenv.c", line 4498: 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_D2B_noenv.c", line 12191: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B_noenv.c", line 12191: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B_noenv.c", line 12218: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B_noenv.c", line 12218: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B_noenv.c", line 12342: 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_D2B_noenv.c", line 12342: 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_D2B_noenv.c", line 12342: 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_D2B_noenv.c", line 12342: 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_D2B_noenv.c", line 12342: 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_D2B_noenv.c", line 12342: 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_D2B_noenv.c", line 12699: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_D2B_noenv.c", line 13613: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_D2B_noenv.c", line 18463: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_D2B_noenv.c", line 18464: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_D2B_noenv.c", line 18467: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_D2B_noenv.c", line 18470: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_D2B_noenv.c", line 18474: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_D2B_noenv.c", line 18476: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_D2B_noenv.c", line 18477: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_D2B_noenv.c", line 18478: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_D2B_noenv.c", line 18480: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_D2B_noenv.c", line 22259: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_D2B_noenv.c", line 22260: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_D2B_noenv.c", line 1506: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_D2B_noenv.c", line 2909: 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: 201, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 210, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1553, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1557, Generating acc routine seq Generating NVIDIA GPU code str_len: 1566, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4119, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4550, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4561, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4570, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4594, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4604, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4614, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4622, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4632, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4654, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4661, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4707, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4742, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4753, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4770, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4781, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4797, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4826, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4837, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4841, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5018, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5049, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5066, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5165, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5249, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5315, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5392, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5664, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5674, Generating acc routine seq Generating NVIDIA GPU code _hash: 5700, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5741, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5752, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5757, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5765, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5773, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5780, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6437, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6533, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6550, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6665, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6720, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7486, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7516, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 7892, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9285, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9353, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9432, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 9900, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 9916, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 9934, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 10000, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 10059, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 11172, Generating acc routine seq Generating NVIDIA GPU code off_F: 12299, Generating acc routine seq Generating NVIDIA GPU code off_sign: 12304, Generating acc routine seq Generating NVIDIA GPU code off_normal: 12314, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 12340, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 12403, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 12534, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 12579, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12696, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12814, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12826, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12861, Generating acc routine seq Generating NVIDIA GPU code Min_int: 13112, Generating acc routine seq Generating NVIDIA GPU code merge: 13119, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 13223, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 13238, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 13292, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 13409, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 13431, Generating acc routine seq Generating NVIDIA GPU code init: 16849, Generating update device(_Oct2_var,_Slit_Sample_var,_Source_var,_Monok_var,_Oct1_var,_Win0_var,_Win1_var,_Win2_var,_Win3_var,_Win4_var,_Win5_var,_Origin_var,_Shield_Hole_var,_D2B_Mono_Lambda_var,_Arm_Sample_var,_D2B_BananaTheta_var,_instrument_var,_D2B_Sample_Lambda_var,_sphere_var,_mono_out_var,_mono_cradle_var,_Sample_var,_Alpha_One_var,_Slit_Mono_var,_D2B_ALPHA1_Div_var,_D2B_Mono_XY_var,_Alpha_Two_var,_SMguide_var,_Win6_var,_D2B_BananaThetaCenter_var,_D2B_BananaPSD_var,_D2B_ALPHA2_Div_var,_collimador_radial_var) class_Progress_bar_trace: 16890, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 16980, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 17189, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 17233, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 17386, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 17460, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 17751, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 18096, Generating acc routine seq Generating NVIDIA GPU code class_Guide_channeled_trace: 18174, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 18415, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_radial_trace: 18882, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19035, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 19750, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 19764, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 19750, Local memory used for .inl_particle_25859,particleN,.inl_.inl_mcneutron_0_25874,.inl_.X2359_25876,.inl_.inl_.X2567_15_25875 19764, Generating implicit firstprivate(seed,_particle) finally: 20992, Generating update self(_Oct2_var,_Slit_Sample_var,_Source_var,_Monok_var,_Oct1_var,_Win0_var,_Win1_var,_Win2_var,_Win3_var,_Win4_var,_Win5_var,_Origin_var,_Shield_Hole_var,_D2B_Mono_Lambda_var,_Arm_Sample_var,_D2B_BananaTheta_var,_instrument_var,_D2B_Sample_Lambda_var,_sphere_var,_mono_out_var,_mono_cradle_var,_Sample_var,_Alpha_One_var,_Slit_Mono_var,_D2B_ALPHA1_Div_var,_D2B_Mono_XY_var,_Alpha_Two_var,_SMguide_var,_Win6_var,_D2B_BananaThetaCenter_var,_D2B_BananaPSD_var,_D2B_ALPHA2_Div_var,_collimador_radial_var) mcenabletrace: 5899, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcG3-RgG1fXgOoR.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-12-22/ANTLR_openacc_1e7_Linux_1e7/ILL_D2B_noenv/./ILL_D2B_noenv.c:7617: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatHwaSgJbDbfehD.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: ===