INFO: No output directory specified (--dir) INFO: Using directory: "IncoherentPhonon_test_20240919_033157" 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= -I@MCCODE_LIB@/share/ -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 -I/u/data/pkwi/McStas/mcstas/3.x-dev/share/ -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 8223: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./IncoherentPhonon_test.c", line 8747: 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 8770: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 315: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 316: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 317: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 477: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 697: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 856: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 857: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1132: warning: statement is unreachable [code_is_unreachable] return 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 891: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 893: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 894: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 895: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 919: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 928: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 928: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 930: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 979: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1146: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1147: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1148: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1177: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1235: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1251: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1251: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1252: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1253: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1690: 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); ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1679: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1756: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 1963: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 2061: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 2247: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 2440: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 2441: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 2975: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 2976: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3375: 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); ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3235: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3240: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3241: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3242: 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; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3249: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3250: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3373: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3639: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 3705: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./IncoherentPhonon_test.c", line 8991: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./IncoherentPhonon_test.c", line 8994: 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 9151: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./IncoherentPhonon_test.c", line 9154: 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 10073: 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 9982: 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 10285: 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 10475: 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 10624: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./IncoherentPhonon_test.c", line 11028: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./IncoherentPhonon_test.c", line 16475: warning: variable "type" was set but never used [set_but_not_used] int p, type; ^ "./IncoherentPhonon_test.c", line 16692: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 16692: warning: variable "p" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 16692: warning: variable "pmax" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./IncoherentPhonon_test.c", line 16693: 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 16694: warning: variable "dkabs" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 16694: warning: variable "Q2" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 16694: warning: variable "g0" was set but never used [set_but_not_used] double dkabs, Q2, g0; ^ "./IncoherentPhonon_test.c", line 16695: warning: variable "xi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16695: warning: variable "dxi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16695: warning: variable "fac1" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16695: warning: variable "fac2" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16695: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./IncoherentPhonon_test.c", line 16696: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 17457: 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 17457: 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 17507: 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 17507: 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 17557: 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 17557: 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 18058: warning: statement is unreachable [code_is_unreachable] *x = -sqrt(-1.0); ^ "./IncoherentPhonon_test.c", line 18038: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 18087: warning: statement is unreachable [code_is_unreachable] printf("sample_u_mph: maxIter reached\n"); ^ "./IncoherentPhonon_test.c", line 18064: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 18165: warning: statement is unreachable [code_is_unreachable] printf("sample_Q2_mph: maxIter reached\n"); ^ "./IncoherentPhonon_test.c", line 18094: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 18097: warning: variable "x" was set but never used [set_but_not_used] double x, x2, Q2min, Q2max; ^ "./IncoherentPhonon_test.c", line 18171: warning: variable "np2" was set but never used [set_but_not_used] int i, np, np1, np2; ^ "./IncoherentPhonon_test.c", line 18306: warning: statement is unreachable [code_is_unreachable] sq1 = s2; ^ "./IncoherentPhonon_test.c", line 18357: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 18406: warning: variable "fmax" was declared but never referenced [declared_but_not_referenced] double u, xs, Q2, dQ2, fmax; ^ "./IncoherentPhonon_test.c", line 18615: warning: variable "num" was set but never used [set_but_not_used] int i, j, nx, nz, num, p; ^ "./IncoherentPhonon_test.c", line 18616: 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 18799: warning: variable "Q2g" was declared but never referenced [declared_but_not_referenced] double tsp, g, g0, d2g, Q2g, S; ^ "./IncoherentPhonon_test.c", line 18816: 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 18858: warning: variable "a0" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18858: warning: variable "a2" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18858: warning: variable "a4" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18858: warning: variable "a6" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18858: warning: variable "a8" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18858: warning: variable "a10" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b0" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b1" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b3" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b5" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b7" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b9" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 18859: warning: variable "b11" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./IncoherentPhonon_test.c", line 19034: warning: variable "d2g1" was set but never used [set_but_not_used] double xi1, tsp1, g1, d2g1, H1, r1; ^ "./IncoherentPhonon_test.c", line 19035: warning: variable "d2g2" was set but never used [set_but_not_used] double xi2, tsp2, g2, d2g2, H2, r2; ^ "./IncoherentPhonon_test.c", line 19219: 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 19219: 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 19552: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./IncoherentPhonon_test.c", line 19776: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./IncoherentPhonon_test.c", line 20122: 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 37069: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./IncoherentPhonon_test.c", line 37069: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./IncoherentPhonon_test.c", line 37096: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./IncoherentPhonon_test.c", line 37096: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./IncoherentPhonon_test.c", line 38993: 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 38993: 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 38993: 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 38993: 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 38993: 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 38993: 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 39350: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./IncoherentPhonon_test.c", line 45641: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 45637: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./IncoherentPhonon_test.c", line 45708: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 45682: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./IncoherentPhonon_test.c", line 45764: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 45749: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./IncoherentPhonon_test.c", line 45817: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 45805: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./IncoherentPhonon_test.c", line 45858: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./IncoherentPhonon_test.c", line 45919: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./IncoherentPhonon_test.c", line 45968: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./IncoherentPhonon_test.c", line 46044: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./IncoherentPhonon_test.c", line 46107: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./IncoherentPhonon_test.c", line 46209: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./IncoherentPhonon_test.c", line 46258: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./IncoherentPhonon_test.c", line 46324: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./IncoherentPhonon_test.c", line 46373: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./IncoherentPhonon_test.c", line 46442: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./IncoherentPhonon_test.c", line 46439: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./IncoherentPhonon_test.c", line 49167: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./IncoherentPhonon_test.c", line 52807: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./IncoherentPhonon_test.c", line 52808: 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[:],pbuffer[:]) 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[:]) 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[:]) 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: 36065, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 38047, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 38115, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 38194, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 38662, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 38678, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 38696, Generating acc routine seq Generating NVIDIA GPU code off_F: 38950, Generating acc routine seq Generating NVIDIA GPU code off_sign: 38955, Generating acc routine seq Generating NVIDIA GPU code off_normal: 38965, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 38991, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 39054, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 39185, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 39230, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 39347, Generating acc routine seq Generating NVIDIA GPU code off_compare: 39465, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 39477, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 39512, Generating acc routine seq Generating NVIDIA GPU code Min_int: 39763, Generating acc routine seq Generating NVIDIA GPU code merge: 39770, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 39874, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 39889, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 39943, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 40060, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 40082, Generating acc routine seq Generating NVIDIA GPU code init: 48413, 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: 48458, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 48548, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 50101, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 50391, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 50784, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 50788, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 50784, Local memory used for .inl_particle_45813,.inl_.inl_mcneutron_0_45828,.inl_.X2876_45830,.inl_.inl_.X3083_15_45829 50788, Generating implicit firstprivate(seed,_particle) 50798, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 50803, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 50798, Local memory used for .inl_.inl_c_1920_45877,.inl_.inl_.inl_b_1894_1926_45882,.inl_.inl_.inl_.X3048_1893_1925_45881,.inl_.inl_b_1916_45876,.inl_.inl_c_1909_45866,.inl_.inl_.inl_b_1894_1915_45871,.inl_.inl_.inl_.X3048_1893_1914_45870,.inl_.inl_b_1905_45865,.inl_.inl_.X3032_1904_45860,.inl_.inl_c_1901_45859,.inl_c_45892,.inl_.inl_b_1900_45857,.inl_.inl_.X3048_1899_45856,.inl_b_45849,.inl_.X3031_45848,.inl_.X3032_45843,.inl_c_45851,.inl_.X3030_45839,.inl_a_45835,_particle_save,.inl_c_45903,.inl_.inl_c_1909_45918,.inl_.inl_.inl_b_1894_1915_45923,.inl_.inl_.inl_.X3048_1893_1914_45922,.inl_.inl_b_1905_45917,.inl_.inl_c_1901_45911,.inl_.inl_.inl_.X3048_1893_1925_45933,.inl_.inl_.X3048_1899_45908,.inl_.inl_b_1900_45909,.inl_.X3032_45895,.inl_.inl_b_1916_45928,.inl_c_45840,.inl_.inl_.inl_b_1894_1926_45934,.inl_.inl_.X3032_1904_45912,.inl_a_45887,.inl_.X3030_45891,.inl_.X3031_45900,.inl_b_45901,.inl_.inl_c_1920_45929 50803, Generating implicit private(_particle) 50877, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 50880, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 50877, Local memory used for .inl_.inl_c_1920_46079,.inl_.inl_.inl_b_1894_1926_46084,.inl_.inl_.inl_.X3048_1893_1925_46083,.inl_.inl_b_1916_46078,.inl_.inl_c_1909_46068,.inl_.inl_.inl_b_1894_1915_46073,.inl_.inl_.inl_.X3048_1893_1914_46072,.inl_.inl_b_1905_46067,.inl_.inl_.X3032_1904_46062,.inl_.inl_c_1901_46061,.inl_c_46092,.inl_.inl_b_1900_46059,.inl_.inl_.X3048_1899_46058,.inl_b_46051,.inl_.X3031_46050,.inl_.X3032_46045,.inl_c_46053,.inl_.X3030_46041,.inl_a_46037,.inl_.inl_c_1920_46029,.inl_.inl_.inl_b_1894_1926_46034,.inl_.inl_.inl_.X3048_1893_1925_46033,.inl_.inl_b_1916_46028,.inl_.inl_c_1909_46018,.inl_.inl_.inl_b_1894_1915_46023,.inl_.inl_.inl_.X3048_1893_1914_46022,.inl_.inl_b_1905_46017,.inl_.inl_.X3032_1904_46012,.inl_.inl_c_1901_46011,.inl_c_46042,.inl_.inl_b_1900_46009,.inl_.inl_.X3048_1899_46008,.inl_b_46001,.inl_.X3031_46000,.inl_.X3032_45995,.inl_c_46003,.inl_.X3030_45991,.inl_a_45987,_particle_save,.inl_c_46103,.inl_.inl_c_1909_46118,.inl_.inl_.inl_b_1894_1915_46123,.inl_.inl_.inl_.X3048_1893_1914_46122,.inl_.inl_b_1905_46117,.inl_.inl_c_1901_46111,.inl_.inl_.inl_.X3048_1893_1925_46133,.inl_.inl_.X3048_1899_46108,.inl_.inl_b_1900_46109,.inl_.X3032_46095,.inl_.inl_b_1916_46128,.inl_c_45992,.inl_.inl_.inl_b_1894_1926_46134,.inl_.inl_.X3032_1904_46112,.inl_a_46087,.inl_.X3030_46091,.inl_.X3031_46100,.inl_b_46101,.inl_.inl_c_1920_46129 50880, Generating implicit private(_particle) finally: 51937, 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: ===