INFO: No output directory specified (--dir) INFO: Using directory: "Laue_camera_20241222_120219" INFO: Regenerating c-file: Laue_camera.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./Laue_camera.c Laue_camera.instr 2024-12-22 12:02:57.014 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Single_crystal_process(0):read_table-lib :Single_crystal_process(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-22 12:02:57.014 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to monitor_nd-lib read_table-lib interoff-lib 2024-12-22 12:02:57.015 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib monitor_nd-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 YBaCuO_incoherent -> GPU kernel from component single_crystal_orientation_110_vertical -> GPU kernel from component single_crystal_orientation_001_along_x -> GPU kernel from component YBaCuO_single_crystal -> GPU kernel from component YBaCuO -> GPU kernel from component Origin -> GPU kernel from component source -> GPU kernel from component slit -> GPU kernel from component cylinder_sample_union Component test_sample is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component test_sample -> GPU kernel from component det -> GPU kernel from component Banana_monitor -> GPU kernel from component PSDlin_transmission_scattered -> GPU kernel from component PSDlin_transmission_transmitted -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Laue_camera.out DEBUG: CMD: nvc -o ./Laue_camera.out ./Laue_camera.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 "./Laue_camera.c", line 4492: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Laue_camera.c", line 8764: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Laue_camera.c", line 9288: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Laue_camera.c", line 9311: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Laue_camera.c", line 9799: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Laue_camera.c", line 9800: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Laue_camera.c", line 9801: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Laue_camera.c", line 9961: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Laue_camera.c", line 10181: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Laue_camera.c", line 10340: 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; ^ "./Laue_camera.c", line 10341: 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; ^ "./Laue_camera.c", line 10616: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Laue_camera.c", line 10375: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Laue_camera.c", line 10377: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Laue_camera.c", line 10378: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Laue_camera.c", line 10379: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Laue_camera.c", line 10403: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Laue_camera.c", line 10412: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Laue_camera.c", line 10412: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Laue_camera.c", line 10414: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Laue_camera.c", line 10463: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Laue_camera.c", line 10630: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Laue_camera.c", line 10631: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Laue_camera.c", line 10632: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Laue_camera.c", line 10661: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Laue_camera.c", line 10719: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Laue_camera.c", line 10735: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Laue_camera.c", line 10735: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Laue_camera.c", line 10736: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Laue_camera.c", line 10737: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Laue_camera.c", line 11174: 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); ^ "./Laue_camera.c", line 11163: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Laue_camera.c", line 11240: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Laue_camera.c", line 11447: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Laue_camera.c", line 11545: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Laue_camera.c", line 11731: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Laue_camera.c", line 11924: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Laue_camera.c", line 11925: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Laue_camera.c", line 12459: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Laue_camera.c", line 12460: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Laue_camera.c", line 12859: 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); ^ "./Laue_camera.c", line 12719: 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; ^ "./Laue_camera.c", line 12724: 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; ^ "./Laue_camera.c", line 12725: 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; ^ "./Laue_camera.c", line 12726: 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; ^ "./Laue_camera.c", line 12733: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Laue_camera.c", line 12734: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Laue_camera.c", line 12857: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Laue_camera.c", line 13123: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Laue_camera.c", line 13189: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Laue_camera.c", line 13375: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Laue_camera.c", line 13378: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Laue_camera.c", line 13535: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Laue_camera.c", line 13538: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Laue_camera.c", line 14457: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Laue_camera.c", line 14366: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Laue_camera.c", line 14669: 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; ^ "./Laue_camera.c", line 14859: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Laue_camera.c", line 15008: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Laue_camera.c", line 15412: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Laue_camera.c", line 16654: warning: missing return statement at end of non-void function "Single_crystal_physics_my" [implicit_return_from_non_void_function] }; ^ "./Laue_camera.c", line 16666: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Laue_camera.c", line 16666: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Laue_camera.c", line 16666: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Laue_camera.c", line 16667: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Laue_camera.c", line 16667: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Laue_camera.c", line 16667: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Laue_camera.c", line 16669: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double adjust, r, sum; /* Temporaries */ ^ "./Laue_camera.c", line 16672: warning: variable "kix" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Laue_camera.c", line 16672: warning: variable "kiy" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Laue_camera.c", line 16672: warning: variable "kiz" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Laue_camera.c", line 19786: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Laue_camera.c", line 19786: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Laue_camera.c", line 19813: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Laue_camera.c", line 19813: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Laue_camera.c", line 21355: 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; ^ "./Laue_camera.c", line 21355: 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; ^ "./Laue_camera.c", line 21355: 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; ^ "./Laue_camera.c", line 21355: 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; ^ "./Laue_camera.c", line 21355: 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; ^ "./Laue_camera.c", line 21355: 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; ^ "./Laue_camera.c", line 21712: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Laue_camera.c", line 22618: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22656: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22688: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22720: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22791: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22827: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22863: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 22908: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 23316: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 23504: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Laue_camera.c", line 23504: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Laue_camera.c", line 23504: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Laue_camera.c", line 23505: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Laue_camera.c", line 26460: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Laue_camera.c", line 26087: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Laue_camera.c", line 30331: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Laue_camera.c", line 30332: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Laue_camera.c", line 1500: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Laue_camera.c", line 2903: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 90, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 104, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 137, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 162, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 185, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 197, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 206, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 217, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1547, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1551, Generating acc routine seq Generating NVIDIA GPU code str_len: 1560, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4113, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4544, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4555, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4564, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4576, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4588, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4598, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4608, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4616, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4626, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4648, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4655, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4701, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4736, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4747, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4764, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4775, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4791, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4820, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4831, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4835, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5012, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5043, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5060, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5159, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5243, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5309, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5386, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5658, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5668, Generating acc routine seq Generating NVIDIA GPU code _hash: 5694, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5735, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5746, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5751, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5759, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5767, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5774, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6431, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6527, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6544, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6659, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6714, Generating acc routine seq Generating NVIDIA GPU code distance_between: 8019, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code length_of_3vector: 8027, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 8042, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code on_int_list: 8057, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code print_1d_int_list: 8278, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 8608, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 8688, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code initialize_tagging_tree_node: 8711, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_process_node: 8737, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_volume_node: 8757, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code add_statistics_to_node: 8806, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code clear_intersection_table: 9104, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_advanced: 9787, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_simple: 9981, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_simple: 10022, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cone: 10041, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cone_intersect: 10105, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_advanced: 10889, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_sphere_intersect: 11016, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_sphere: 11038, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cylinder_intersect: 11083, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cylinder: 11144, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_function: 13265, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_function: 13297, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code within_which_volume_GPU: 13495, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_my: 15851, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_scattering: 15857, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code hkl_search_union: 16405, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code hkl_select_union: 16504, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code randrotate_union: 16518, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code randderotate_union: 16525, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code PGrotate_union: 16532, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code PGderotate_union: 16539, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Single_crystal_physics_my: 16570, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Single_crystal_physics_scattering: 16658, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_my: 16983, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_scattering: 17042, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 18767, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 20612, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 20680, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 20759, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 21227, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 21243, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 21261, Generating acc routine seq Generating NVIDIA GPU code off_F: 21312, Generating acc routine seq Generating NVIDIA GPU code off_sign: 21317, Generating acc routine seq Generating NVIDIA GPU code off_normal: 21327, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 21353, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 21416, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 21547, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 21592, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 21709, Generating acc routine seq Generating NVIDIA GPU code off_compare: 21827, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 21839, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 21874, Generating acc routine seq Generating NVIDIA GPU code Min_int: 22125, Generating acc routine seq Generating NVIDIA GPU code merge: 22132, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 22236, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 22251, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 22305, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 22422, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 22444, Generating acc routine seq Generating NVIDIA GPU code init: 25547, Generating update device(_det_var,_PSDlin_transmission_transmitted_var,_single_crystal_orientation_001_along_x_var,_instrument_var,_YBaCuO_incoherent_var,_YBaCuO_single_crystal_var,_Banana_monitor_var,_slit_var,_single_crystal_orientation_110_vertical_var,_YBaCuO_var,_test_sample_var,_stop_var,_cylinder_sample_union_var,_Origin_var,_PSDlin_transmission_scattered_var,_source_var,_init_var) class_Single_crystal_process_trace: 25591, Generating acc routine seq Generating NVIDIA GPU code class_Progress_bar_trace: 25684, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 25774, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 25877, 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 (./Laue_camera.c: 27134) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Laue_camera.c: 27082) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Laue_camera.c: 26119) class_Union_master_trace: 27089, Accelerator restriction: Indirect function/procedure calls are not supported 27141, Accelerator restriction: Indirect function/procedure calls are not supported 27187, Accelerator restriction: Indirect function/procedure calls are not supported class_PSD_monitor_4PI_trace: 27404, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 27482, Generating acc routine seq Generating NVIDIA GPU code class_PSDlin_monitor_trace: 27772, Generating acc routine seq Generating NVIDIA GPU code raytrace: 27857, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 28139, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 28153, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 28139, Local memory used for .inl_particle_34131,particleN,.inl_.inl_mcneutron_0_34146,.inl_.X2966_34148,.inl_.inl_.X3171_15_34147 28153, Generating implicit firstprivate(seed,_particle) finally: 29432, Generating update self(_det_var,_PSDlin_transmission_transmitted_var,_single_crystal_orientation_001_along_x_var,_instrument_var,_YBaCuO_incoherent_var,_YBaCuO_single_crystal_var,_Banana_monitor_var,_slit_var,_single_crystal_orientation_110_vertical_var,_YBaCuO_var,_test_sample_var,_stop_var,_cylinder_sample_union_var,_Origin_var,_PSDlin_transmission_scattered_var,_source_var,_init_var) mcenabletrace: 5893, Generating update device(mcdotrace) nvvmCompileProgram error 9: NVVM_ERROR_COMPILATION. Error: /tmp/nvaccMfVWhY_ubw8EW.gpu (113902, 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 (./Laue_camera.c: 28139) NVC++/x86-64 Linux 24.7-0: compilation aborted INFO: call to nvc failed with Command 'nvc -o ./Laue_camera.out ./Laue_camera.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 ./Laue_camera.out ./Laue_camera.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.