INFO: No output directory specified (--dir) INFO: Using directory: "IncoherentPhonon_test_20241206_155756" INFO: Regenerating c-file: IncoherentPhonon_test.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -t -o ./IncoherentPhonon_test.c IncoherentPhonon_test.instr Downloading file 'mcstas-comps/union/IncoherentPhonon_process.comp' from 'https://github.com/McStasMcXtrace/McCode/raw/v3.5.14/mcstas-comps/union/IncoherentPhonon_process.comp' to '/home/nexmap/pkwi/.cache/mcstas/v3.5.14'. 2024-12-06 15:58:00.896 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2024-12-06 15:58:00.896 | 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 V_phonon -> GPU kernel from component V -> 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 Banana_monitor -> GPU kernel from component arm_ener_1 -> GPU kernel from component energy_mon_1 -> GPU kernel from component arm_ener_2 -> GPU kernel from component energy_mon_2 -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr finished INFO: Recompiling: ./IncoherentPhonon_test.out DEBUG: CMD: nvc -o ./IncoherentPhonon_test.out ./IncoherentPhonon_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./IncoherentPhonon_test.c", line 4489: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./IncoherentPhonon_test.c", line 8776: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./IncoherentPhonon_test.c", line 9300: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./IncoherentPhonon_test.c", line 9323: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./IncoherentPhonon_test.c", line 9811: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./IncoherentPhonon_test.c", line 9812: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./IncoherentPhonon_test.c", line 9813: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./IncoherentPhonon_test.c", line 9973: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./IncoherentPhonon_test.c", line 10193: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./IncoherentPhonon_test.c", line 10352: 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; ^ "./IncoherentPhonon_test.c", line 10353: 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; ^ "./IncoherentPhonon_test.c", line 10628: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./IncoherentPhonon_test.c", line 10387: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./IncoherentPhonon_test.c", line 10389: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./IncoherentPhonon_test.c", line 10390: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./IncoherentPhonon_test.c", line 10391: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./IncoherentPhonon_test.c", line 10415: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./IncoherentPhonon_test.c", line 10424: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./IncoherentPhonon_test.c", line 10424: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./IncoherentPhonon_test.c", line 10426: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./IncoherentPhonon_test.c", line 10475: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./IncoherentPhonon_test.c", line 10642: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./IncoherentPhonon_test.c", line 10643: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./IncoherentPhonon_test.c", line 10644: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./IncoherentPhonon_test.c", line 10673: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./IncoherentPhonon_test.c", line 10731: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./IncoherentPhonon_test.c", line 10747: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./IncoherentPhonon_test.c", line 10747: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./IncoherentPhonon_test.c", line 10748: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./IncoherentPhonon_test.c", line 10749: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./IncoherentPhonon_test.c", line 11186: 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); ^ "./IncoherentPhonon_test.c", line 11175: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 11252: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 11459: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 11557: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./IncoherentPhonon_test.c", line 11743: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 11936: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./IncoherentPhonon_test.c", line 11937: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./IncoherentPhonon_test.c", line 12471: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./IncoherentPhonon_test.c", line 12472: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./IncoherentPhonon_test.c", line 12871: 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); ^ "./IncoherentPhonon_test.c", line 12731: 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; ^ "./IncoherentPhonon_test.c", line 12736: 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; ^ "./IncoherentPhonon_test.c", line 12737: 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; ^ "./IncoherentPhonon_test.c", line 12738: 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; ^ "./IncoherentPhonon_test.c", line 12745: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./IncoherentPhonon_test.c", line 12746: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./IncoherentPhonon_test.c", line 12869: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./IncoherentPhonon_test.c", line 13135: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./IncoherentPhonon_test.c", line 13201: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 13387: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./IncoherentPhonon_test.c", line 13390: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./IncoherentPhonon_test.c", line 13547: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./IncoherentPhonon_test.c", line 13550: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./IncoherentPhonon_test.c", line 14469: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./IncoherentPhonon_test.c", line 14378: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./IncoherentPhonon_test.c", line 14681: 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; ^ "./IncoherentPhonon_test.c", line 14871: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./IncoherentPhonon_test.c", line 15020: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./IncoherentPhonon_test.c", line 15424: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./IncoherentPhonon_test.c", line 16198: warning: variable "type" was set but never used [set_but_not_used] int p, type; ^ "./IncoherentPhonon_test.c", line 16415: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 16415: warning: variable "p" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 16415: warning: variable "pmax" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 16416: warning: variable "h" was declared but never referenced [declared_but_not_referenced] double h = 4.13567; // planck constant in meV*ps ^ "./IncoherentPhonon_test.c", line 16417: warning: variable "dkabs" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 16417: warning: variable "Q2" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 16417: warning: variable "g0" was set but never used [set_but_not_used] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 16418: warning: variable "xi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16418: warning: variable "dxi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16418: warning: variable "fac1" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16418: warning: variable "fac2" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16418: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16419: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 17180: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 17180: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 17230: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 17230: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 17280: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 17280: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 17781: warning: statement is unreachable [code_is_unreachable] *x = -sqrt(-1.0); ^ "./IncoherentPhonon_test.c", line 17761: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 17810: warning: statement is unreachable [code_is_unreachable] printf("sample_u_mph: maxIter reached\n"); ^ "./IncoherentPhonon_test.c", line 17787: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 17888: warning: statement is unreachable [code_is_unreachable] printf("sample_Q2_mph: maxIter reached\n"); ^ "./IncoherentPhonon_test.c", line 17817: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 17820: warning: variable "x" was set but never used [set_but_not_used] double x, x2, Q2min, Q2max; ^ "./IncoherentPhonon_test.c", line 17894: warning: variable "np2" was set but never used [set_but_not_used] int i, np, np1, np2; ^ "./IncoherentPhonon_test.c", line 18029: warning: statement is unreachable [code_is_unreachable] sq1 = s2; ^ "./IncoherentPhonon_test.c", line 18080: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 18129: warning: variable "fmax" was declared but never referenced [declared_but_not_referenced] double u, xs, Q2, dQ2, fmax; ^ "./IncoherentPhonon_test.c", line 18338: warning: variable "num" was set but never used [set_but_not_used] int i, j, nx, nz, num, p; ^ "./IncoherentPhonon_test.c", line 18339: warning: variable "tsp" was declared but never referenced [declared_but_not_referenced] double E, x, xmin, xmax, dx, z, dz, u, Q2, tsp, Erat, Q2f; ^ "./IncoherentPhonon_test.c", line 18522: warning: variable "Q2g" was declared but never referenced [declared_but_not_referenced] double tsp, g, g0, d2g, Q2g, S; ^ "./IncoherentPhonon_test.c", line 18539: warning: variable "Q2g" was declared but never referenced [declared_but_not_referenced] double tsp, g, g0, d2g, H, Q2H, Q2g, S; ^ "./IncoherentPhonon_test.c", line 18581: warning: variable "a0" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18581: warning: variable "a2" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18581: warning: variable "a4" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18581: warning: variable "a6" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18581: warning: variable "a8" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18581: warning: variable "a10" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b0" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b1" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b3" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b5" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b7" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b9" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18582: warning: variable "b11" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18757: warning: variable "d2g1" was set but never used [set_but_not_used] double xi1, tsp1, g1, d2g1, H1, r1; ^ "./IncoherentPhonon_test.c", line 18758: warning: variable "d2g2" was set but never used [set_but_not_used] double xi2, tsp2, g2, d2g2, H2, r2; ^ "./IncoherentPhonon_test.c", line 18942: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 18942: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./IncoherentPhonon_test.c", line 19275: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 19499: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 19845: warning: variable "h" was declared but never referenced [declared_but_not_referenced] double h = 4.13567; // planck constant in meV*ps ^ "./IncoherentPhonon_test.c", line 23285: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./IncoherentPhonon_test.c", line 23285: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./IncoherentPhonon_test.c", line 23312: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./IncoherentPhonon_test.c", line 23312: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./IncoherentPhonon_test.c", line 24854: 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; ^ "./IncoherentPhonon_test.c", line 24854: 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; ^ "./IncoherentPhonon_test.c", line 24854: 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; ^ "./IncoherentPhonon_test.c", line 24854: 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; ^ "./IncoherentPhonon_test.c", line 24854: 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; ^ "./IncoherentPhonon_test.c", line 24854: 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; ^ "./IncoherentPhonon_test.c", line 25211: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./IncoherentPhonon_test.c", line 26117: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26167: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26203: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26239: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26717: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 29415: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./IncoherentPhonon_test.c", line 32987: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./IncoherentPhonon_test.c", line 32988: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./IncoherentPhonon_test.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./IncoherentPhonon_test.c", line 2901: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 89, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 103, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 136, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 161, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 184, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 196, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 205, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 216, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1545, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1549, Generating acc routine seq Generating NVIDIA GPU code str_len: 1558, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4110, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4541, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4552, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4561, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4573, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4585, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4613, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4645, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4652, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4698, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4733, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4744, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4761, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4772, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4788, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4817, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4828, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4832, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5009, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5040, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5057, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5156, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5240, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5306, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5383, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5655, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5665, Generating acc routine seq Generating NVIDIA GPU code _hash: 5691, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5732, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5743, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5748, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5756, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5764, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5771, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6428, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6524, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6541, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6656, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6711, Generating acc routine seq Generating NVIDIA GPU code distance_between: 8031, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code length_of_3vector: 8039, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 8054, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code on_int_list: 8069, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code print_1d_int_list: 8290, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 8620, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 8700, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code initialize_tagging_tree_node: 8723, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_process_node: 8749, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_volume_node: 8769, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code add_statistics_to_node: 8818, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code clear_intersection_table: 9116, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_advanced: 9799, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_simple: 9993, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_simple: 10034, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cone: 10053, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cone_intersect: 10117, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_advanced: 10901, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_sphere_intersect: 11028, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_sphere: 11050, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cylinder_intersect: 11095, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cylinder: 11156, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_function: 13277, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_function: 13309, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code within_which_volume_GPU: 13507, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code IncoherentPhonon_physics_my: 16149, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 16973) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 19029) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 16973) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 19015) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 19003) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 16973) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 16973) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 16973) NVC++-S-1058-Call to variadic function not supported - fprintf (./IncoherentPhonon_test.c: 16228) NVC++/x86-64 Linux 24.7-0: compilation completed with severe errors INFO: call to nvc failed with Command 'nvc -o ./IncoherentPhonon_test.out ./IncoherentPhonon_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2. Traceback (most recent call last): File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 595, in main() File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 503, in main mcstas.prepare(options) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 294, in prepare Process(lexer.quote(options.cc)).run(args) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 77, in run raise err File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'nvc -o ./IncoherentPhonon_test.out ./IncoherentPhonon_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' returned non-zero exit status 2.