INFO: No output directory specified (--dir) INFO: Using directory: "Test_mask_20250514_033812" INFO: Regenerating c-file: Test_mask.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_mask.c Test_mask.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_mask.out DEBUG: CMD: nvc -o ./Test_mask.out ./Test_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.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_mask.c", line 4584: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_mask.c", line 5039: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_mask.c", line 4958: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_mask.c", line 6285: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_mask.c", line 8308: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Test_mask.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_mask.c", line 8855: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Test_mask.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_mask.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_mask.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_mask.c", line 9505: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_mask.c", line 9725: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Test_mask.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_mask.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_mask.c", line 10160: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Test_mask.c", line 9919: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_mask.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_mask.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_mask.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_mask.c", line 9947: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Test_mask.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_mask.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_mask.c", line 9958: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_mask.c", line 10007: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Test_mask.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_mask.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_mask.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_mask.c", line 10205: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_mask.c", line 10263: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Test_mask.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_mask.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_mask.c", line 10280: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Test_mask.c", line 10281: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_mask.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_mask.c", line 10707: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 10784: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 10991: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.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_mask.c", line 11275: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 11468: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_mask.c", line 11469: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_mask.c", line 12003: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_mask.c", line 12004: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_mask.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_mask.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_mask.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_mask.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_mask.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_mask.c", line 12277: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_mask.c", line 12278: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_mask.c", line 12401: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Test_mask.c", line 12667: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Test_mask.c", line 12733: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 12919: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_mask.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_mask.c", line 13079: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_mask.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_mask.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_mask.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_mask.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_mask.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_mask.c", line 14552: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Test_mask.c", line 14956: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Test_mask.c", line 16389: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 16385: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_mask.c", line 16445: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 16430: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_mask.c", line 16508: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 16493: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_mask.c", line 16565: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 16553: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_mask.c", line 16610: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_mask.c", line 16681: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_mask.c", line 16730: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_mask.c", line 16831: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_mask.c", line 16932: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_mask.c", line 17036: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_mask.c", line 17140: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_mask.c", line 17244: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_mask.c", line 17348: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_mask.c", line 17422: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_mask.c", line 17488: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_mask.c", line 17554: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Test_mask.c", line 17620: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Test_mask.c", line 17669: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Test_mask.c", line 17738: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 17735: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Test_mask.c", line 19583: 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_mask.c", line 19673: 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_mask.c", line 19771: 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_mask.c", line 20341: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Test_mask.c", line 19968: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Test_mask.c", line 21286: 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_mask.c", line 23591: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_mask.c", line 23592: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_mask.c", line 1521: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_mask.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: 19541, Generating update device(_beam_center_var,_stop_var,_test_incoherent_var,_mask_2_2_var,_arm_1_var,_test_sample_var,_volume_2_var,_volume_1_var,_m4pi_var,_mask_1_1_var,_mask_1_2_var,_mask_2_1_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: 19584, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 19674, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 19772, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 21287, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 21739, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21743, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21739, Local memory used for .inl_particle_28748,.inl_.inl_mcneutron_0_28763,.inl_.X2523_28765,.inl_.inl_.X2719_15_28764 21743, Generating implicit firstprivate(seed,_particle) 21753, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21758, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21753, Local memory used for .inl_.inl_c_1933_28812,.inl_.inl_.inl_b_1907_1939_28817,.inl_.inl_.inl_.X2684_1906_1938_28816,.inl_.inl_b_1929_28811,.inl_.inl_c_1922_28801,.inl_.inl_.inl_b_1907_1928_28806,.inl_.inl_.inl_.X2684_1906_1927_28805,.inl_.inl_b_1918_28800,.inl_.inl_.X2668_1917_28795,.inl_.inl_c_1914_28794,.inl_c_28827,.inl_.inl_b_1913_28792,.inl_.inl_.X2684_1912_28791,.inl_b_28784,.inl_.X2667_28783,.inl_.X2668_28778,.inl_c_28786,.inl_.X2666_28774,.inl_a_28770,.inl_c_28838,_particle_save,.inl_.inl_c_1922_28853,.inl_.inl_.inl_b_1907_1928_28858,.inl_.inl_.inl_.X2684_1906_1927_28857,.inl_.inl_b_1918_28852,.inl_.inl_c_1914_28846,.inl_.inl_.inl_.X2684_1906_1938_28868,.inl_.inl_.X2684_1912_28843,.inl_.inl_b_1913_28844,.inl_.X2668_28830,.inl_.inl_b_1929_28863,.inl_c_28775,.inl_.inl_.inl_b_1907_1939_28869,.inl_.inl_.X2668_1917_28847,.inl_a_28822,.inl_.X2666_28826,.inl_.X2667_28835,.inl_b_28836,.inl_.inl_c_1933_28864 21865, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 21868, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 21865, Local memory used for .inl_.inl_c_1933_29186,.inl_.inl_.inl_b_1907_1939_29191,.inl_.inl_.inl_.X2684_1906_1938_29190,.inl_.inl_b_1929_29185,.inl_.inl_c_1922_29175,.inl_.inl_.inl_b_1907_1928_29180,.inl_.inl_.inl_.X2684_1906_1927_29179,.inl_.inl_b_1918_29174,.inl_.inl_.X2668_1917_29169,.inl_.inl_c_1914_29168,.inl_c_29201,.inl_.inl_b_1913_29166,.inl_.inl_.X2684_1912_29165,.inl_b_29158,.inl_.X2667_29157,.inl_.X2668_29152,.inl_c_29160,.inl_.X2666_29148,.inl_a_29144,.inl_.inl_c_1933_29112,.inl_.inl_.inl_b_1907_1939_29117,.inl_.inl_.inl_.X2684_1906_1938_29116,.inl_.inl_b_1929_29111,.inl_.inl_c_1922_29101,.inl_.inl_.inl_b_1907_1928_29106,.inl_.inl_.inl_.X2684_1906_1927_29105,.inl_.inl_b_1918_29100,.inl_.inl_.X2668_1917_29095,.inl_.inl_c_1914_29094,.inl_c_29149,.inl_.inl_b_1913_29092,.inl_.inl_.X2684_1912_29091,.inl_b_29084,.inl_.X2667_29083,.inl_.X2668_29078,.inl_c_29086,.inl_.X2666_29074,.inl_a_29070,.inl_.inl_c_1933_29038,.inl_.inl_.inl_b_1907_1939_29043,.inl_.inl_.inl_.X2684_1906_1938_29042,.inl_.inl_b_1929_29037,.inl_.inl_c_1922_29027,.inl_.inl_.inl_b_1907_1928_29032,.inl_.inl_.inl_.X2684_1906_1927_29031,.inl_.inl_b_1918_29026,.inl_.inl_.X2668_1917_29021,.inl_.inl_c_1914_29020,.inl_c_29075,.inl_.inl_b_1913_29018,.inl_.inl_.X2684_1912_29017,.inl_b_29010,.inl_.X2667_29009,.inl_.X2668_29004,.inl_c_29012,.inl_.X2666_29000,.inl_a_28996,.inl_.inl_c_1933_28964,.inl_.inl_.inl_b_1907_1939_28969,.inl_.inl_.inl_.X2684_1906_1938_28968,.inl_.inl_b_1929_28963,.inl_.inl_c_1922_28953,.inl_.inl_.inl_b_1907_1928_28958,.inl_.inl_.inl_.X2684_1906_1927_28957,.inl_.inl_b_1918_28952,.inl_.inl_.X2668_1917_28947,.inl_.inl_c_1914_28946,.inl_c_29001,.inl_.inl_b_1913_28944,.inl_.inl_.X2684_1912_28943,.inl_b_28936,.inl_.X2667_28935,.inl_.X2668_28930,.inl_c_28938,.inl_.X2666_28926,.inl_a_28922,_particle_save,.inl_c_29212,.inl_.inl_c_1922_29227,.inl_.inl_.inl_b_1907_1928_29232,.inl_.inl_.inl_.X2684_1906_1927_29231,.inl_.inl_b_1918_29226,.inl_.inl_c_1914_29220,.inl_.inl_.inl_.X2684_1906_1938_29242,.inl_.inl_.X2684_1912_29217,.inl_.inl_b_1913_29218,.inl_.X2668_29204,.inl_.inl_b_1929_29237,.inl_c_28927,.inl_.inl_.inl_b_1907_1939_29243,.inl_.inl_.X2668_1917_29221,.inl_a_29196,.inl_.X2666_29200,.inl_.X2667_29209,.inl_b_29210,.inl_.inl_c_1933_29238 finally: 22785, Generating update self(_beam_center_var,_stop_var,_test_incoherent_var,_mask_2_2_var,_arm_1_var,_test_sample_var,_volume_1_var,_volume_2_var,_m4pi_var,_mask_1_1_var,_mask_1_2_var,_mask_2_1_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: ===