INFO: No output directory specified (--dir) INFO: Using directory: "Incoherent_validation_20241206_162817" INFO: Regenerating c-file: Incoherent_validation.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./Incoherent_validation.c Incoherent_validation.instr 2024-12-06 16:28:20.116 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Incoherent(0):read_table-lib :Incoherent(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-06 16:28:20.116 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib monitor_nd-lib 2024-12-06 16:28:20.116 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to monitor_nd-lib 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 a1 -> GPU kernel from component source -> GPU kernel from component sample_position -> 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 cylinder_sample_incoherent -> GPU kernel from component m4pi -> GPU kernel from component Banana_monitor -> GPU kernel from component PSDlin_transmission -> GPU kernel from component PSD_transmission -> GPU kernel from component scattering_arm -> GPU kernel from component PSDlin_scattering -> GPU kernel from component scattering_arm_2 -> GPU kernel from component PSDlin_scattering_2 -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./Incoherent_validation.out DEBUG: CMD: nvc -o ./Incoherent_validation.out ./Incoherent_validation.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./Incoherent_validation.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 " "./Incoherent_validation.c", line 8748: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Incoherent_validation.c", line 9272: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Incoherent_validation.c", line 9295: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Incoherent_validation.c", line 9783: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Incoherent_validation.c", line 9784: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Incoherent_validation.c", line 9785: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Incoherent_validation.c", line 9945: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Incoherent_validation.c", line 10165: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Incoherent_validation.c", line 10324: 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; ^ "./Incoherent_validation.c", line 10325: 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; ^ "./Incoherent_validation.c", line 10600: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Incoherent_validation.c", line 10359: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Incoherent_validation.c", line 10361: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Incoherent_validation.c", line 10362: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Incoherent_validation.c", line 10363: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Incoherent_validation.c", line 10387: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Incoherent_validation.c", line 10396: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Incoherent_validation.c", line 10396: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Incoherent_validation.c", line 10398: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Incoherent_validation.c", line 10447: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Incoherent_validation.c", line 10614: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Incoherent_validation.c", line 10615: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Incoherent_validation.c", line 10616: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Incoherent_validation.c", line 10645: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Incoherent_validation.c", line 10703: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Incoherent_validation.c", line 10719: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Incoherent_validation.c", line 10719: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Incoherent_validation.c", line 10720: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Incoherent_validation.c", line 10721: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Incoherent_validation.c", line 11158: 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); ^ "./Incoherent_validation.c", line 11147: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Incoherent_validation.c", line 11224: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Incoherent_validation.c", line 11431: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Incoherent_validation.c", line 11529: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Incoherent_validation.c", line 11715: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Incoherent_validation.c", line 11908: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Incoherent_validation.c", line 11909: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Incoherent_validation.c", line 12443: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Incoherent_validation.c", line 12444: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Incoherent_validation.c", line 12843: 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); ^ "./Incoherent_validation.c", line 12703: 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; ^ "./Incoherent_validation.c", line 12708: 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; ^ "./Incoherent_validation.c", line 12709: 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; ^ "./Incoherent_validation.c", line 12710: 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; ^ "./Incoherent_validation.c", line 12717: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Incoherent_validation.c", line 12718: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Incoherent_validation.c", line 12841: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Incoherent_validation.c", line 13107: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Incoherent_validation.c", line 13173: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Incoherent_validation.c", line 13359: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Incoherent_validation.c", line 13362: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Incoherent_validation.c", line 13519: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Incoherent_validation.c", line 13522: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Incoherent_validation.c", line 14441: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Incoherent_validation.c", line 14350: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Incoherent_validation.c", line 14653: 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; ^ "./Incoherent_validation.c", line 14843: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Incoherent_validation.c", line 14992: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Incoherent_validation.c", line 15396: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Incoherent_validation.c", line 18417: 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; ^ "./Incoherent_validation.c", line 18417: 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; ^ "./Incoherent_validation.c", line 18417: 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; ^ "./Incoherent_validation.c", line 18417: 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; ^ "./Incoherent_validation.c", line 18417: 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; ^ "./Incoherent_validation.c", line 18417: 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; ^ "./Incoherent_validation.c", line 18774: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Incoherent_validation.c", line 21620: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Incoherent_validation.c", line 21620: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Incoherent_validation.c", line 21647: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Incoherent_validation.c", line 21647: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Incoherent_validation.c", line 21738: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Incoherent_validation.c", line 21776: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Incoherent_validation.c", line 21812: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Incoherent_validation.c", line 21848: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Incoherent_validation.c", line 22525: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Incoherent_validation.c", line 25426: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Incoherent_validation.c", line 26401: warning: variable "l_i" was set but never used [set_but_not_used] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./Incoherent_validation.c", line 26401: warning: variable "l_o" was declared but never referenced [declared_but_not_referenced] double l_i, l_o=0; /* Flight path lenght in/out for scattered neutron */ ^ "./Incoherent_validation.c", line 29865: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Incoherent_validation.c", line 29866: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Incoherent_validation.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Incoherent_validation.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: 8003, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code length_of_3vector: 8011, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 8026, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code on_int_list: 8041, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code print_1d_int_list: 8262, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 8592, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 8672, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code initialize_tagging_tree_node: 8695, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_process_node: 8721, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_volume_node: 8741, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code add_statistics_to_node: 8790, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code clear_intersection_table: 9088, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_advanced: 9771, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_simple: 9965, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_simple: 10006, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cone: 10025, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cone_intersect: 10089, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_advanced: 10873, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_sphere_intersect: 11000, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_sphere: 11022, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cylinder_intersect: 11067, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cylinder: 11128, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_function: 13249, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_function: 13281, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code within_which_volume_GPU: 13479, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_my: 15835, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Incoherent_physics_scattering: 15841, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_my: 16113, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_scattering: 16172, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code Table_Index: 17674, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 17742, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 17821, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 18289, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 18305, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 18323, Generating acc routine seq Generating NVIDIA GPU code off_F: 18374, Generating acc routine seq Generating NVIDIA GPU code off_sign: 18379, Generating acc routine seq Generating NVIDIA GPU code off_normal: 18389, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 18415, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 18478, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 18609, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 18654, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 18771, Generating acc routine seq Generating NVIDIA GPU code off_compare: 18889, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 18901, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 18936, Generating acc routine seq Generating NVIDIA GPU code Min_int: 19187, Generating acc routine seq Generating NVIDIA GPU code merge: 19194, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 19298, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 19313, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 19367, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 19484, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 19506, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 20616, Generating acc routine seq Generating NVIDIA GPU code init: 24669, Generating update device(_cylinder_sample_union_var,_PSDlin_transmission_var,_Vanadium_incoherent_var,_Vanadium_var,_scattering_arm_var,_m4pi_var,_cylinder_sample_incoherent_var,_test_sample_var,_stop_var,_a1_var,_instrument_var,_PSDlin_scattering_var,_Banana_monitor_var,_scattering_arm_2_var,_PSDlin_scattering_2_var,_sample_position_var,_PSD_transmission_var,_source_var,_init_var) class_Progress_bar_trace: 24713, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 24803, 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 (./Incoherent_validation.c: 26100) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Incoherent_validation.c: 26048) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Incoherent_validation.c: 25093) class_Union_master_trace: 26055, Accelerator restriction: Indirect function/procedure calls are not supported 26107, Accelerator restriction: Indirect function/procedure calls are not supported 26153, Accelerator restriction: Indirect function/procedure calls are not supported class_Incoherent_trace: 26361, Generating acc routine seq Generating NVIDIA GPU code 26558, Reference argument passing prevents parallelization: solid_angle 26561, Reference argument passing prevents parallelization: solid_angle class_PSD_monitor_4PI_trace: 26660, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 26738, Generating acc routine seq Generating NVIDIA GPU code class_PSDlin_monitor_trace: 27028, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 27106, Generating acc routine seq Generating NVIDIA GPU code raytrace: 27184, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 27491, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 27505, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 27491, Local memory used for .inl_particle_33409,particleN,.inl_.inl_mcneutron_0_33424,.inl_.X2862_33426,.inl_.inl_.X3067_15_33425 27505, Generating implicit firstprivate(seed,_particle) finally: 28887, Generating update self(_cylinder_sample_union_var,_PSDlin_transmission_var,_Vanadium_incoherent_var,_Vanadium_var,_scattering_arm_var,_m4pi_var,_cylinder_sample_incoherent_var,_test_sample_var,_stop_var,_a1_var,_instrument_var,_PSDlin_scattering_var,_Banana_monitor_var,_scattering_arm_2_var,_PSDlin_scattering_2_var,_sample_position_var,_PSD_transmission_var,_source_var,_init_var) mcenabletrace: 5890, Generating update device(mcdotrace) nvvmCompileProgram error 9: NVVM_ERROR_COMPILATION. Error: /tmp/nvaccJhGHmPhKN7w8W.gpu (114161, 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 (./Incoherent_validation.c: 27491) NVC++/x86-64 Linux 24.7-0: compilation aborted INFO: call to nvc failed with Command 'nvc -o ./Incoherent_validation.out ./Incoherent_validation.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 ./Incoherent_validation.out ./Incoherent_validation.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2.