INFO: No output directory specified (--dir) INFO: Using directory: "Union_IncoherentPhonon_test_20231001_030432" INFO: Regenerating c-file: Union_IncoherentPhonon_test.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Union_IncoherentPhonon_test.c /home/nexmap/pkwi/TESTS/2023-10-01/McStas_8GPU_5e6/Union_IncoherentPhonon_test/Union_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: ./Union_IncoherentPhonon_test.out DEBUG: CMD: nvc -o ./Union_IncoherentPhonon_test.out ./Union_IncoherentPhonon_test.c -lm -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -I/u/data/pkwi/McStas/mcstas/3.x-dev/share/ -DFUNNEL "./Union_IncoherentPhonon_test.c", line 4438: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Union_IncoherentPhonon_test.c", line 4357: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Union_IncoherentPhonon_test.c", line 7689: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Union_IncoherentPhonon_test.c", line 7969: warning: argument of type "int (*)(const struct saved_history_struct *, const struct saved_history_struct *)" is incompatible with parameter of type "__compar_fn_t" [incompatible_param] qsort(total_history.saved_histories,total_history.used_elements,sizeof (struct saved_history_struct), Sample_compare_history_intensities); ^ "./Union_IncoherentPhonon_test.c", line 7973: warning: argument of type "struct saved_history_struct *" is incompatible with parameter of type "struct dynamic_history_list *" [incompatible_param] MPI_MASTER( ^ "./Union_IncoherentPhonon_test.c", line 8200: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Union_IncoherentPhonon_test.c", line 8223: 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 839: warning: missing return statement at end of non-void function "sample_cone_intersect" [implicit_return_from_non_void_function] }; ^ "/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 883: warning: missing return statement at end of non-void function "cone_intersect" [implicit_return_from_non_void_function] }; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 854: 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 855: 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 1129: warning: statement is unreachable [code_is_unreachable] return 0; ^ "/u/data/pkwi/McStas/mcstas/3.x-dev/share/Geometry_functions.c", line 888: 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 890: 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 891: 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 892: 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 916: 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 925: 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 925: 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 927: 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 976: 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 1143: 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 1144: 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 1145: 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 1174: 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 1232: 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 1248: 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 1248: 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 1249: 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 1250: 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 1685: 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 1674: 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 1751: 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 1958: 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 2056: 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 2242: 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 2435: 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 2436: 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 2970: 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 2971: 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 3370: 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 3230: 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 3235: 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 3236: 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 3237: 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 3244: 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 3245: 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 3368: 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 3634: 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 3700: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_IncoherentPhonon_test.c", line 8440: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_IncoherentPhonon_test.c", line 8443: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Union_IncoherentPhonon_test.c", line 8600: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_IncoherentPhonon_test.c", line 8603: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Union_IncoherentPhonon_test.c", line 9522: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Union_IncoherentPhonon_test.c", line 9431: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Union_IncoherentPhonon_test.c", line 9734: 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; ^ "./Union_IncoherentPhonon_test.c", line 9924: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Union_IncoherentPhonon_test.c", line 10073: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Union_IncoherentPhonon_test.c", line 10477: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Union_IncoherentPhonon_test.c", line 15896: warning: variable "type" was set but never used [set_but_not_used] int p, type; ^ "./Union_IncoherentPhonon_test.c", line 16113: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./Union_IncoherentPhonon_test.c", line 16113: warning: variable "p" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./Union_IncoherentPhonon_test.c", line 16113: warning: variable "pmax" was declared but never referenced [declared_but_not_referenced] int i, p, pmax; ^ "./Union_IncoherentPhonon_test.c", line 16114: warning: variable "h" was declared but never referenced [declared_but_not_referenced] double h = 4.13567; // planck constant in meV*ps ^ "./Union_IncoherentPhonon_test.c", line 16115: warning: variable "dkabs" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./Union_IncoherentPhonon_test.c", line 16115: warning: variable "Q2" was declared but never referenced [declared_but_not_referenced] double dkabs, Q2, g0; ^ "./Union_IncoherentPhonon_test.c", line 16115: warning: variable "g0" was set but never used [set_but_not_used] double dkabs, Q2, g0; ^ "./Union_IncoherentPhonon_test.c", line 16116: warning: variable "xi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./Union_IncoherentPhonon_test.c", line 16116: warning: variable "dxi" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./Union_IncoherentPhonon_test.c", line 16116: warning: variable "fac1" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./Union_IncoherentPhonon_test.c", line 16116: warning: variable "fac2" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./Union_IncoherentPhonon_test.c", line 16116: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double xi, dxi, fac1, fac2, yp; ^ "./Union_IncoherentPhonon_test.c", line 16117: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./Union_IncoherentPhonon_test.c", line 16878: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 16878: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 16928: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 16928: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 16978: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 16978: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 17479: warning: statement is unreachable [code_is_unreachable] *x = -sqrt(-1.0); ^ "./Union_IncoherentPhonon_test.c", line 17459: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Union_IncoherentPhonon_test.c", line 17508: warning: statement is unreachable [code_is_unreachable] printf("sample_u_mph: maxIter reached\n"); ^ "./Union_IncoherentPhonon_test.c", line 17485: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Union_IncoherentPhonon_test.c", line 17586: warning: statement is unreachable [code_is_unreachable] printf("sample_Q2_mph: maxIter reached\n"); ^ "./Union_IncoherentPhonon_test.c", line 17515: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Union_IncoherentPhonon_test.c", line 17518: warning: variable "x" was set but never used [set_but_not_used] double x, x2, Q2min, Q2max; ^ "./Union_IncoherentPhonon_test.c", line 17592: warning: variable "np2" was set but never used [set_but_not_used] int i, np, np1, np2; ^ "./Union_IncoherentPhonon_test.c", line 17727: warning: statement is unreachable [code_is_unreachable] sq1 = s2; ^ "./Union_IncoherentPhonon_test.c", line 17778: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./Union_IncoherentPhonon_test.c", line 17827: warning: variable "fmax" was declared but never referenced [declared_but_not_referenced] double u, xs, Q2, dQ2, fmax; ^ "./Union_IncoherentPhonon_test.c", line 18036: warning: variable "num" was set but never used [set_but_not_used] int i, j, nx, nz, num, p; ^ "./Union_IncoherentPhonon_test.c", line 18037: 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; ^ "./Union_IncoherentPhonon_test.c", line 18220: warning: variable "Q2g" was declared but never referenced [declared_but_not_referenced] double tsp, g, g0, d2g, Q2g, S; ^ "./Union_IncoherentPhonon_test.c", line 18237: warning: variable "Q2g" was declared but never referenced [declared_but_not_referenced] double tsp, g, g0, d2g, H, Q2H, Q2g, S; ^ "./Union_IncoherentPhonon_test.c", line 18279: warning: variable "a0" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./Union_IncoherentPhonon_test.c", line 18279: warning: variable "a2" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./Union_IncoherentPhonon_test.c", line 18279: warning: variable "a4" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./Union_IncoherentPhonon_test.c", line 18279: warning: variable "a6" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./Union_IncoherentPhonon_test.c", line 18279: warning: variable "a8" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./Union_IncoherentPhonon_test.c", line 18279: warning: variable "a10" was declared but never referenced [declared_but_not_referenced] double a0, a2, a4, a6, a8, a10; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b0" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b1" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b3" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b5" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b7" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b9" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18280: warning: variable "b11" was declared but never referenced [declared_but_not_referenced] double b0, b1, b3, b5, b7, b9, b11; ^ "./Union_IncoherentPhonon_test.c", line 18455: warning: variable "d2g1" was set but never used [set_but_not_used] double xi1, tsp1, g1, d2g1, H1, r1; ^ "./Union_IncoherentPhonon_test.c", line 18456: warning: variable "d2g2" was set but never used [set_but_not_used] double xi2, tsp2, g2, d2g2, H2, r2; ^ "./Union_IncoherentPhonon_test.c", line 18640: warning: variable "ym" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 18640: warning: variable "yp" was declared but never referenced [declared_but_not_referenced] double f, ym, yp, u, Fp, ss, x, xmin, xmax, dx; ^ "./Union_IncoherentPhonon_test.c", line 18973: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Union_IncoherentPhonon_test.c", line 19197: warning: variable "filep" was declared but never referenced [declared_but_not_referenced] FILE *filep; ^ "./Union_IncoherentPhonon_test.c", line 19543: warning: variable "h" was declared but never referenced [declared_but_not_referenced] double h = 4.13567; // planck constant in meV*ps ^ "./Union_IncoherentPhonon_test.c", line 36209: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_IncoherentPhonon_test.c", line 36209: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_IncoherentPhonon_test.c", line 36236: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_IncoherentPhonon_test.c", line 36236: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_IncoherentPhonon_test.c", line 38057: 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; ^ "./Union_IncoherentPhonon_test.c", line 38057: 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; ^ "./Union_IncoherentPhonon_test.c", line 38057: 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; ^ "./Union_IncoherentPhonon_test.c", line 38057: 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; ^ "./Union_IncoherentPhonon_test.c", line 38057: 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; ^ "./Union_IncoherentPhonon_test.c", line 38057: 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; ^ "./Union_IncoherentPhonon_test.c", line 38413: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Union_IncoherentPhonon_test.c", line 44617: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_IncoherentPhonon_test.c", line 44613: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Union_IncoherentPhonon_test.c", line 44673: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_IncoherentPhonon_test.c", line 44647: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Union_IncoherentPhonon_test.c", line 44718: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_IncoherentPhonon_test.c", line 44703: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Union_IncoherentPhonon_test.c", line 44760: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_IncoherentPhonon_test.c", line 44748: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Union_IncoherentPhonon_test.c", line 44790: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Union_IncoherentPhonon_test.c", line 44840: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Union_IncoherentPhonon_test.c", line 44878: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Union_IncoherentPhonon_test.c", line 44943: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Union_IncoherentPhonon_test.c", line 44995: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Union_IncoherentPhonon_test.c", line 45086: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Union_IncoherentPhonon_test.c", line 45124: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Union_IncoherentPhonon_test.c", line 45179: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Union_IncoherentPhonon_test.c", line 45217: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Union_IncoherentPhonon_test.c", line 45275: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_IncoherentPhonon_test.c", line 45272: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Union_IncoherentPhonon_test.c", line 46599: warning: expression has no effect [expr_has_no_effect] MPI_MASTER( ^ "./Union_IncoherentPhonon_test.c", line 46599: warning: expression has no effect [expr_has_no_effect] MPI_MASTER( ^ "./Union_IncoherentPhonon_test.c", line 46599: warning: expression has no effect [expr_has_no_effect] MPI_MASTER( ^ "./Union_IncoherentPhonon_test.c", line 47992: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Union_IncoherentPhonon_test.c", line 51595: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Union_IncoherentPhonon_test.c", line 51596: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Union_IncoherentPhonon_test.c", line 1400: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Union_IncoherentPhonon_test.c", line 2794: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 74, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 120, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 144, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 166, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 177, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 186, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 196, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1440, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1444, Generating acc routine seq Generating NVIDIA GPU code str_len: 1453, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 3798, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4035, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4046, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4055, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4067, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4079, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4089, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4099, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4107, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4117, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4139, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4146, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4192, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4227, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4238, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4255, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4266, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4282, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4311, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4322, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4326, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4361, Generating present(particles[:],pbuffer[:]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4368, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4377, #pragma acc loop seq 4361, Generating implicit copy(lens[:]) [if not already present] 4368, Generating implicit firstprivate(ll,l) 4379, Accelerator restriction: induction variable live-out from loop: i 4380, Accelerator restriction: induction variable live-out from loop: i 4381, Accelerator restriction: induction variable live-out from loop: i 4382, Accelerator restriction: induction variable live-out from loop: i 4384, Accelerator restriction: induction variable live-out from loop: j 4385, Accelerator restriction: induction variable live-out from loop: j 4386, Accelerator restriction: induction variable live-out from loop: j 4387, Accelerator restriction: induction variable live-out from loop: j 4409, Generating present(pbuffer[:]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4413, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4416, #pragma acc loop seq 4409, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4416, Generating implicit firstprivate(l) 4433, Generating present(particles[:]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4437, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4444, #pragma acc loop seq 4433, Local memory used for targetbuffer,sourcebuffer mccoordschange: 4503, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 4534, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 4551, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 4650, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 4734, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 4800, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 4877, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5149, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5159, Generating acc routine seq Generating NVIDIA GPU code _hash: 5185, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5226, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5237, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5242, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5250, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5258, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5265, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 5908, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6000, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6017, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6132, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6187, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 35219, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 37141, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 37209, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 37288, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 37726, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 37742, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 37760, Generating acc routine seq Generating NVIDIA GPU code off_F: 38014, Generating acc routine seq Generating NVIDIA GPU code off_sign: 38019, Generating acc routine seq Generating NVIDIA GPU code off_normal: 38029, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 38055, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 38118, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 38249, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 38294, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 38410, Generating acc routine seq Generating NVIDIA GPU code off_compare: 38528, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 38540, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 38575, Generating acc routine seq Generating NVIDIA GPU code Min_int: 38825, Generating acc routine seq Generating NVIDIA GPU code merge: 38832, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 38936, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 38951, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 39005, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 39122, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 39144, Generating acc routine seq Generating NVIDIA GPU code init: 47234, 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: 47279, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 47367, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 48932, Generating acc routine seq Generating NVIDIA GPU code class_E_monitor_trace: 49228, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 49623, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 49627, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 49623, Local memory used for .inl_particle_44547,.inl_.inl_mcneutron_0_44562,.inl_.X2887_44564,.inl_.inl_.X3086_15_44563 49627, Generating implicit firstprivate(seed,_particle) 49637, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 49642, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 49637, Local memory used for .inl_.inl_c_1351_44611,.inl_.inl_.inl_b_1325_1357_44616,.inl_.inl_.inl_.X3051_1324_1356_44615,.inl_.inl_b_1347_44610,.inl_.inl_c_1340_44600,.inl_.inl_.inl_b_1325_1346_44605,.inl_.inl_.inl_.X3051_1324_1345_44604,.inl_.inl_b_1336_44599,.inl_.inl_.X3035_1335_44594,.inl_.inl_c_1332_44593,.inl_c_44626,.inl_.inl_b_1331_44591,.inl_.inl_.X3051_1330_44590,.inl_b_44583,.inl_.X3034_44582,.inl_.X3035_44577,.inl_c_44585,.inl_.X3033_44573,.inl_a_44569,_particle_save,.inl_c_44637,.inl_.inl_c_1340_44652,.inl_.inl_.inl_b_1325_1346_44657,.inl_.inl_.inl_.X3051_1324_1345_44656,.inl_.inl_b_1336_44651,.inl_.inl_c_1332_44645,.inl_.inl_.inl_.X3051_1324_1356_44667,.inl_.inl_.X3051_1330_44642,.inl_.inl_b_1331_44643,.inl_.X3035_44629,.inl_.inl_b_1347_44662,.inl_c_44574,.inl_.inl_.inl_b_1325_1357_44668,.inl_.inl_.X3035_1335_44646,.inl_a_44621,.inl_.X3033_44625,.inl_.X3034_44634,.inl_b_44635,.inl_.inl_c_1351_44663 49642, Generating implicit private(_particle) 49716, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 49719, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 49716, Local memory used for .inl_.inl_c_1351_44813,.inl_.inl_.inl_b_1325_1357_44818,.inl_.inl_.inl_.X3051_1324_1356_44817,.inl_.inl_b_1347_44812,.inl_.inl_c_1340_44802,.inl_.inl_.inl_b_1325_1346_44807,.inl_.inl_.inl_.X3051_1324_1345_44806,.inl_.inl_b_1336_44801,.inl_.inl_.X3035_1335_44796,.inl_.inl_c_1332_44795,.inl_c_44826,.inl_.inl_b_1331_44793,.inl_.inl_.X3051_1330_44792,.inl_b_44785,.inl_.X3034_44784,.inl_.X3035_44779,.inl_c_44787,.inl_.X3033_44775,.inl_a_44771,.inl_.inl_c_1351_44763,.inl_.inl_.inl_b_1325_1357_44768,.inl_.inl_.inl_.X3051_1324_1356_44767,.inl_.inl_b_1347_44762,.inl_.inl_c_1340_44752,.inl_.inl_.inl_b_1325_1346_44757,.inl_.inl_.inl_.X3051_1324_1345_44756,.inl_.inl_b_1336_44751,.inl_.inl_.X3035_1335_44746,.inl_.inl_c_1332_44745,.inl_c_44776,.inl_.inl_b_1331_44743,.inl_.inl_.X3051_1330_44742,.inl_b_44735,.inl_.X3034_44734,.inl_.X3035_44729,.inl_c_44737,.inl_.X3033_44725,.inl_a_44721,_particle_save,.inl_c_44837,.inl_.inl_c_1340_44852,.inl_.inl_.inl_b_1325_1346_44857,.inl_.inl_.inl_.X3051_1324_1345_44856,.inl_.inl_b_1336_44851,.inl_.inl_c_1332_44845,.inl_.inl_.inl_.X3051_1324_1356_44867,.inl_.inl_.X3051_1330_44842,.inl_.inl_b_1331_44843,.inl_.X3035_44829,.inl_.inl_b_1347_44862,.inl_c_44726,.inl_.inl_.inl_b_1325_1357_44868,.inl_.inl_.X3035_1335_44846,.inl_a_44821,.inl_.X3033_44825,.inl_.X3034_44834,.inl_b_44835,.inl_.inl_c_1351_44863 49719, Generating implicit private(_particle) finally: 50772, 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: 5380, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===