INFO: No output directory specified (--dir) INFO: Using directory: "Union_NCrystal_example_20240919_020553" INFO: Regenerating c-file: Union_NCrystal_example.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Union_NCrystal_example.c Union_NCrystal_example.instr Warning: DECLARE block contains 1 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -Wl,-rpath,CMD(ncrystal-config --show libdir) -Wl,CMD(ncrystal-config --show libpath) -ICMD(ncrystal-config --show includedir) -I@MCCODE_LIB@/share/ -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component master1 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master1 -> GPU kernel from component mono_out Component master2 is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master2 -> GPU kernel from component powder_pattern_detc ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Union_NCrystal_example.out --> launching cmd: ncrystal-config --show libdir --> launching cmd: ncrystal-config --show libpath --> launching cmd: ncrystal-config --show includedir DEBUG: CMD: nvc -o ./Union_NCrystal_example.out ./Union_NCrystal_example.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/libNCrystal.so.3.8.2 -I/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -I/u/data/pkwi/McStas/mcstas/3.x-dev/share/ -DFUNNEL "./Union_NCrystal_example.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 " "./Union_NCrystal_example.c", line 4941: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Union_NCrystal_example.c", line 4860: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Union_NCrystal_example.c", line 8180: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.c", line 8948: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.c", line 9108: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.c", line 9939: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.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; ^ "./Union_NCrystal_example.c", line 10581: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Union_NCrystal_example.c", line 10985: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Union_NCrystal_example.c", line 32735: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_NCrystal_example.c", line 32735: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_NCrystal_example.c", line 32762: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_NCrystal_example.c", line 32762: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_NCrystal_example.c", line 34659: 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_NCrystal_example.c", line 34659: 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_NCrystal_example.c", line 34659: 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_NCrystal_example.c", line 34659: 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_NCrystal_example.c", line 34659: 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_NCrystal_example.c", line 34659: 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_NCrystal_example.c", line 35016: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Union_NCrystal_example.c", line 41313: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 41309: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Union_NCrystal_example.c", line 41369: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 41354: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Union_NCrystal_example.c", line 41425: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 41410: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Union_NCrystal_example.c", line 41482: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 41467: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Union_NCrystal_example.c", line 41539: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 41524: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Union_NCrystal_example.c", line 41593: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 41581: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Union_NCrystal_example.c", line 41635: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Union_NCrystal_example.c", line 41696: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Union_NCrystal_example.c", line 41745: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Union_NCrystal_example.c", line 41824: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Union_NCrystal_example.c", line 41887: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Union_NCrystal_example.c", line 41936: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Union_NCrystal_example.c", line 42012: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Union_NCrystal_example.c", line 42075: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Union_NCrystal_example.c", line 42180: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_example.c", line 42177: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Union_NCrystal_example.c", line 45259: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Union_NCrystal_example.c", line 46932: warning: variable "_particle_save" was declared but never referenced [declared_but_not_referenced] _class_particle _particle_save; ^ "./Union_NCrystal_example.c", line 48694: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Union_NCrystal_example.c", line 48695: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Union_NCrystal_example.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Union_NCrystal_example.c", line 2898: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 158, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 180, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 191, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 200, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 210, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4107, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4538, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4549, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4558, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4570, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4582, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4592, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4602, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4610, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4620, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4649, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4695, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4730, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4741, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4758, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4769, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4785, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4814, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4825, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4829, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4864, Generating present(particles[:],pbuffer[:]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4871, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4880, #pragma acc loop seq 4864, Generating implicit copy(lens[:]) [if not already present] 4871, Generating implicit firstprivate(ll,l) 4882, Accelerator restriction: induction variable live-out from loop: i 4883, Accelerator restriction: induction variable live-out from loop: i 4884, Accelerator restriction: induction variable live-out from loop: i 4885, Accelerator restriction: induction variable live-out from loop: i 4887, Accelerator restriction: induction variable live-out from loop: j 4888, Accelerator restriction: induction variable live-out from loop: j 4889, Accelerator restriction: induction variable live-out from loop: j 4890, Accelerator restriction: induction variable live-out from loop: j 4912, Generating present(pbuffer[:]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4916, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4919, #pragma acc loop seq 4912, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 4919, Generating implicit firstprivate(l) 4936, Generating present(particles[:]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 4940, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4947, #pragma acc loop seq 4936, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5006, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5037, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5054, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5153, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5237, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5303, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5380, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5652, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5662, Generating acc routine seq Generating NVIDIA GPU code _hash: 5688, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5729, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5740, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5745, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5761, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5768, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6427, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6463, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6523, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6540, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6655, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6710, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 31731, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 33713, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 33781, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 33860, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 34328, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 34344, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 34362, Generating acc routine seq Generating NVIDIA GPU code off_F: 34616, Generating acc routine seq Generating NVIDIA GPU code off_sign: 34621, Generating acc routine seq Generating NVIDIA GPU code off_normal: 34631, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 34657, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 34720, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 34851, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 34896, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 35013, Generating acc routine seq Generating NVIDIA GPU code off_compare: 35131, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 35143, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 35178, Generating acc routine seq Generating NVIDIA GPU code Min_int: 35429, Generating acc routine seq Generating NVIDIA GPU code merge: 35436, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 35540, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 35555, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 35609, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 35726, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 35748, Generating acc routine seq Generating NVIDIA GPU code init: 44461, Generating update device(_NCrystal_sample_var,_NCrystal_mono_material_var,_NCrystal_sample_material_var,_NCrystal_mono_var,_monochromator_var,_powder_sample_var,_master2_var,_mono_out_var,_instrument_var,_mono_arm_var,_powder_pattern_detc_var,_master1_var,_origin_var,_stop_var,_source_var,_init_var) class_NCrystal_process_trace: 44506, Generating acc routine seq Generating NVIDIA GPU code class_Progress_bar_trace: 44550, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 44640, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 46193, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 46809, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 46813, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 46809, Local memory used for .inl_particle_31534,.inl_.inl_mcneutron_0_31549,.inl_.X2774_31551,.inl_.inl_.X2980_15_31550 46813, Generating implicit private(_particle,seed) 46823, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 46828, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 46823, Local memory used for .inl_.inl_c_1920_31702,.inl_.inl_.inl_b_1894_1926_31707,.inl_.inl_.inl_.X2945_1893_1925_31706,.inl_.inl_b_1916_31701,.inl_.inl_c_1909_31691,.inl_.inl_.inl_b_1894_1915_31696,.inl_.inl_.inl_.X2945_1893_1914_31695,.inl_.inl_b_1905_31690,.inl_.inl_.X2929_1904_31685,.inl_.inl_c_1901_31684,.inl_c_31717,.inl_.inl_b_1900_31682,.inl_.inl_.X2945_1899_31681,.inl_b_31674,.inl_.X2928_31673,.inl_.X2929_31668,.inl_c_31676,.inl_.X2927_31664,.inl_a_31660,.inl_.inl_c_1920_31650,.inl_.inl_.inl_b_1894_1926_31655,.inl_.inl_.inl_.X2945_1893_1925_31654,.inl_.inl_b_1916_31649,.inl_.inl_c_1909_31639,.inl_.inl_.inl_b_1894_1915_31644,.inl_.inl_.inl_.X2945_1893_1914_31643,.inl_.inl_b_1905_31638,.inl_.inl_.X2929_1904_31633,.inl_.inl_c_1901_31632,.inl_c_31665,.inl_.inl_b_1900_31630,.inl_.inl_.X2945_1899_31629,.inl_b_31622,.inl_.X2928_31621,.inl_.X2929_31616,.inl_c_31624,.inl_.X2927_31612,.inl_a_31608,.inl_.inl_c_1920_31598,.inl_.inl_.inl_b_1894_1926_31603,.inl_.inl_.inl_.X2945_1893_1925_31602,.inl_.inl_b_1916_31597,.inl_.inl_c_1909_31587,.inl_.inl_.inl_b_1894_1915_31592,.inl_.inl_.inl_.X2945_1893_1914_31591,.inl_.inl_b_1905_31586,.inl_.inl_.X2929_1904_31581,.inl_.inl_c_1901_31580,.inl_c_31613,.inl_.inl_b_1900_31578,.inl_.inl_.X2945_1899_31577,.inl_b_31570,.inl_.X2928_31569,.inl_.X2929_31564,.inl_c_31572,.inl_.X2927_31560,.inl_a_31556,_particle_save,.inl_c_31728,.inl_.inl_c_1909_31743,.inl_.inl_.inl_b_1894_1915_31748,.inl_.inl_.inl_.X2945_1893_1914_31747,.inl_.inl_b_1905_31742,.inl_.inl_c_1901_31736,.inl_.inl_.inl_.X2945_1893_1925_31758,.inl_.inl_.X2945_1899_31733,.inl_.inl_b_1900_31734,.inl_.X2929_31720,.inl_.inl_b_1916_31753,.inl_c_31561,.inl_.inl_.inl_b_1894_1926_31759,.inl_.inl_.X2929_1904_31737,.inl_a_31712,.inl_.X2927_31716,.inl_.X2928_31725,.inl_b_31726,.inl_.inl_c_1920_31754 46828, Generating implicit private(_particle) 46927, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 46930, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 46930, Generating implicit private(_particle) 46962, Generating present(particles[:]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 46965, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 46962, Local memory used for _particle_save,.inl_c_31878,.inl_.inl_c_1909_31893,.inl_.inl_.inl_b_1894_1915_31898,.inl_.inl_.inl_.X2945_1893_1914_31897,.inl_.inl_b_1905_31892,.inl_.inl_c_1901_31886,.inl_.inl_.inl_.X2945_1893_1925_31908,.inl_.inl_.X2945_1899_31883,.inl_.inl_b_1900_31884,.inl_.X2929_31870,.inl_.inl_b_1916_31903,.inl_c_31867,.inl_.inl_.inl_b_1894_1926_31909,.inl_.inl_.X2929_1904_31887,.inl_a_31862,.inl_.X2927_31866,.inl_.X2928_31875,.inl_b_31876,.inl_.inl_c_1920_31904 46965, Generating implicit private(_particle) finally: 47871, Generating update self(_NCrystal_sample_var,_NCrystal_mono_material_var,_NCrystal_sample_material_var,_NCrystal_mono_var,_monochromator_var,_powder_sample_var,_master2_var,_mono_out_var,_instrument_var,_mono_arm_var,_powder_pattern_detc_var,_master1_var,_origin_var,_source_var,_stop_var,_init_var) mcenabletrace: 5887, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===