INFO: No output directory specified (--dir) INFO: Using directory: "Logger_test_20240919_033235" INFO: Regenerating c-file: Logger_test.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Logger_test.c Logger_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 WARNING: The parameter format of Al_Powder is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- 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 detector ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Logger_test.out DEBUG: CMD: nvc -o ./Logger_test.out ./Logger_test.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -I/u/data/pkwi/McStas/mcstas/3.x-dev/share/ -DFUNNEL "./Logger_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 " "./Logger_test.c", line 4941: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Logger_test.c", line 4860: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Logger_test.c", line 8180: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Logger_test.c", line 8704: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Logger_test.c", line 8727: 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; ^ "./Logger_test.c", line 8948: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Logger_test.c", line 8951: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Logger_test.c", line 9108: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Logger_test.c", line 9111: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Logger_test.c", line 10030: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Logger_test.c", line 9939: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Logger_test.c", line 10242: 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; ^ "./Logger_test.c", line 10432: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Logger_test.c", line 10581: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Logger_test.c", line 10985: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Logger_test.c", line 27439: 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; ^ "./Logger_test.c", line 27439: 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; ^ "./Logger_test.c", line 27439: 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; ^ "./Logger_test.c", line 27439: 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; ^ "./Logger_test.c", line 27439: 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; ^ "./Logger_test.c", line 27439: 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; ^ "./Logger_test.c", line 27796: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Logger_test.c", line 29044: warning: variable "count" is used before its value is set [used_before_set] for(line0=0; line0storage->Detector_3D.D1min && p1Detector_3D.D1max && p2>storage->Detector_3D.D2min && p2Detector_3D.D2max && p3>storage->Detector_3D.D3min && p3Detector_3D.D3max) { ^ "./Logger_test.c", line 84516: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84512: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Logger_test.c", line 84572: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84557: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Logger_test.c", line 84628: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84613: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Logger_test.c", line 84684: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84669: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Logger_test.c", line 84758: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84725: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Logger_test.c", line 84814: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84799: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Logger_test.c", line 84870: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84855: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Logger_test.c", line 84944: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84911: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Logger_test.c", line 85000: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 84985: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Logger_test.c", line 85053: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 85041: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Logger_test.c", line 85094: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Logger_test.c", line 85155: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Logger_test.c", line 85204: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Logger_test.c", line 85253: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Logger_test.c", line 85329: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Logger_test.c", line 85405: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Logger_test.c", line 85481: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Logger_test.c", line 85557: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Logger_test.c", line 85633: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Logger_test.c", line 85709: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Logger_test.c", line 85785: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Logger_test.c", line 85861: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Logger_test.c", line 85937: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Logger_test.c", line 86013: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Logger_test.c", line 86089: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Logger_test.c", line 86168: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Logger_test.c", line 86247: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Logger_test.c", line 86326: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Logger_test.c", line 86375: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Logger_test.c", line 86454: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./Logger_test.c", line 86503: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./Logger_test.c", line 86582: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./Logger_test.c", line 86631: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./Logger_test.c", line 86710: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./Logger_test.c", line 86786: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./Logger_test.c", line 86865: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./Logger_test.c", line 86941: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./Logger_test.c", line 86990: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./Logger_test.c", line 87066: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./Logger_test.c", line 87144: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./Logger_test.c", line 87229: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./Logger_test.c", line 87314: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./Logger_test.c", line 87402: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./Logger_test.c", line 87487: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./Logger_test.c", line 87575: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./Logger_test.c", line 87667: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./Logger_test.c", line 87730: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./Logger_test.c", line 87798: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Logger_test.c", line 87795: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./Logger_test.c", line 88932: warning: variable "l2" was declared but never referenced [declared_but_not_referenced] int l1,l2; ^ "./Logger_test.c", line 92763: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Logger_test.c", line 97523: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Logger_test.c", line 97524: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Logger_test.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Logger_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 Table_Index: 26493, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 26561, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 26640, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 27108, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 27124, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 27142, Generating acc routine seq Generating NVIDIA GPU code off_F: 27396, Generating acc routine seq Generating NVIDIA GPU code off_sign: 27401, Generating acc routine seq Generating NVIDIA GPU code off_normal: 27411, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 27437, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 27500, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 27631, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 27676, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 27793, Generating acc routine seq Generating NVIDIA GPU code off_compare: 27911, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 27923, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 27958, Generating acc routine seq Generating NVIDIA GPU code Min_int: 28209, Generating acc routine seq Generating NVIDIA GPU code merge: 28216, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 28320, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 28335, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 28389, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 28506, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 28528, Generating acc routine seq Generating NVIDIA GPU code init: 92009, Generating update device(_detector_var,_Cu_var,_Vanadium_incoherent_var,_Al_Powder_var,_Al_ring4_var,_Cu_Powder_var,_Al_var,_Cu_incoherent_var,_Vanadium_var,_screw_head_var,_sample_holder_under_sample_var,_al_in_box_cut_var,_cryostat_wall_vacuum_var,_bottom_vertical_piece_var,_sample_pos_var,_Al_ring1_vacuum_var,_Al_incoherent_var,_Al_ring2_vacuum_var,_Al_ring1_var,_Al_ring3_vacuum_var,_Al_ring2_var,_Al_ring4_vacuum_var,_Al_ring3_var,_long_piece_center_var,_a1_var,_sample_holder_long_piece_var,_instrument_var,_sample_box_cut_var,_beam_center_var,_bottom_horizontal_piece_center_var,_cylinder_holder_var,_bottom_horizontal_piece_var,_cylinder_holder_cutout_var,_cylinder_holder_base_var,_sample_var,_cryostat_wall_var,_cylinder_bottom_center_var,_stop_var,_test_logger_1D_var,_test_logger_2D_kf_time_var,_test_logger_2DQ_var,_test_logger_2D_space_time_var,_test_logger_2D_kf_var,_test_logger_2D_space_var,_test_sample_var,_test_logger_3D_space_var,_cylinder_top_center_var,_source_var,_init_var) class_Progress_bar_trace: 92054, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 92144, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 93697, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 94211, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 94215, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 94211, Local memory used for .inl_particle_37891,.inl_.inl_mcneutron_0_37906,.inl_.X3100_37908,.inl_.inl_.X3305_15_37907 94215, Generating implicit private(_particle,seed) 94225, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 94230, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 94225, Local memory used for .inl_.inl_c_1920_37955,.inl_.inl_.inl_b_1894_1926_37960,.inl_.inl_.inl_.X3270_1893_1925_37959,.inl_.inl_b_1916_37954,.inl_.inl_c_1909_37944,.inl_.inl_.inl_b_1894_1915_37949,.inl_.inl_.inl_.X3270_1893_1914_37948,.inl_.inl_b_1905_37943,.inl_.inl_.X3254_1904_37938,.inl_.inl_c_1901_37937,.inl_c_37970,.inl_.inl_b_1900_37935,.inl_.inl_.X3270_1899_37934,.inl_b_37927,.inl_.X3253_37926,.inl_.X3254_37921,.inl_c_37929,.inl_.X3252_37917,.inl_a_37913,_particle_save,.inl_c_37981,.inl_.inl_c_1909_37996,.inl_.inl_.inl_b_1894_1915_38001,.inl_.inl_.inl_.X3270_1893_1914_38000,.inl_.inl_b_1905_37995,.inl_.inl_c_1901_37989,.inl_.inl_.inl_.X3270_1893_1925_38011,.inl_.inl_.X3270_1899_37986,.inl_.inl_b_1900_37987,.inl_.X3254_37973,.inl_.inl_b_1916_38006,.inl_c_37918,.inl_.inl_.inl_b_1894_1926_38012,.inl_.inl_.X3254_1904_37990,.inl_a_37965,.inl_.X3252_37969,.inl_.X3253_37978,.inl_b_37979,.inl_.inl_c_1920_38007 94230, Generating implicit private(_particle) 94493, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 94496, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 94493, Local memory used for _particle_save,.inl_c_38081,.inl_.inl_c_1909_38096,.inl_.inl_.inl_b_1894_1915_38101,.inl_.inl_.inl_.X3270_1893_1914_38100,.inl_.inl_b_1905_38095,.inl_.inl_c_1901_38089,.inl_.inl_.inl_.X3270_1893_1925_38111,.inl_.inl_.X3270_1899_38086,.inl_.inl_b_1900_38087,.inl_.X3254_38073,.inl_.inl_b_1916_38106,.inl_c_38070,.inl_.inl_.inl_b_1894_1926_38112,.inl_.inl_.X3254_1904_38090,.inl_a_38065,.inl_.X3252_38069,.inl_.X3253_38078,.inl_b_38079,.inl_.inl_c_1920_38107 94496, Generating implicit private(_particle) finally: 96583, Generating update self(_detector_var,_Cu_var,_Vanadium_incoherent_var,_Al_Powder_var,_Al_ring4_var,_Cu_Powder_var,_Al_var,_Cu_incoherent_var,_Vanadium_var,_screw_head_var,_sample_holder_under_sample_var,_al_in_box_cut_var,_cryostat_wall_vacuum_var,_bottom_vertical_piece_var,_sample_pos_var,_Al_ring1_vacuum_var,_Al_incoherent_var,_Al_ring2_vacuum_var,_Al_ring1_var,_Al_ring3_vacuum_var,_Al_ring2_var,_Al_ring4_vacuum_var,_Al_ring3_var,_long_piece_center_var,_a1_var,_sample_holder_long_piece_var,_instrument_var,_sample_box_cut_var,_beam_center_var,_bottom_horizontal_piece_center_var,_cylinder_holder_var,_bottom_horizontal_piece_var,_cylinder_holder_cutout_var,_cylinder_holder_base_var,_sample_var,_cryostat_wall_var,_cylinder_bottom_center_var,_stop_var,_test_logger_1D_var,_test_logger_2D_kf_time_var,_test_logger_2DQ_var,_test_logger_2D_space_time_var,_test_logger_2D_kf_var,_test_logger_2D_space_var,_test_sample_var,_test_logger_3D_space_var,_cylinder_top_center_var,_source_var,_init_var) mcenabletrace: 5887, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===