INFO: No output directory specified (--dir) INFO: Using directory: "IncoherentPhonon_test_20241118_033244" INFO: Regenerating c-file: IncoherentPhonon_test.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./IncoherentPhonon_test.c IncoherentPhonon_test.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component test_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample -> GPU kernel from component Banana_monitor ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./IncoherentPhonon_test.out DEBUG: CMD: nvc -o ./IncoherentPhonon_test.out ./IncoherentPhonon_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -DFUNNEL "./IncoherentPhonon_test.c", line 4486: 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 4941: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./IncoherentPhonon_test.c", line 4860: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./IncoherentPhonon_test.c", line 8221: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./IncoherentPhonon_test.c", line 8745: 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 8768: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./IncoherentPhonon_test.c", line 9256: 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 9257: 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 9258: 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 9418: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./IncoherentPhonon_test.c", line 9638: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./IncoherentPhonon_test.c", line 9797: 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 9798: 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 10073: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./IncoherentPhonon_test.c", line 9832: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./IncoherentPhonon_test.c", line 9834: 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 9835: 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 9836: 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 9860: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./IncoherentPhonon_test.c", line 9869: 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 9869: 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 9871: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./IncoherentPhonon_test.c", line 9920: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./IncoherentPhonon_test.c", line 10087: 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 10088: 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 10089: 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 10118: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./IncoherentPhonon_test.c", line 10176: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./IncoherentPhonon_test.c", line 10192: 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 10192: 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 10193: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./IncoherentPhonon_test.c", line 10194: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./IncoherentPhonon_test.c", line 10631: 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 10620: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 10697: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 10904: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 11002: 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 11188: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 11381: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./IncoherentPhonon_test.c", line 11382: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./IncoherentPhonon_test.c", line 11916: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./IncoherentPhonon_test.c", line 11917: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./IncoherentPhonon_test.c", line 12316: 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 12176: 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 12181: 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 12182: 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 12183: 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 12190: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./IncoherentPhonon_test.c", line 12191: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./IncoherentPhonon_test.c", line 12314: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./IncoherentPhonon_test.c", line 12580: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./IncoherentPhonon_test.c", line 12646: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 12832: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./IncoherentPhonon_test.c", line 12835: 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 12992: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./IncoherentPhonon_test.c", line 12995: 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 13914: 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 13823: 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 14126: 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 14316: 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 14465: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./IncoherentPhonon_test.c", line 14869: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./IncoherentPhonon_test.c", line 15643: warning: variable "type" was set but never used [set_but_not_used] int p, type; ^ "./IncoherentPhonon_test.c", line 15860: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 15860: warning: variable "p" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 15860: warning: variable "pmax" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 15861: 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 15862: warning: variable "dkabs" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 15862: warning: variable "Q2" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 15862: warning: variable "g0" was set but never used [set_but_not_used] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 15863: warning: variable "xi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 15863: warning: variable "dxi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 15863: warning: variable "fac1" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 15863: warning: variable "fac2" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 15863: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 15864: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 16625: 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 16625: 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 16675: 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 16675: 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 16725: 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 16725: 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 17226: warning: statement is unreachable [code_is_unreachable] *x = -sqrt(-1.0); ^ "./IncoherentPhonon_test.c", line 17206: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 17255: warning: statement is unreachable [code_is_unreachable] printf("sample_u_mph: maxIter reached\n"); ^ "./IncoherentPhonon_test.c", line 17232: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 17333: warning: statement is unreachable [code_is_unreachable] printf("sample_Q2_mph: maxIter reached\n"); ^ "./IncoherentPhonon_test.c", line 17262: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 17265: warning: variable "x" was set but never used [set_but_not_used] double x, x2, Q2min, Q2max; ^ "./IncoherentPhonon_test.c", line 17339: warning: variable "np2" was set but never used [set_but_not_used] int i, np, np1, np2; ^ "./IncoherentPhonon_test.c", line 17474: warning: statement is unreachable [code_is_unreachable] sq1 = s2; ^ "./IncoherentPhonon_test.c", line 17525: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 17574: warning: variable "fmax" was declared but never referenced [declared_but_not_referenced] double u, xs, Q2, dQ2, fmax; ^ "./IncoherentPhonon_test.c", line 17783: warning: variable "num" was set but never used [set_but_not_used] int i, j, nx, nz, num, p; ^ "./IncoherentPhonon_test.c", line 17784: 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 17967: warning: variable "Q2g" was declared but never referenced [declared_but_not_referenced] double tsp, g, g0, d2g, Q2g, S; ^ "./IncoherentPhonon_test.c", line 17984: 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 18026: warning: variable "a0" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18026: warning: variable "a2" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18026: warning: variable "a4" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18026: warning: variable "a6" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18026: warning: variable "a8" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18026: warning: variable "a10" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b0" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b1" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b3" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b5" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b7" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b9" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18027: warning: variable "b11" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18202: warning: variable "d2g1" was set but never used [set_but_not_used] double xi1, tsp1, g1, d2g1, H1, r1; ^ "./IncoherentPhonon_test.c", line 18203: warning: variable "d2g2" was set but never used [set_but_not_used] double xi2, tsp2, g2, d2g2, H2, r2; ^ "./IncoherentPhonon_test.c", line 18387: 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 18387: 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 18720: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 18944: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 19290: 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 22224: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./IncoherentPhonon_test.c", line 22224: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./IncoherentPhonon_test.c", line 22251: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./IncoherentPhonon_test.c", line 22251: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./IncoherentPhonon_test.c", line 24148: 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 24148: 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 24148: 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 24148: 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 24148: 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 24148: 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 24505: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./IncoherentPhonon_test.c", line 26126: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26122: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./IncoherentPhonon_test.c", line 26193: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26167: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./IncoherentPhonon_test.c", line 26249: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26234: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./IncoherentPhonon_test.c", line 26302: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26290: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./IncoherentPhonon_test.c", line 26343: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./IncoherentPhonon_test.c", line 26404: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./IncoherentPhonon_test.c", line 26453: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./IncoherentPhonon_test.c", line 26529: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./IncoherentPhonon_test.c", line 26592: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./IncoherentPhonon_test.c", line 26694: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./IncoherentPhonon_test.c", line 26743: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./IncoherentPhonon_test.c", line 26809: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./IncoherentPhonon_test.c", line 26858: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./IncoherentPhonon_test.c", line 26927: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 26924: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./IncoherentPhonon_test.c", line 29653: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./IncoherentPhonon_test.c", line 33318: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./IncoherentPhonon_test.c", line 33319: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./IncoherentPhonon_test.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./IncoherentPhonon_test.c", line 2898: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 158, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 180, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 191, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 200, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 210, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4107, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4538, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4549, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4558, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4570, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4592, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4602, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4620, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4649, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4695, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4730, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4741, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4758, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4769, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4785, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4814, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4825, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4829, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4864, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4871, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4880, #pragma acc loop seq 4864, Generating implicit copy(lens[:]) [if not already present] 4871, Generating implicit firstprivate(ll,l) 4882, Accelerator restriction: induction variable live-out from loop: i 4883, Accelerator restriction: induction variable live-out from loop: i 4884, Accelerator restriction: induction variable live-out from loop: i 4885, Accelerator restriction: induction variable live-out from loop: i 4887, Accelerator restriction: induction variable live-out from loop: j 4888, Accelerator restriction: induction variable live-out from loop: j 4889, Accelerator restriction: induction variable live-out from loop: j 4890, Accelerator restriction: induction variable live-out from loop: j 4912, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4916, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4919, #pragma acc loop seq 4912, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4919, Generating implicit firstprivate(l) 4936, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4940, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4947, #pragma acc loop seq 4936, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5006, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5037, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5054, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5153, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5237, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5303, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5380, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5652, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5662, Generating acc routine seq Generating NVIDIA GPU code _hash: 5688, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5729, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5740, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5745, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5761, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5768, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6427, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6463, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6523, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6540, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6655, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6710, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 21220, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 23202, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 23270, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 23349, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 23817, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 23833, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 23851, Generating acc routine seq Generating NVIDIA GPU code off_F: 24105, Generating acc routine seq Generating NVIDIA GPU code off_sign: 24110, Generating acc routine seq Generating NVIDIA GPU code off_normal: 24120, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 24146, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 24209, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 24340, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 24385, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 24502, Generating acc routine seq Generating NVIDIA GPU code off_compare: 24620, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 24632, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 24667, Generating acc routine seq Generating NVIDIA GPU code Min_int: 24918, Generating acc routine seq Generating NVIDIA GPU code merge: 24925, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 25029, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 25044, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 25098, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 25215, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 25237, Generating acc routine seq Generating NVIDIA GPU code init: 28900, Generating update device(_energy_mon_2_var,_Banana_monitor_var,_V_phonon_var,_V_var,_sample_position_var,_instrument_var,_arm_ener_2_var,_test_sample_var,_stop_var,_a1_var,_cylinder_sample_union_var,_arm_ener_1_var,_energy_mon_1_var,_source_var,_init_var) class_Progress_bar_trace: 28943, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 29033, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 30588, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 30878, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 31278, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31282, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31278, Local memory used for .inl_particle_45813,.inl_.inl_mcneutron_0_45828,.inl_.X2877_45830,.inl_.inl_.X3084_15_45829 31282, Generating implicit firstprivate(seed,_particle) 31292, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31297, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31292, Local memory used for .inl_.inl_c_1920_45877,.inl_.inl_.inl_b_1894_1926_45882,.inl_.inl_.inl_.X3049_1893_1925_45881,.inl_.inl_b_1916_45876,.inl_.inl_c_1909_45866,.inl_.inl_.inl_b_1894_1915_45871,.inl_.inl_.inl_.X3049_1893_1914_45870,.inl_.inl_b_1905_45865,.inl_.inl_.X3033_1904_45860,.inl_.inl_c_1901_45859,.inl_c_45892,.inl_.inl_b_1900_45857,.inl_.inl_.X3049_1899_45856,.inl_b_45849,.inl_.X3032_45848,.inl_.X3033_45843,.inl_c_45851,.inl_.X3031_45839,.inl_a_45835,_particle_save,.inl_c_45903,.inl_.inl_c_1909_45918,.inl_.inl_.inl_b_1894_1915_45923,.inl_.inl_.inl_.X3049_1893_1914_45922,.inl_.inl_b_1905_45917,.inl_.inl_c_1901_45911,.inl_.inl_.inl_.X3049_1893_1925_45933,.inl_.inl_.X3049_1899_45908,.inl_.inl_b_1900_45909,.inl_.X3033_45895,.inl_.inl_b_1916_45928,.inl_c_45840,.inl_.inl_.inl_b_1894_1926_45934,.inl_.inl_.X3033_1904_45912,.inl_a_45887,.inl_.X3031_45891,.inl_.X3032_45900,.inl_b_45901,.inl_.inl_c_1920_45929 31297, Generating implicit private(_particle) 31380, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31383, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31380, Local memory used for .inl_.inl_c_1920_46079,.inl_.inl_.inl_b_1894_1926_46084,.inl_.inl_.inl_.X3049_1893_1925_46083,.inl_.inl_b_1916_46078,.inl_.inl_c_1909_46068,.inl_.inl_.inl_b_1894_1915_46073,.inl_.inl_.inl_.X3049_1893_1914_46072,.inl_.inl_b_1905_46067,.inl_.inl_.X3033_1904_46062,.inl_.inl_c_1901_46061,.inl_c_46092,.inl_.inl_b_1900_46059,.inl_.inl_.X3049_1899_46058,.inl_b_46051,.inl_.X3032_46050,.inl_.X3033_46045,.inl_c_46053,.inl_.X3031_46041,.inl_a_46037,.inl_.inl_c_1920_46029,.inl_.inl_.inl_b_1894_1926_46034,.inl_.inl_.inl_.X3049_1893_1925_46033,.inl_.inl_b_1916_46028,.inl_.inl_c_1909_46018,.inl_.inl_.inl_b_1894_1915_46023,.inl_.inl_.inl_.X3049_1893_1914_46022,.inl_.inl_b_1905_46017,.inl_.inl_.X3033_1904_46012,.inl_.inl_c_1901_46011,.inl_c_46042,.inl_.inl_b_1900_46009,.inl_.inl_.X3049_1899_46008,.inl_b_46001,.inl_.X3032_46000,.inl_.X3033_45995,.inl_c_46003,.inl_.X3031_45991,.inl_a_45987,_particle_save,.inl_c_46103,.inl_.inl_c_1909_46118,.inl_.inl_.inl_b_1894_1915_46123,.inl_.inl_.inl_.X3049_1893_1914_46122,.inl_.inl_b_1905_46117,.inl_.inl_c_1901_46111,.inl_.inl_.inl_.X3049_1893_1925_46133,.inl_.inl_.X3049_1899_46108,.inl_.inl_b_1900_46109,.inl_.X3033_46095,.inl_.inl_b_1916_46128,.inl_c_45992,.inl_.inl_.inl_b_1894_1926_46134,.inl_.inl_.X3033_1904_46112,.inl_a_46087,.inl_.X3031_46091,.inl_.X3032_46100,.inl_b_46101,.inl_.inl_c_1920_46129 31383, Generating implicit private(_particle) finally: 32446, Generating update self(_energy_mon_2_var,_Banana_monitor_var,_V_phonon_var,_V_var,_sample_position_var,_instrument_var,_arm_ener_2_var,_test_sample_var,_stop_var,_a1_var,_cylinder_sample_union_var,_arm_ener_1_var,_energy_mon_1_var,_source_var,_init_var) mcenabletrace: 5887, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===