INFO: No output directory specified (--dir) INFO: Using directory: "Unit_test_logger_3D_space_20241222_115301" INFO: Regenerating c-file: Unit_test_logger_3D_space.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./Unit_test_logger_3D_space.c Unit_test_logger_3D_space.instr 2024-12-22 11:53:29.798 | INFO | mccode_antlr.instr.instance:set_parameter:120 - Multiple definitions of n2 in component instance Union_logger_3D_space 2024-12-22 11:53:39.753 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Powder_process(0):read_table-lib :Powder_process(1):interoff-lib 2024-12-22 11:53:39.754 | 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 incoherent -> GPU kernel from component powder -> GPU kernel from component material -> GPU kernel from component Origin -> GPU kernel from component source -> GPU kernel from component geometry_center -> GPU kernel from component box -> GPU kernel from component sphere -> GPU kernel from component cylinder -> GPU kernel from component cone -> GPU kernel from component Union_logger_3D_space Component master is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component master -> GPU kernel from component transmission -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Unit_test_logger_3D_space.out DEBUG: CMD: nvc -o ./Unit_test_logger_3D_space.out ./Unit_test_logger_3D_space.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 "./Unit_test_logger_3D_space.c", line 4490: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Unit_test_logger_3D_space.c", line 8534: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Unit_test_logger_3D_space.c", line 9058: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Unit_test_logger_3D_space.c", line 9081: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Unit_test_logger_3D_space.c", line 9569: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Unit_test_logger_3D_space.c", line 9570: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Unit_test_logger_3D_space.c", line 9571: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Unit_test_logger_3D_space.c", line 9731: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Unit_test_logger_3D_space.c", line 9951: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Unit_test_logger_3D_space.c", line 10110: 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; ^ "./Unit_test_logger_3D_space.c", line 10111: 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; ^ "./Unit_test_logger_3D_space.c", line 10386: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Unit_test_logger_3D_space.c", line 10145: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Unit_test_logger_3D_space.c", line 10147: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Unit_test_logger_3D_space.c", line 10148: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Unit_test_logger_3D_space.c", line 10149: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Unit_test_logger_3D_space.c", line 10173: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Unit_test_logger_3D_space.c", line 10182: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Unit_test_logger_3D_space.c", line 10182: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Unit_test_logger_3D_space.c", line 10184: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Unit_test_logger_3D_space.c", line 10233: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Unit_test_logger_3D_space.c", line 10400: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Unit_test_logger_3D_space.c", line 10401: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Unit_test_logger_3D_space.c", line 10402: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Unit_test_logger_3D_space.c", line 10431: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Unit_test_logger_3D_space.c", line 10489: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Unit_test_logger_3D_space.c", line 10505: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Unit_test_logger_3D_space.c", line 10505: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Unit_test_logger_3D_space.c", line 10506: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Unit_test_logger_3D_space.c", line 10507: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Unit_test_logger_3D_space.c", line 10944: 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); ^ "./Unit_test_logger_3D_space.c", line 10933: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Unit_test_logger_3D_space.c", line 11010: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Unit_test_logger_3D_space.c", line 11217: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Unit_test_logger_3D_space.c", line 11315: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Unit_test_logger_3D_space.c", line 11501: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Unit_test_logger_3D_space.c", line 11694: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Unit_test_logger_3D_space.c", line 11695: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Unit_test_logger_3D_space.c", line 12229: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Unit_test_logger_3D_space.c", line 12230: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Unit_test_logger_3D_space.c", line 12629: 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); ^ "./Unit_test_logger_3D_space.c", line 12489: 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; ^ "./Unit_test_logger_3D_space.c", line 12494: 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; ^ "./Unit_test_logger_3D_space.c", line 12495: 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; ^ "./Unit_test_logger_3D_space.c", line 12496: 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; ^ "./Unit_test_logger_3D_space.c", line 12503: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Unit_test_logger_3D_space.c", line 12504: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Unit_test_logger_3D_space.c", line 12627: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Unit_test_logger_3D_space.c", line 12893: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Unit_test_logger_3D_space.c", line 12959: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Unit_test_logger_3D_space.c", line 13145: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Unit_test_logger_3D_space.c", line 13148: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Unit_test_logger_3D_space.c", line 13305: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Unit_test_logger_3D_space.c", line 13308: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Unit_test_logger_3D_space.c", line 14227: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Unit_test_logger_3D_space.c", line 14136: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Unit_test_logger_3D_space.c", line 14439: 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; ^ "./Unit_test_logger_3D_space.c", line 14629: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Unit_test_logger_3D_space.c", line 14778: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Unit_test_logger_3D_space.c", line 15182: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Unit_test_logger_3D_space.c", line 16067: 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) { ^ "./Unit_test_logger_3D_space.c", line 19550: 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; ^ "./Unit_test_logger_3D_space.c", line 19550: 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; ^ "./Unit_test_logger_3D_space.c", line 19550: 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; ^ "./Unit_test_logger_3D_space.c", line 19550: 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; ^ "./Unit_test_logger_3D_space.c", line 19550: 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; ^ "./Unit_test_logger_3D_space.c", line 19550: 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; ^ "./Unit_test_logger_3D_space.c", line 19907: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Unit_test_logger_3D_space.c", line 20813: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unit_test_logger_3D_space.c", line 20851: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unit_test_logger_3D_space.c", line 20907: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unit_test_logger_3D_space.c", line 20943: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unit_test_logger_3D_space.c", line 20979: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unit_test_logger_3D_space.c", line 21507: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Unit_test_logger_3D_space.c", line 23001: warning: variable "is_cylinder" was set but never used [set_but_not_used] int is_cylinder = 0; ^ "./Unit_test_logger_3D_space.c", line 25309: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Unit_test_logger_3D_space.c", line 24936: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Unit_test_logger_3D_space.c", line 28530: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Unit_test_logger_3D_space.c", line 28531: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Unit_test_logger_3D_space.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Unit_test_logger_3D_space.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: 4111, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4542, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4553, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4574, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4586, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4596, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4606, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4614, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4624, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4646, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4653, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4699, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4734, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4745, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4762, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4773, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4789, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4818, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4829, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4833, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5010, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5041, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5058, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5157, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5241, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5307, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5384, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5656, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5666, Generating acc routine seq Generating NVIDIA GPU code _hash: 5692, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5733, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5744, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5749, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5757, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5765, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5772, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6429, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6525, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6542, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6657, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6712, Generating acc routine seq Generating NVIDIA GPU code distance_between: 7789, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code length_of_3vector: 7797, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 7812, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code on_int_list: 7827, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code print_1d_int_list: 8048, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 8378, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 8458, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code initialize_tagging_tree_node: 8481, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_process_node: 8507, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_volume_node: 8527, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code add_statistics_to_node: 8576, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code clear_intersection_table: 8874, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_advanced: 9557, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_simple: 9751, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_simple: 9792, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cone: 9811, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cone_intersect: 9875, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_advanced: 10659, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_sphere_intersect: 10786, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_sphere: 10808, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cylinder_intersect: 10853, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cylinder: 10914, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_function: 13035, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_function: 13067, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code within_which_volume_GPU: 13265, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_my: 15621, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_scattering: 15627, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code calc_xsect_union: 15946, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Powder_physics_my: 16015, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Powder_physics_scattering: 16103, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_my: 17179, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_scattering: 17238, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Table_Index: 18807, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 18875, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 18954, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 19422, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 19438, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 19456, Generating acc routine seq Generating NVIDIA GPU code off_F: 19507, Generating acc routine seq Generating NVIDIA GPU code off_sign: 19512, Generating acc routine seq Generating NVIDIA GPU code off_normal: 19522, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 19548, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 19611, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 19742, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 19787, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 19904, Generating acc routine seq Generating NVIDIA GPU code off_compare: 20022, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 20034, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 20069, Generating acc routine seq Generating NVIDIA GPU code Min_int: 20320, Generating acc routine seq Generating NVIDIA GPU code merge: 20327, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 20431, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 20446, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 20500, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 20617, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 20639, Generating acc routine seq Generating NVIDIA GPU code init: 24532, Generating update device(_incoherent_var,_geometry_center_var,_material_var,_master_var,_powder_var,_cylinder_var,_Union_logger_3D_space_var,_source_var,_cone_var,_box_var,_Origin_var,_instrument_var,_transmission_var,_stop_var,_sphere_var,_init_var) class_Progress_bar_trace: 24577, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 24667, 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 (./Unit_test_logger_3D_space.c: 25983) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Unit_test_logger_3D_space.c: 25931) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Unit_test_logger_3D_space.c: 24968) class_Union_master_trace: 25938, Accelerator restriction: Indirect function/procedure calls are not supported 25990, Accelerator restriction: Indirect function/procedure calls are not supported 26036, Accelerator restriction: Indirect function/procedure calls are not supported class_PSD_monitor_trace: 26245, Generating acc routine seq Generating NVIDIA GPU code raytrace: 26323, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 26517, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 26531, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 26517, Local memory used for .inl_particle_34751,particleN,.inl_.inl_mcneutron_0_34766,.inl_.X2839_34768,.inl_.inl_.X3043_15_34767 26531, Generating implicit firstprivate(seed,_particle) finally: 27785, Generating update self(_incoherent_var,_geometry_center_var,_material_var,_master_var,_powder_var,_cylinder_var,_Union_logger_3D_space_var,_source_var,_cone_var,_box_var,_Origin_var,_instrument_var,_stop_var,_transmission_var,_sphere_var,_init_var) mcenabletrace: 5891, Generating update device(mcdotrace) nvvmCompileProgram error 9: NVVM_ERROR_COMPILATION. Error: /tmp/nvacceTNThmtTlK5hw.gpu (83792, 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 (./Unit_test_logger_3D_space.c: 26517) NVC++/x86-64 Linux 24.7-0: compilation aborted INFO: call to nvc failed with Command 'nvc -o ./Unit_test_logger_3D_space.out ./Unit_test_logger_3D_space.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' 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 ./Unit_test_logger_3D_space.out ./Unit_test_logger_3D_space.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' returned non-zero exit status 2.