INFO: No output directory specified (--dir) INFO: Using directory: "Test_box_20250514_033748" INFO: Regenerating c-file: Test_box.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_box.c Test_box.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -DFUNNEL ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component test_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample -> GPU kernel from component m4pi ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_box.out DEBUG: CMD: nvc -o ./Test_box.out ./Test_box.c -lm -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -Wl,-rpath-link,/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib -mtune=haswell -fPIC -O2 -isystem /u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/include -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL "./Test_box.c", line 91: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Test_box.c", line 93: warning: Routine "mcsetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcsetstate(double x, double y, double z, double vx, double vy, double vz, ^ "./Test_box.c", line 96: warning: Routine "mcgetstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgetstate(_class_particle mcneutron, double *x, double *y, double *z, ^ "./Test_box.c", line 112: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./Test_box.c", line 116: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Test_box.c", line 146: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./Test_box.c", line 116: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Test_box.c", line 177: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./Test_box.c", line 201: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./Test_box.c", line 212: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./Test_box.c", line 223: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./Test_box.c", line 235: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./Test_box.c", line 309: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Test_box.c", line 311: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./Test_box.c", line 661: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./Test_box.c", line 882: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./Test_box.c", line 899: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./Test_box.c", line 901: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./Test_box.c", line 909: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./Test_box.c", line 911: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./Test_box.c", line 913: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./Test_box.c", line 915: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./Test_box.c", line 917: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./Test_box.c", line 1013: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./Test_box.c", line 1015: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./Test_box.c", line 1017: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./Test_box.c", line 1019: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./Test_box.c", line 1021: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./Test_box.c", line 1023: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./Test_box.c", line 1025: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./Test_box.c", line 1027: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./Test_box.c", line 1029: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./Test_box.c", line 4584: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_box.c", line 5039: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_box.c", line 4958: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_box.c", line 6285: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_box.c", line 8308: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Test_box.c", line 8832: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Test_box.c", line 8855: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Test_box.c", line 9343: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Test_box.c", line 9344: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Test_box.c", line 9345: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Test_box.c", line 9505: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_box.c", line 9725: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Test_box.c", line 9884: 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; ^ "./Test_box.c", line 9885: 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; ^ "./Test_box.c", line 10160: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Test_box.c", line 9919: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_box.c", line 9921: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Test_box.c", line 9922: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Test_box.c", line 9923: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Test_box.c", line 9947: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Test_box.c", line 9956: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_box.c", line 9956: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_box.c", line 9958: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_box.c", line 10007: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Test_box.c", line 10174: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Test_box.c", line 10175: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Test_box.c", line 10176: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Test_box.c", line 10205: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_box.c", line 10263: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Test_box.c", line 10279: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_box.c", line 10279: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_box.c", line 10280: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Test_box.c", line 10281: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_box.c", line 10718: 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); ^ "./Test_box.c", line 10707: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 10784: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 10991: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 11089: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Test_box.c", line 11275: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 11468: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_box.c", line 11469: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_box.c", line 12003: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_box.c", line 12004: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_box.c", line 12403: 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); ^ "./Test_box.c", line 12263: 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; ^ "./Test_box.c", line 12268: 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; ^ "./Test_box.c", line 12269: 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; ^ "./Test_box.c", line 12270: 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; ^ "./Test_box.c", line 12277: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_box.c", line 12278: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_box.c", line 12401: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Test_box.c", line 12667: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Test_box.c", line 12733: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 12919: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_box.c", line 12922: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Test_box.c", line 13079: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_box.c", line 13082: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Test_box.c", line 14001: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Test_box.c", line 13910: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Test_box.c", line 14213: 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; ^ "./Test_box.c", line 14403: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Test_box.c", line 14552: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Test_box.c", line 14956: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Test_box.c", line 16533: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 16529: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_box.c", line 16589: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 16574: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_box.c", line 16652: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 16637: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_box.c", line 16709: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 16697: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_box.c", line 16754: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_box.c", line 16825: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_box.c", line 16874: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_box.c", line 16923: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_box.c", line 17024: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_box.c", line 17119: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_box.c", line 17214: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_box.c", line 17309: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_box.c", line 17410: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_box.c", line 17511: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_box.c", line 17612: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_box.c", line 17686: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Test_box.c", line 17752: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Test_box.c", line 17818: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Test_box.c", line 17884: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Test_box.c", line 17933: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Test_box.c", line 18002: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 17999: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Test_box.c", line 20078: warning: Routine "class_Progress_bar_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Progress_bar_trace(_class_Progress_bar *_comp ^ "./Test_box.c", line 20168: warning: Routine "class_Source_div_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Source_div_trace(_class_Source_div *_comp ^ "./Test_box.c", line 20266: warning: Routine "class_Arm_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Arm_trace(_class_Arm *_comp ^ "./Test_box.c", line 20836: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Test_box.c", line 20463: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Test_box.c", line 21781: warning: Routine "class_PSD_monitor_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp ^ "./Test_box.c", line 24119: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_box.c", line 24120: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_box.c", line 1521: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_box.c", line 2941: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 119, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 153, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 179, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 203, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 214, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 223, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 235, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1569, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1573, Generating acc routine seq Generating NVIDIA GPU code str_len: 1582, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4205, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4636, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4647, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4656, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4668, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4690, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4700, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4708, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4718, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4740, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4747, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4793, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4828, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4839, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4856, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4867, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4883, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4912, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4923, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4927, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4962, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4969, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4978, #pragma acc loop seq 4962, Generating implicit copy(lens[:]) [if not already present] 4969, Generating implicit firstprivate(ll,l) 4980, Accelerator restriction: induction variable live-out from loop: i 4981, Accelerator restriction: induction variable live-out from loop: i 4982, Accelerator restriction: induction variable live-out from loop: i 4983, Accelerator restriction: induction variable live-out from loop: i 4985, Accelerator restriction: induction variable live-out from loop: j 4986, Accelerator restriction: induction variable live-out from loop: j 4987, Accelerator restriction: induction variable live-out from loop: j 4988, Accelerator restriction: induction variable live-out from loop: j 5010, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5014, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5017, #pragma acc loop seq 5010, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5017, Generating implicit firstprivate(l) 5034, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5038, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5045, #pragma acc loop seq 5034, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5104, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5135, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5152, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5251, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5335, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5401, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5478, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5750, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5762, Generating acc routine seq Generating NVIDIA GPU code _hash: 5794, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5835, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5846, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5851, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5859, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5867, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5874, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6554, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6591, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6651, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6783, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6838, Generating acc routine seq Generating NVIDIA GPU code init: 20036, Generating update device(_cylinder_tube1_var,_stop_var,_test_incoherent_var,_m4pi_var,_arm_1_var,_tube_point_var,_test_sample_var,_box_totem3_var,_cylinder_cross2_var,_box_tube1_var,_cylinder_cross1_var,_beam_center_var,_box_totem1_var,_box_totem2_var,_test_material_var,_m4pi_both_var,_instrument_var,_m4pi_1_var,_a1_var,_m4pi_2_var,_source_var,_init_var) class_Progress_bar_trace: 20079, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 20169, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 20267, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 21782, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 22244, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 22248, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 22244, Local memory used for .inl_particle_30907,.inl_.inl_mcneutron_0_30922,.inl_.X2560_30924,.inl_.inl_.X2756_15_30923 22248, Generating implicit firstprivate(seed,_particle) 22258, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 22263, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 22258, Local memory used for .inl_.inl_c_1933_30971,.inl_.inl_.inl_b_1907_1939_30976,.inl_.inl_.inl_.X2721_1906_1938_30975,.inl_.inl_b_1929_30970,.inl_.inl_c_1922_30960,.inl_.inl_.inl_b_1907_1928_30965,.inl_.inl_.inl_.X2721_1906_1927_30964,.inl_.inl_b_1918_30959,.inl_.inl_.X2705_1917_30954,.inl_.inl_c_1914_30953,.inl_c_30986,.inl_.inl_b_1913_30951,.inl_.inl_.X2721_1912_30950,.inl_b_30943,.inl_.X2704_30942,.inl_.X2705_30937,.inl_c_30945,.inl_.X2703_30933,.inl_a_30929,.inl_c_30997,_particle_save,.inl_.inl_c_1922_31012,.inl_.inl_.inl_b_1907_1928_31017,.inl_.inl_.inl_.X2721_1906_1927_31016,.inl_.inl_b_1918_31011,.inl_.inl_c_1914_31005,.inl_.inl_.inl_.X2721_1906_1938_31027,.inl_.inl_.X2721_1912_31002,.inl_.inl_b_1913_31003,.inl_.X2705_30989,.inl_.inl_b_1929_31022,.inl_c_30934,.inl_.inl_.inl_b_1907_1939_31028,.inl_.inl_.X2705_1917_31006,.inl_a_30981,.inl_.X2703_30985,.inl_.X2704_30994,.inl_b_30995,.inl_.inl_c_1933_31023 22380, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 22383, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 22380, Local memory used for .inl_.inl_c_1933_31345,.inl_.inl_.inl_b_1907_1939_31350,.inl_.inl_.inl_.X2721_1906_1938_31349,.inl_.inl_b_1929_31344,.inl_.inl_c_1922_31334,.inl_.inl_.inl_b_1907_1928_31339,.inl_.inl_.inl_.X2721_1906_1927_31338,.inl_.inl_b_1918_31333,.inl_.inl_.X2705_1917_31328,.inl_.inl_c_1914_31327,.inl_c_31360,.inl_.inl_b_1913_31325,.inl_.inl_.X2721_1912_31324,.inl_b_31317,.inl_.X2704_31316,.inl_.X2705_31311,.inl_c_31319,.inl_.X2703_31307,.inl_a_31303,.inl_.inl_c_1933_31271,.inl_.inl_.inl_b_1907_1939_31276,.inl_.inl_.inl_.X2721_1906_1938_31275,.inl_.inl_b_1929_31270,.inl_.inl_c_1922_31260,.inl_.inl_.inl_b_1907_1928_31265,.inl_.inl_.inl_.X2721_1906_1927_31264,.inl_.inl_b_1918_31259,.inl_.inl_.X2705_1917_31254,.inl_.inl_c_1914_31253,.inl_c_31308,.inl_.inl_b_1913_31251,.inl_.inl_.X2721_1912_31250,.inl_b_31243,.inl_.X2704_31242,.inl_.X2705_31237,.inl_c_31245,.inl_.X2703_31233,.inl_a_31229,.inl_.inl_c_1933_31197,.inl_.inl_.inl_b_1907_1939_31202,.inl_.inl_.inl_.X2721_1906_1938_31201,.inl_.inl_b_1929_31196,.inl_.inl_c_1922_31186,.inl_.inl_.inl_b_1907_1928_31191,.inl_.inl_.inl_.X2721_1906_1927_31190,.inl_.inl_b_1918_31185,.inl_.inl_.X2705_1917_31180,.inl_.inl_c_1914_31179,.inl_c_31234,.inl_.inl_b_1913_31177,.inl_.inl_.X2721_1912_31176,.inl_b_31169,.inl_.X2704_31168,.inl_.X2705_31163,.inl_c_31171,.inl_.X2703_31159,.inl_a_31155,.inl_.inl_c_1933_31123,.inl_.inl_.inl_b_1907_1939_31128,.inl_.inl_.inl_.X2721_1906_1938_31127,.inl_.inl_b_1929_31122,.inl_.inl_c_1922_31112,.inl_.inl_.inl_b_1907_1928_31117,.inl_.inl_.inl_.X2721_1906_1927_31116,.inl_.inl_b_1918_31111,.inl_.inl_.X2705_1917_31106,.inl_.inl_c_1914_31105,.inl_c_31160,.inl_.inl_b_1913_31103,.inl_.inl_.X2721_1912_31102,.inl_b_31095,.inl_.X2704_31094,.inl_.X2705_31089,.inl_c_31097,.inl_.X2703_31085,.inl_a_31081,_particle_save,.inl_c_31371,.inl_.inl_c_1922_31386,.inl_.inl_.inl_b_1907_1928_31391,.inl_.inl_.inl_.X2721_1906_1927_31390,.inl_.inl_b_1918_31385,.inl_.inl_c_1914_31379,.inl_.inl_.inl_.X2721_1906_1938_31401,.inl_.inl_.X2721_1912_31376,.inl_.inl_b_1913_31377,.inl_.X2705_31363,.inl_.inl_b_1929_31396,.inl_c_31086,.inl_.inl_.inl_b_1907_1939_31402,.inl_.inl_.X2705_1917_31380,.inl_a_31355,.inl_.X2703_31359,.inl_.X2704_31368,.inl_b_31369,.inl_.inl_c_1933_31397 finally: 23304, Generating update self(_cylinder_tube1_var,_stop_var,_test_incoherent_var,_m4pi_var,_arm_1_var,_tube_point_var,_test_sample_var,_box_totem3_var,_cylinder_cross2_var,_box_tube1_var,_cylinder_cross1_var,_beam_center_var,_box_totem1_var,_box_totem2_var,_test_material_var,_m4pi_both_var,_instrument_var,_m4pi_1_var,_a1_var,_m4pi_2_var,_source_var,_init_var) mcenabletrace: 5994, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===