INFO: No output directory specified (--dir) INFO: Using directory: "ILL_D2B_noenv_20241206_092923" INFO: Regenerating c-file: ILL_D2B_noenv.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./ILL_D2B_noenv.c ILL_D2B_noenv.instr 2024-12-06 09:29:26.087 | 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-06 09:29:26.087 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-06 09:29:26.087 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-06 09:29:26.087 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-06 09:29:26.087 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-06 09:29:26.087 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-06 09:29:26.087 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib monitor_nd-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 finished INFO: Recompiling: ./ILL_D2B_noenv.out DEBUG: CMD: nvc -o ./ILL_D2B_noenv.out ./ILL_D2B_noenv.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_D2B_noenv.c", line 4497: 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 12175: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B_noenv.c", line 12175: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B_noenv.c", line 12202: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B_noenv.c", line 12202: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B_noenv.c", line 12326: 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 12326: 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 12326: 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 12326: 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 12326: 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 12326: 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 12683: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_D2B_noenv.c", line 13597: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_D2B_noenv.c", line 18447: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_D2B_noenv.c", line 18448: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_D2B_noenv.c", line 18451: 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 18454: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_D2B_noenv.c", line 18458: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_D2B_noenv.c", line 18460: 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 18461: 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 18462: 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 18464: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_D2B_noenv.c", line 22243: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_D2B_noenv.c", line 22244: 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: 4118, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4549, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4560, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4569, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4581, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4593, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4603, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4613, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4621, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4631, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4653, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4660, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4706, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4741, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4752, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4769, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4780, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4796, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4825, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4836, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4840, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5017, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5048, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5065, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5164, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5248, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5314, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5391, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5663, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5673, Generating acc routine seq Generating NVIDIA GPU code _hash: 5699, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5740, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5751, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5756, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5764, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5772, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5779, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6436, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6532, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6549, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6664, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6719, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7485, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7515, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 7891, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9284, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9352, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9431, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 9899, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 9915, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 9933, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 9999, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 10058, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 11171, Generating acc routine seq Generating NVIDIA GPU code off_F: 12283, Generating acc routine seq Generating NVIDIA GPU code off_sign: 12288, Generating acc routine seq Generating NVIDIA GPU code off_normal: 12298, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 12324, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 12387, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 12518, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 12563, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 12680, Generating acc routine seq Generating NVIDIA GPU code off_compare: 12798, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 12810, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 12845, Generating acc routine seq Generating NVIDIA GPU code Min_int: 13096, Generating acc routine seq Generating NVIDIA GPU code merge: 13103, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 13207, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 13222, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 13276, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 13393, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 13415, Generating acc routine seq Generating NVIDIA GPU code init: 16833, 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: 16874, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 16964, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 17173, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 17217, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 17370, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 17444, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 17735, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 18080, Generating acc routine seq Generating NVIDIA GPU code class_Guide_channeled_trace: 18158, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 18399, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_radial_trace: 18866, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19019, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 19734, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 19748, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 19734, Local memory used for .inl_particle_25859,particleN,.inl_.inl_mcneutron_0_25874,.inl_.X2359_25876,.inl_.inl_.X2567_15_25875 19748, Generating implicit firstprivate(seed,_particle) finally: 20976, 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: 5898, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvcfgdtmpc30sfbc.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-12-06/ANTLR_openacc_1e7_Linux_1e7/ILL_D2B_noenv/./ILL_D2B_noenv.c:7616: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===