INFO: No output directory specified (--dir) INFO: Using directory: "Union_NCrystal_mix_example_20241118_020649" INFO: Regenerating c-file: Union_NCrystal_mix_example.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Union_NCrystal_mix_example.c Union_NCrystal_mix_example.instr Info: 'NCrystal_sample' is a contributed component. 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) -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component master is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component master -> GPU kernel from component mono_out Component powder_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component powder_sample -> GPU kernel from component powder_pattern_detc ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Union_NCrystal_mix_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_mix_example.out ./Union_NCrystal_mix_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 -DFUNNEL "./Union_NCrystal_mix_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_mix_example.c", line 4941: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] unsigned long randstate[7]; ^ "./Union_NCrystal_mix_example.c", line 4860: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Union_NCrystal_mix_example.c", line 8178: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Union_NCrystal_mix_example.c", line 8702: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Union_NCrystal_mix_example.c", line 8725: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Union_NCrystal_mix_example.c", line 9213: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Union_NCrystal_mix_example.c", line 9214: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Union_NCrystal_mix_example.c", line 9215: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Union_NCrystal_mix_example.c", line 9375: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Union_NCrystal_mix_example.c", line 9595: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Union_NCrystal_mix_example.c", line 9754: 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; ^ "./Union_NCrystal_mix_example.c", line 9755: 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; ^ "./Union_NCrystal_mix_example.c", line 10030: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Union_NCrystal_mix_example.c", line 9789: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Union_NCrystal_mix_example.c", line 9791: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Union_NCrystal_mix_example.c", line 9792: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Union_NCrystal_mix_example.c", line 9793: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Union_NCrystal_mix_example.c", line 9817: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Union_NCrystal_mix_example.c", line 9826: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Union_NCrystal_mix_example.c", line 9826: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Union_NCrystal_mix_example.c", line 9828: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Union_NCrystal_mix_example.c", line 9877: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Union_NCrystal_mix_example.c", line 10044: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Union_NCrystal_mix_example.c", line 10045: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Union_NCrystal_mix_example.c", line 10046: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Union_NCrystal_mix_example.c", line 10075: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Union_NCrystal_mix_example.c", line 10133: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Union_NCrystal_mix_example.c", line 10149: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Union_NCrystal_mix_example.c", line 10149: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Union_NCrystal_mix_example.c", line 10150: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Union_NCrystal_mix_example.c", line 10151: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Union_NCrystal_mix_example.c", line 10588: 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); ^ "./Union_NCrystal_mix_example.c", line 10577: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_NCrystal_mix_example.c", line 10654: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_NCrystal_mix_example.c", line 10861: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_NCrystal_mix_example.c", line 10959: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Union_NCrystal_mix_example.c", line 11145: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_NCrystal_mix_example.c", line 11338: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Union_NCrystal_mix_example.c", line 11339: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Union_NCrystal_mix_example.c", line 11873: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Union_NCrystal_mix_example.c", line 11874: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Union_NCrystal_mix_example.c", line 12273: 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); ^ "./Union_NCrystal_mix_example.c", line 12133: 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; ^ "./Union_NCrystal_mix_example.c", line 12138: 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; ^ "./Union_NCrystal_mix_example.c", line 12139: 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; ^ "./Union_NCrystal_mix_example.c", line 12140: 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; ^ "./Union_NCrystal_mix_example.c", line 12147: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Union_NCrystal_mix_example.c", line 12148: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Union_NCrystal_mix_example.c", line 12271: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Union_NCrystal_mix_example.c", line 12537: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Union_NCrystal_mix_example.c", line 12603: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Union_NCrystal_mix_example.c", line 12789: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_NCrystal_mix_example.c", line 12792: 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_mix_example.c", line 12949: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Union_NCrystal_mix_example.c", line 12952: 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_mix_example.c", line 13871: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Union_NCrystal_mix_example.c", line 13780: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Union_NCrystal_mix_example.c", line 14083: 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_mix_example.c", line 14273: 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_mix_example.c", line 14422: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Union_NCrystal_mix_example.c", line 14826: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Union_NCrystal_mix_example.c", line 15687: warning: missing return statement at end of non-void function "ncrystalsample_surfintersect" [implicit_return_from_non_void_function] } ^ "./Union_NCrystal_mix_example.c", line 17884: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_NCrystal_mix_example.c", line 17884: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Union_NCrystal_mix_example.c", line 17911: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_NCrystal_mix_example.c", line 17911: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Union_NCrystal_mix_example.c", line 19808: 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_mix_example.c", line 19808: 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_mix_example.c", line 19808: 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_mix_example.c", line 19808: 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_mix_example.c", line 19808: 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_mix_example.c", line 19808: 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_mix_example.c", line 20165: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Union_NCrystal_mix_example.c", line 21769: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 21765: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Union_NCrystal_mix_example.c", line 21825: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 21810: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Union_NCrystal_mix_example.c", line 21881: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 21866: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Union_NCrystal_mix_example.c", line 21935: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 21923: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Union_NCrystal_mix_example.c", line 21977: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Union_NCrystal_mix_example.c", line 22038: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Union_NCrystal_mix_example.c", line 22087: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Union_NCrystal_mix_example.c", line 22166: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Union_NCrystal_mix_example.c", line 22229: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Union_NCrystal_mix_example.c", line 22278: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Union_NCrystal_mix_example.c", line 22339: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Union_NCrystal_mix_example.c", line 22444: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Union_NCrystal_mix_example.c", line 22441: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Union_NCrystal_mix_example.c", line 25393: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Union_NCrystal_mix_example.c", line 27187: warning: variable "_particle_save" was declared but never referenced [declared_but_not_referenced] _class_particle _particle_save; ^ "./Union_NCrystal_mix_example.c", line 29016: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Union_NCrystal_mix_example.c", line 29017: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Union_NCrystal_mix_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_mix_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[:buffer_len],pbuffer[:buffer_len]) 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[:buffer_len]) 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[:buffer_len]) 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: 16880, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 18862, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 18930, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 19009, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 19477, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 19493, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 19511, Generating acc routine seq Generating NVIDIA GPU code off_F: 19765, Generating acc routine seq Generating NVIDIA GPU code off_sign: 19770, Generating acc routine seq Generating NVIDIA GPU code off_normal: 19780, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 19806, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 19869, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 20000, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 20045, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 20162, Generating acc routine seq Generating NVIDIA GPU code off_compare: 20280, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 20292, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 20327, Generating acc routine seq Generating NVIDIA GPU code Min_int: 20578, Generating acc routine seq Generating NVIDIA GPU code merge: 20585, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 20689, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 20704, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 20758, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 20875, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 20897, Generating acc routine seq Generating NVIDIA GPU code init: 24596, Generating update device(_NCrystal_mono_var,_NCrystal_mono_material_var,_monochromator_var,_powder_sample_var,_master_var,_mono_out_var,_instrument_var,_mono_arm_var,_powder_pattern_detc_var,_origin_var,_stop_var,_source_var,_init_var) class_NCrystal_process_trace: 24639, Generating acc routine seq Generating NVIDIA GPU code class_Progress_bar_trace: 24683, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 24773, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 26479, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 27071, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 27075, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 27071, Local memory used for .inl_.inl_mcneutron_0_29849,.inl_particle_29834,.inl_.X2776_29851,.inl_.inl_.X2982_15_29850 27075, Generating implicit firstprivate(seed,_particle) 27085, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 27090, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 27085, Local memory used for .inl_.inl_c_1920_29950,.inl_.inl_.inl_b_1894_1926_29955,.inl_.inl_.inl_.X2947_1893_1925_29954,.inl_.inl_b_1916_29949,.inl_.inl_c_1909_29939,.inl_.inl_.inl_b_1894_1915_29944,.inl_.inl_.inl_.X2947_1893_1914_29943,.inl_.inl_b_1905_29938,.inl_.inl_.X2931_1904_29933,.inl_.inl_c_1901_29932,.inl_c_29965,.inl_.inl_b_1900_29930,.inl_.inl_.X2947_1899_29929,.inl_b_29922,.inl_.X2930_29921,.inl_.X2931_29916,.inl_c_29924,.inl_.X2929_29912,.inl_a_29908,.inl_.inl_c_1920_29898,.inl_.inl_.inl_b_1894_1926_29903,.inl_.inl_.inl_.X2947_1893_1925_29902,.inl_.inl_b_1916_29897,.inl_.inl_c_1909_29887,.inl_.inl_.inl_b_1894_1915_29892,.inl_.inl_.inl_.X2947_1893_1914_29891,.inl_.inl_b_1905_29886,.inl_.inl_.X2931_1904_29881,.inl_.inl_c_1901_29880,.inl_c_29913,.inl_.inl_b_1900_29878,.inl_.inl_.X2947_1899_29877,.inl_b_29870,.inl_.X2930_29869,.inl_.X2931_29864,.inl_c_29872,.inl_.X2929_29860,.inl_a_29856,_particle_save,.inl_c_29976,.inl_.inl_c_1909_29991,.inl_.inl_.inl_b_1894_1915_29996,.inl_.inl_.inl_.X2947_1893_1914_29995,.inl_.inl_b_1905_29990,.inl_.inl_c_1901_29984,.inl_.inl_.inl_.X2947_1893_1925_30006,.inl_.inl_.X2947_1899_29981,.inl_.inl_b_1900_29982,.inl_.X2931_29968,.inl_.inl_b_1916_30001,.inl_c_29861,.inl_.inl_.inl_b_1894_1926_30007,.inl_.inl_.X2931_1904_29985,.inl_a_29960,.inl_.X2929_29964,.inl_.X2930_29973,.inl_b_29974,.inl_.inl_c_1920_30002 27090, Generating implicit private(_particle) 27182, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 27185, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 27185, Generating implicit private(_particle) 27217, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 27220, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 27217, Local memory used for _particle_save,.inl_c_30126,.inl_.inl_c_1909_30141,.inl_.inl_.inl_b_1894_1915_30146,.inl_.inl_.inl_.X2947_1893_1914_30145,.inl_.inl_b_1905_30140,.inl_.inl_c_1901_30134,.inl_.inl_.inl_.X2947_1893_1925_30156,.inl_.inl_.X2947_1899_30131,.inl_.inl_b_1900_30132,.inl_.X2931_30118,.inl_.inl_b_1916_30151,.inl_c_30115,.inl_.inl_.inl_b_1894_1926_30157,.inl_.inl_.X2931_1904_30135,.inl_a_30110,.inl_.X2929_30114,.inl_.X2930_30123,.inl_b_30124,.inl_.inl_c_1920_30152 27220, Generating implicit private(_particle) finally: 28155, Generating update self(_NCrystal_mono_var,_NCrystal_mono_material_var,_monochromator_var,_powder_sample_var,_master_var,_mono_out_var,_instrument_var,_mono_arm_var,_powder_pattern_detc_var,_origin_var,_stop_var,_source_var,_init_var) mcenabletrace: 5887, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===