INFO: No output directory specified (--dir) INFO: Using directory: "Laue_camera_20240919_034652" INFO: Regenerating c-file: Laue_camera.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Laue_camera.c Laue_camera.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 mosaic_AB of YBaCuO_single_crystal 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 det ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Laue_camera.out DEBUG: CMD: nvc -o ./Laue_camera.out ./Laue_camera.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -I/u/data/pkwi/McStas/mcstas/3.x-dev/share/ -DFUNNEL "./Laue_camera.c", line 4493: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Laue_camera.c", line 4948: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Laue_camera.c", line 4867: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Laue_camera.c", line 8214: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Laue_camera.c", line 8738: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Laue_camera.c", line 8761: 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; ^ "./Laue_camera.c", line 8982: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Laue_camera.c", line 8985: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Laue_camera.c", line 9142: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Laue_camera.c", line 9145: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Laue_camera.c", line 10064: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Laue_camera.c", line 9973: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Laue_camera.c", line 10276: 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; ^ "./Laue_camera.c", line 10466: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Laue_camera.c", line 10615: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Laue_camera.c", line 11019: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Laue_camera.c", line 22704: 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; ^ "./Laue_camera.c", line 22704: 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; ^ "./Laue_camera.c", line 22704: 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; ^ "./Laue_camera.c", line 22704: 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; ^ "./Laue_camera.c", line 22704: 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; ^ "./Laue_camera.c", line 22704: 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; ^ "./Laue_camera.c", line 23061: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Laue_camera.c", line 24673: warning: missing return statement at end of non-void function "Single_crystal_physics_my" [implicit_return_from_non_void_function] }; ^ "./Laue_camera.c", line 24685: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Laue_camera.c", line 24685: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Laue_camera.c", line 24685: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Laue_camera.c", line 24686: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Laue_camera.c", line 24686: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Laue_camera.c", line 24686: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Laue_camera.c", line 24688: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double adjust, r, sum; /* Temporaries */ ^ "./Laue_camera.c", line 24691: warning: variable "kix" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Laue_camera.c", line 24691: warning: variable "kiy" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Laue_camera.c", line 24691: warning: variable "kiz" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Laue_camera.c", line 41183: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Laue_camera.c", line 41183: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Laue_camera.c", line 41210: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Laue_camera.c", line 41210: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Laue_camera.c", line 46803: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 46799: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Laue_camera.c", line 46859: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 46844: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Laue_camera.c", line 46903: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 46900: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Laue_camera.c", line 46947: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 46944: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Laue_camera.c", line 47037: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 46989: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Laue_camera.c", line 47093: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 47078: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Laue_camera.c", line 47147: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 47135: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Laue_camera.c", line 47207: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 47189: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Laue_camera.c", line 47249: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Laue_camera.c", line 47307: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Laue_camera.c", line 47383: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Laue_camera.c", line 47446: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Laue_camera.c", line 47506: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Laue_camera.c", line 47608: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Laue_camera.c", line 47673: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Laue_camera.c", line 47741: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Laue_camera.c", line 47738: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Laue_camera.c", line 47944: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Laue_camera.c", line 47944: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Laue_camera.c", line 47944: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Laue_camera.c", line 47945: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Laue_camera.c", line 50897: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Laue_camera.c", line 54831: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Laue_camera.c", line 54832: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Laue_camera.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Laue_camera.c", line 2905: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 90, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 104, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 137, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 162, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 185, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 196, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 205, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 216, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1549, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1553, Generating acc routine seq Generating NVIDIA GPU code str_len: 1562, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4114, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4545, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4556, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4565, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4577, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4589, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4599, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4609, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4617, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4627, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4649, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4656, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4702, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4737, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4748, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4765, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4776, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4792, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4821, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4832, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4836, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4871, Generating present(particles[:],pbuffer[:]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4878, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4887, #pragma acc loop seq 4871, Generating implicit copy(lens[:]) [if not already present] 4878, Generating implicit firstprivate(ll,l) 4889, Accelerator restriction: induction variable live-out from loop: i 4890, Accelerator restriction: induction variable live-out from loop: i 4891, Accelerator restriction: induction variable live-out from loop: i 4892, Accelerator restriction: induction variable live-out from loop: i 4894, Accelerator restriction: induction variable live-out from loop: j 4895, Accelerator restriction: induction variable live-out from loop: j 4896, Accelerator restriction: induction variable live-out from loop: j 4897, Accelerator restriction: induction variable live-out from loop: j 4919, Generating present(pbuffer[:]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4923, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4926, #pragma acc loop seq 4919, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4926, Generating implicit firstprivate(l) 4943, Generating present(particles[:]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4947, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4954, #pragma acc loop seq 4943, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5013, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5044, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5061, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5160, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5244, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5310, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5387, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5659, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5669, Generating acc routine seq Generating NVIDIA GPU code _hash: 5695, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5736, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5747, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5752, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5760, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5768, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5775, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6434, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6470, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6530, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6547, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6662, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6717, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 21758, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 21826, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 21905, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 22373, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 22389, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 22407, Generating acc routine seq Generating NVIDIA GPU code off_F: 22661, Generating acc routine seq Generating NVIDIA GPU code off_sign: 22666, Generating acc routine seq Generating NVIDIA GPU code off_normal: 22676, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 22702, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 22765, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 22896, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 22941, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 23058, Generating acc routine seq Generating NVIDIA GPU code off_compare: 23176, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 23188, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 23223, Generating acc routine seq Generating NVIDIA GPU code Min_int: 23474, Generating acc routine seq Generating NVIDIA GPU code merge: 23481, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 23585, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 23600, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 23654, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 23771, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 23793, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 40179, Generating acc routine seq Generating NVIDIA GPU code init: 50002, Generating update device(_det_var,_PSDlin_transmission_transmitted_var,_single_crystal_orientation_001_along_x_var,_instrument_var,_YBaCuO_incoherent_var,_YBaCuO_single_crystal_var,_Banana_monitor_var,_slit_var,_single_crystal_orientation_110_vertical_var,_YBaCuO_var,_test_sample_var,_stop_var,_cylinder_sample_union_var,_Origin_var,_PSDlin_transmission_scattered_var,_source_var,_init_var) class_Single_crystal_process_trace: 50047, Generating acc routine seq Generating NVIDIA GPU code class_Progress_bar_trace: 50139, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 50229, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 50332, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 51839, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 51917, Generating acc routine seq Generating NVIDIA GPU code class_PSDlin_monitor_trace: 52207, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 52652, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 52656, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 52652, Local memory used for .inl_particle_33630,.inl_.inl_mcneutron_0_33645,.inl_.X2957_33647,.inl_.inl_.X3163_15_33646 52656, Generating implicit private(_particle,seed) 52666, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 52671, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 52666, Local memory used for .inl_.inl_c_1926_33798,.inl_.inl_.inl_b_1900_1932_33803,.inl_.inl_.inl_.X3128_1899_1931_33802,.inl_.inl_b_1922_33797,.inl_.inl_c_1915_33787,.inl_.inl_.inl_b_1900_1921_33792,.inl_.inl_.inl_.X3128_1899_1920_33791,.inl_.inl_b_1911_33786,.inl_.inl_.X3112_1910_33781,.inl_.inl_c_1907_33780,.inl_c_33811,.inl_.inl_b_1906_33778,.inl_.inl_.X3128_1905_33777,.inl_b_33770,.inl_.X3111_33769,.inl_.X3112_33764,.inl_c_33772,.inl_.X3110_33760,.inl_a_33756,.inl_.inl_c_1926_33746,.inl_.inl_.inl_b_1900_1932_33751,.inl_.inl_.inl_.X3128_1899_1931_33750,.inl_.inl_b_1922_33745,.inl_.inl_c_1915_33735,.inl_.inl_.inl_b_1900_1921_33740,.inl_.inl_.inl_.X3128_1899_1920_33739,.inl_.inl_b_1911_33734,.inl_.inl_.X3112_1910_33729,.inl_.inl_c_1907_33728,.inl_c_33761,.inl_.inl_b_1906_33726,.inl_.inl_.X3128_1905_33725,.inl_b_33718,.inl_.X3111_33717,.inl_.X3112_33712,.inl_c_33720,.inl_.X3110_33708,.inl_a_33704,.inl_.inl_c_1926_33694,.inl_.inl_.inl_b_1900_1932_33699,.inl_.inl_.inl_.X3128_1899_1931_33698,.inl_.inl_b_1922_33693,.inl_.inl_c_1915_33683,.inl_.inl_.inl_b_1900_1921_33688,.inl_.inl_.inl_.X3128_1899_1920_33687,.inl_.inl_b_1911_33682,.inl_.inl_.X3112_1910_33677,.inl_.inl_c_1907_33676,.inl_c_33709,.inl_.inl_b_1906_33674,.inl_.inl_.X3128_1905_33673,.inl_b_33666,.inl_.X3111_33665,.inl_.X3112_33660,.inl_c_33668,.inl_.X3110_33656,.inl_a_33652,_particle_save,.inl_c_33822,.inl_.inl_c_1915_33837,.inl_.inl_.inl_b_1900_1921_33842,.inl_.inl_.inl_.X3128_1899_1920_33841,.inl_.inl_b_1911_33836,.inl_.inl_c_1907_33830,.inl_.inl_.inl_.X3128_1899_1931_33852,.inl_.inl_.X3128_1905_33827,.inl_.inl_b_1906_33828,.inl_.X3112_33814,.inl_.inl_b_1922_33847,.inl_c_33657,.inl_.inl_.inl_b_1900_1932_33853,.inl_.inl_.X3112_1910_33831,.inl_a_33806,.inl_.X3110_33810,.inl_.X3111_33819,.inl_b_33820,.inl_.inl_c_1926_33848 52671, Generating implicit private(_particle) 52775, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 52778, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 52775, Local memory used for .inl_.inl_c_1926_34072,.inl_.inl_.inl_b_1900_1932_34077,.inl_.inl_.inl_.X3128_1899_1931_34076,.inl_.inl_b_1922_34071,.inl_.inl_c_1915_34061,.inl_.inl_.inl_b_1900_1921_34066,.inl_.inl_.inl_.X3128_1899_1920_34065,.inl_.inl_b_1911_34060,.inl_.inl_.X3112_1910_34055,.inl_.inl_c_1907_34054,.inl_c_34085,.inl_.inl_b_1906_34052,.inl_.inl_.X3128_1905_34051,.inl_b_34044,.inl_.X3111_34043,.inl_.X3112_34038,.inl_c_34046,.inl_.X3110_34034,.inl_a_34030,.inl_.inl_c_1926_34022,.inl_.inl_.inl_b_1900_1932_34027,.inl_.inl_.inl_.X3128_1899_1931_34026,.inl_.inl_b_1922_34021,.inl_.inl_c_1915_34011,.inl_.inl_.inl_b_1900_1921_34016,.inl_.inl_.inl_.X3128_1899_1920_34015,.inl_.inl_b_1911_34010,.inl_.inl_.X3112_1910_34005,.inl_.inl_c_1907_34004,.inl_c_34035,.inl_.inl_b_1906_34002,.inl_.inl_.X3128_1905_34001,.inl_b_33994,.inl_.X3111_33993,.inl_.X3112_33988,.inl_c_33996,.inl_.X3110_33984,.inl_a_33980,.inl_.inl_c_1926_33948,.inl_.inl_.inl_b_1900_1932_33953,.inl_.inl_.inl_.X3128_1899_1931_33952,.inl_.inl_b_1922_33947,.inl_.inl_c_1915_33937,.inl_.inl_.inl_b_1900_1921_33942,.inl_.inl_.inl_.X3128_1899_1920_33941,.inl_.inl_b_1911_33936,.inl_.inl_.X3112_1910_33931,.inl_.inl_c_1907_33930,.inl_c_33985,.inl_.inl_b_1906_33928,.inl_.inl_.X3128_1905_33927,.inl_b_33920,.inl_.X3111_33919,.inl_.X3112_33914,.inl_c_33922,.inl_.X3110_33910,.inl_a_33906,_particle_save,.inl_c_34096,.inl_.inl_c_1915_34111,.inl_.inl_.inl_b_1900_1921_34116,.inl_.inl_.inl_.X3128_1899_1920_34115,.inl_.inl_b_1911_34110,.inl_.inl_c_1907_34104,.inl_.inl_.inl_.X3128_1899_1931_34126,.inl_.inl_.X3128_1905_34101,.inl_.inl_b_1906_34102,.inl_.X3112_34088,.inl_.inl_b_1922_34121,.inl_c_33911,.inl_.inl_.inl_b_1900_1932_34127,.inl_.inl_.X3112_1910_34105,.inl_a_34080,.inl_.X3110_34084,.inl_.X3111_34093,.inl_b_34094,.inl_.inl_c_1926_34122 52778, Generating implicit private(_particle) finally: 53879, Generating update self(_det_var,_PSDlin_transmission_transmitted_var,_single_crystal_orientation_001_along_x_var,_instrument_var,_YBaCuO_incoherent_var,_YBaCuO_single_crystal_var,_Banana_monitor_var,_slit_var,_single_crystal_orientation_110_vertical_var,_YBaCuO_var,_test_sample_var,_stop_var,_cylinder_sample_union_var,_Origin_var,_PSDlin_transmission_scattered_var,_source_var,_init_var) mcenabletrace: 5894, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===