INFO: No output directory specified (--dir) INFO: Using directory: "Logger_test_20241206_155846" INFO: Regenerating c-file: Logger_test.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./Logger_test.c Logger_test.instr Downloading file 'mcstas-comps/union/Union_logger_2D_kf.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/union/Union_logger_2D_kf.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/union/Union_logger_2D_kf_time.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/union/Union_logger_2D_kf_time.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. Downloading file 'mcstas-comps/union/Union_logger_2D_space_time.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/union/Union_logger_2D_space_time.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. 2024-12-06 15:58:52.492 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Powder_process(0):read_table-lib :Powder_process(1):interoff-lib 2024-12-06 15:58:52.493 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component init -> GPU kernel from component Vanadium_incoherent -> GPU kernel from component Vanadium -> GPU kernel from component Al_incoherent -> GPU kernel from component Al_Powder -> GPU kernel from component Al -> GPU kernel from component Cu_incoherent -> GPU kernel from component Cu_Powder -> GPU kernel from component Cu -> GPU kernel from component a1 -> GPU kernel from component source -> GPU kernel from component sample_pos -> GPU kernel from component beam_center -> GPU kernel from component cryostat_wall -> GPU kernel from component cryostat_wall_vacuum -> GPU kernel from component sample -> GPU kernel from component Al_ring1 -> GPU kernel from component Al_ring1_vacuum -> GPU kernel from component Al_ring2 -> GPU kernel from component Al_ring2_vacuum -> GPU kernel from component Al_ring3 -> GPU kernel from component Al_ring3_vacuum -> GPU kernel from component Al_ring4 -> GPU kernel from component Al_ring4_vacuum -> GPU kernel from component sample_box_cut -> GPU kernel from component al_in_box_cut -> GPU kernel from component sample_holder_under_sample -> GPU kernel from component long_piece_center -> GPU kernel from component sample_holder_long_piece -> GPU kernel from component bottom_horizontal_piece_center -> GPU kernel from component bottom_horizontal_piece -> GPU kernel from component cylinder_top_center -> GPU kernel from component bottom_vertical_piece -> GPU kernel from component cylinder_holder -> GPU kernel from component cylinder_holder_cutout -> GPU kernel from component screw_head -> GPU kernel from component cylinder_bottom_center -> GPU kernel from component cylinder_holder_base -> GPU kernel from component test_logger_1D -> GPU kernel from component test_logger_2DQ -> GPU kernel from component test_logger_2D_kf -> GPU kernel from component test_logger_2D_kf_time -> GPU kernel from component test_logger_2D_space -> GPU kernel from component test_logger_2D_space_time -> GPU kernel from component test_logger_3D_space Component test_sample is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component test_sample -> GPU kernel from component detector -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./Logger_test.out DEBUG: CMD: nvc -o ./Logger_test.out ./Logger_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Logger_test.c", line 4489: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Logger_test.c", line 8532: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Logger_test.c", line 9056: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Logger_test.c", line 9079: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Logger_test.c", line 9567: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Logger_test.c", line 9568: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Logger_test.c", line 9569: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Logger_test.c", line 9729: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Logger_test.c", line 9949: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Logger_test.c", line 10108: warning: variable "radius_top" was declared but never referenced [declared_but_not_referenced] double radius_top = geometry->geometry_parameters.p_cone_storage->cone_radius_top; ^ "./Logger_test.c", line 10109: warning: variable "radius_bottom" was declared but never referenced [declared_but_not_referenced] double radius_bottom = geometry->geometry_parameters.p_cone_storage->cone_radius_bottom; ^ "./Logger_test.c", line 10384: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Logger_test.c", line 10143: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Logger_test.c", line 10145: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Logger_test.c", line 10146: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Logger_test.c", line 10147: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Logger_test.c", line 10171: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Logger_test.c", line 10180: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Logger_test.c", line 10180: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Logger_test.c", line 10182: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Logger_test.c", line 10231: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Logger_test.c", line 10398: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Logger_test.c", line 10399: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Logger_test.c", line 10400: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Logger_test.c", line 10429: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Logger_test.c", line 10487: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Logger_test.c", line 10503: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Logger_test.c", line 10503: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Logger_test.c", line 10504: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Logger_test.c", line 10505: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Logger_test.c", line 10942: warning: variable "vector2" is used before its value is set [used_before_set] if (verbal == 1) printf("vector1 = (%f,%f,%f)\n",vector1.x,vector1.y,vector2.z); ^ "./Logger_test.c", line 10931: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Logger_test.c", line 11008: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Logger_test.c", line 11215: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Logger_test.c", line 11313: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Logger_test.c", line 11499: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Logger_test.c", line 11692: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Logger_test.c", line 11693: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Logger_test.c", line 12227: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Logger_test.c", line 12228: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Logger_test.c", line 12627: warning: variable "square_center" is used before its value is set [used_before_set] Coords box_end_point = coords_sub(coords_set(0,0,-z_depth/2),square_center); ^ "./Logger_test.c", line 12487: warning: variable "is_rectangle" was declared but never referenced [declared_but_not_referenced] int is_rectangle = geometry_box->geometry_parameters.p_box_storage->is_rectangle; ^ "./Logger_test.c", line 12492: warning: variable "y_height2" was declared but never referenced [declared_but_not_referenced] double y_height2 = geometry_box->geometry_parameters.p_box_storage->y_height2; ^ "./Logger_test.c", line 12493: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry_box->geometry_parameters.p_box_storage->x_vector; ^ "./Logger_test.c", line 12494: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry_box->geometry_parameters.p_box_storage->y_vector; ^ "./Logger_test.c", line 12501: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Logger_test.c", line 12502: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Logger_test.c", line 12625: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Logger_test.c", line 12891: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Logger_test.c", line 12957: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Logger_test.c", line 13143: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Logger_test.c", line 13146: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Logger_test.c", line 13303: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Logger_test.c", line 13306: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Logger_test.c", line 14225: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Logger_test.c", line 14134: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Logger_test.c", line 14437: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,parent,mask_index,masked_volume_index,ANY_logic,true_parent_volume_number; ^ "./Logger_test.c", line 14627: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Logger_test.c", line 14776: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Logger_test.c", line 15180: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Logger_test.c", line 16159: warning: variable "count" is used before its value is set [used_before_set] for(line0=0; line0storage->Detector_3D.D1min && p1Detector_3D.D1max && p2>storage->Detector_3D.D2min && p2Detector_3D.D2max && p3>storage->Detector_3D.D3min && p3Detector_3D.D3max) { ^ "./Logger_test.c", line 21690: 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; ^ "./Logger_test.c", line 21690: 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; ^ "./Logger_test.c", line 21690: 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; ^ "./Logger_test.c", line 21690: 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; ^ "./Logger_test.c", line 21690: 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; ^ "./Logger_test.c", line 21690: 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; ^ "./Logger_test.c", line 22047: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Logger_test.c", line 22953: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 22991: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23027: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23066: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23122: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23158: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23197: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23253: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23289: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 23325: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 25316: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 26435: warning: variable "l2" was declared but never referenced [declared_but_not_referenced] int l1,l2; ^ "./Logger_test.c", line 30229: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Logger_test.c", line 34812: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Logger_test.c", line 34813: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Logger_test.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Logger_test.c", line 2901: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 89, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 103, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 136, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 161, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 184, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 196, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 205, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 216, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1545, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1549, Generating acc routine seq Generating NVIDIA GPU code str_len: 1558, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4110, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4541, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4552, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4561, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4573, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4585, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4613, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4645, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4652, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4698, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4733, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4744, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4761, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4772, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4788, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4817, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4828, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4832, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5009, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5040, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5057, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5156, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5240, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5306, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5383, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5655, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5665, Generating acc routine seq Generating NVIDIA GPU code _hash: 5691, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5732, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5743, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5748, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5756, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5764, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5771, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6428, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6524, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6541, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6656, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6711, Generating acc routine seq Generating NVIDIA GPU code distance_between: 7787, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code length_of_3vector: 7795, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 7810, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code on_int_list: 7825, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code print_1d_int_list: 8046, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 8376, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 8456, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code initialize_tagging_tree_node: 8479, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_process_node: 8505, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_volume_node: 8525, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code add_statistics_to_node: 8574, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code clear_intersection_table: 8872, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_advanced: 9555, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_simple: 9749, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_simple: 9790, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cone: 9809, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cone_intersect: 9873, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_advanced: 10657, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_sphere_intersect: 10784, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_sphere: 10806, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cylinder_intersect: 10851, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cylinder: 10912, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_function: 13033, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_function: 13065, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code within_which_volume_GPU: 13263, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_my: 15619, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_scattering: 15625, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code calc_xsect_union: 16038, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Powder_physics_my: 16107, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Powder_physics_scattering: 16195, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_my: 19013, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_scattering: 19072, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Table_Index: 20947, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 21015, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 21094, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 21562, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 21578, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 21596, Generating acc routine seq Generating NVIDIA GPU code off_F: 21647, Generating acc routine seq Generating NVIDIA GPU code off_sign: 21652, Generating acc routine seq Generating NVIDIA GPU code off_normal: 21662, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 21688, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 21751, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 21882, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 21927, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 22044, Generating acc routine seq Generating NVIDIA GPU code off_compare: 22162, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 22174, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 22209, Generating acc routine seq Generating NVIDIA GPU code Min_int: 22460, Generating acc routine seq Generating NVIDIA GPU code merge: 22467, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 22571, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 22586, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 22640, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 22757, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 22779, Generating acc routine seq Generating NVIDIA GPU code init: 29463, Generating update device(_detector_var,_Cu_var,_Vanadium_incoherent_var,_Al_Powder_var,_Al_ring4_var,_Cu_Powder_var,_Al_var,_Cu_incoherent_var,_Vanadium_var,_screw_head_var,_sample_holder_under_sample_var,_al_in_box_cut_var,_cryostat_wall_vacuum_var,_bottom_vertical_piece_var,_sample_pos_var,_Al_ring1_vacuum_var,_Al_incoherent_var,_Al_ring2_vacuum_var,_Al_ring1_var,_Al_ring3_vacuum_var,_Al_ring2_var,_Al_ring4_vacuum_var,_Al_ring3_var,_long_piece_center_var,_a1_var,_sample_holder_long_piece_var,_instrument_var,_sample_box_cut_var,_beam_center_var,_bottom_horizontal_piece_center_var,_cylinder_holder_var,_bottom_horizontal_piece_var,_cylinder_holder_cutout_var,_cylinder_holder_base_var,_sample_var,_cryostat_wall_var,_cylinder_bottom_center_var,_stop_var,_test_logger_1D_var,_test_logger_2D_kf_time_var,_test_logger_2DQ_var,_test_logger_2D_space_time_var,_test_logger_2D_kf_var,_test_logger_2D_space_var,_test_sample_var,_test_logger_3D_space_var,_cylinder_top_center_var,_source_var,_init_var) class_Progress_bar_trace: 29508, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 29598, Generating acc routine seq Generating NVIDIA GPU code NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - abs_loggers_with_data_array (./Logger_test.c: 30903) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Logger_test.c: 30851) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Logger_test.c: 29896) class_Union_master_trace: 30858, Accelerator restriction: Indirect function/procedure calls are not supported 30910, Accelerator restriction: Indirect function/procedure calls are not supported 30956, Accelerator restriction: Indirect function/procedure calls are not supported class_PSD_monitor_trace: 31164, Generating acc routine seq Generating NVIDIA GPU code raytrace: 31242, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 31601, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 31615, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 31601, Local memory used for .inl_particle_37892,particleN,.inl_.inl_mcneutron_0_37907,.inl_.X3110_37909,.inl_.inl_.X3314_15_37908 31615, Generating implicit firstprivate(seed,_particle) finally: 33959, Generating update self(_detector_var,_Cu_var,_Vanadium_incoherent_var,_Al_Powder_var,_Al_ring4_var,_Cu_Powder_var,_Al_var,_Cu_incoherent_var,_Vanadium_var,_screw_head_var,_sample_holder_under_sample_var,_al_in_box_cut_var,_cryostat_wall_vacuum_var,_bottom_vertical_piece_var,_sample_pos_var,_Al_ring1_vacuum_var,_Al_incoherent_var,_Al_ring2_vacuum_var,_Al_ring1_var,_Al_ring3_vacuum_var,_Al_ring2_var,_Al_ring4_vacuum_var,_Al_ring3_var,_long_piece_center_var,_a1_var,_sample_holder_long_piece_var,_instrument_var,_sample_box_cut_var,_beam_center_var,_bottom_horizontal_piece_center_var,_cylinder_holder_var,_bottom_horizontal_piece_var,_cylinder_holder_cutout_var,_cylinder_holder_base_var,_sample_var,_cryostat_wall_var,_cylinder_bottom_center_var,_stop_var,_test_logger_1D_var,_test_logger_2D_kf_time_var,_test_logger_2DQ_var,_test_logger_2D_space_time_var,_test_logger_2D_kf_var,_test_logger_2D_space_var,_test_sample_var,_test_logger_3D_space_var,_cylinder_top_center_var,_source_var,_init_var) mcenabletrace: 5890, Generating update device(mcdotrace) nvvmCompileProgram error 9: NVVM_ERROR_COMPILATION. Error: /tmp/nvaccgE4Fmshov2vk0.gpu (85204, 37): parse use of undefined value '@class_Union_master_trace' NVC++-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (./Logger_test.c: 31601) NVC++/x86-64 Linux 24.7-0: compilation aborted INFO: call to nvc failed with Command 'nvc -o ./Logger_test.out ./Logger_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2. Traceback (most recent call last): File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 595, in main() File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 503, in main mcstas.prepare(options) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 294, in prepare Process(lexer.quote(options.cc)).run(args) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 77, in run raise err File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'nvc -o ./Logger_test.out ./Logger_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2.