INFO: No output directory specified (--dir) INFO: Using directory: "Test_box_20260318_034618" 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 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 -DUSE_MPI -lmpi -Wl,-rpath,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -L,/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/25.9/comm_libs/12.9/openmpi4/openmpi-4.1.5/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 110: 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 114: 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 144: 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 114: 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 175: 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 199: 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 210: 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 221: 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 233: 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 302: 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 304: 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 655: 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 876: 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 893: 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 895: 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 903: 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 905: 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 907: 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 909: 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 911: 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 1007: 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 1009: 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 1011: 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 1013: 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 1015: 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 1017: 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 1019: 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 1021: 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 1023: 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 4638: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_box.c", line 5093: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_box.c", line 5012: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_box.c", line 6339: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_box.c", line 8721: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Test_box.c", line 9276: 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 9303: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Test_box.c", line 9832: 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 9833: 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 9834: 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 10056: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_box.c", line 10118: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Test_box.c", line 10118: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Test_box.c", line 10118: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Test_box.c", line 10339: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Test_box.c", line 10644: 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 10645: 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 10890: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Test_box.c", line 10681: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_box.c", line 10683: 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 10684: 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 10685: 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 10709: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Test_box.c", line 10718: 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 10718: 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 10720: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_box.c", line 10762: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Test_box.c", line 10931: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_box.c", line 10961: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Test_box.c", line 10980: 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 10980: 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 10981: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Test_box.c", line 10982: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_box.c", line 11219: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Test_box.c", line 11385: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Test_box.c", line 11440: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 11517: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 11729: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 11827: 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 12018: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 12216: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_box.c", line 12217: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_box.c", line 12802: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_box.c", line 12803: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_box.c", line 13062: 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 13067: 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 13068: 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 13069: 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 13076: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_box.c", line 13077: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_box.c", line 13200: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Test_box.c", line 13494: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Test_box.c", line 13560: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_box.c", line 13747: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_box.c", line 13750: 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 13907: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_box.c", line 13910: 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 14908: 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 14811: 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 15130: 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 15340: 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 15501: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Test_box.c", line 15905: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Test_box.c", line 16983: warning: variable "choice" was declared but never referenced [declared_but_not_referenced] enum surface choice = surface->eSurface; ^ "./Test_box.c", line 17684: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 17680: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_box.c", line 17740: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 17725: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_box.c", line 17807: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 17788: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_box.c", line 17868: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 17856: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_box.c", line 17913: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_box.c", line 17984: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_box.c", line 18033: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_box.c", line 18082: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_box.c", line 18199: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_box.c", line 18304: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_box.c", line 18409: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_box.c", line 18514: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_box.c", line 18631: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_box.c", line 18748: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_box.c", line 18865: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_box.c", line 18943: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Test_box.c", line 19009: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Test_box.c", line 19075: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Test_box.c", line 19141: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Test_box.c", line 19190: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Test_box.c", line 19259: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_box.c", line 19256: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Test_box.c", line 21593: warning: incompatible redefinition of macro "exit" (declared at line 634) [bad_macro_redef] #define exit(...) noprintf() ^ "./Test_box.c", line 21605: 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 21684: 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 21782: 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 22530: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Test_box.c", line 23504: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Test_box.c", line 23536: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Test_box.c", line 21987: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Test_box.c", line 24092: 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 26553: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_box.c", line 26554: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_box.c", line 1515: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_box.c", line 2984: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 103, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 117, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 151, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 177, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 201, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 212, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 221, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 233, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1563, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1567, Generating acc routine seq Generating NVIDIA GPU code str_len: 1576, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4256, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4690, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4701, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4710, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4722, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4734, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4744, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4754, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4762, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4772, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4794, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4801, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4847, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4882, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4893, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4910, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4921, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4937, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4966, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4977, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4981, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5016, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5023, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5032, #pragma acc loop seq 5016, Generating implicit copy(lens[:]) [if not already present] 5023, Generating implicit firstprivate(ll,l) 5034, Accelerator restriction: induction variable live-out from loop: i 5035, Accelerator restriction: induction variable live-out from loop: i 5036, Accelerator restriction: induction variable live-out from loop: i 5037, Accelerator restriction: induction variable live-out from loop: i 5039, Accelerator restriction: induction variable live-out from loop: j 5040, Accelerator restriction: induction variable live-out from loop: j 5041, Accelerator restriction: induction variable live-out from loop: j 5042, Accelerator restriction: induction variable live-out from loop: j 5064, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5068, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5071, #pragma acc loop seq 5064, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5071, Generating implicit firstprivate(l) 5088, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5092, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5099, #pragma acc loop seq 5088, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5158, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5189, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5206, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5305, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5389, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5455, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5532, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5804, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5816, Generating acc routine seq Generating NVIDIA GPU code _hash: 5848, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5889, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5900, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5905, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5913, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5921, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5928, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6608, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6648, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6708, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6725, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6840, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6895, Generating acc routine seq Generating NVIDIA GPU code init: 21563, 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: 21606, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 21685, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 21783, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 24093, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 24553, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 24557, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 24557, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 24566, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 24571, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 24566, Local memory used for .inl_.inl_c_1989_32266,.inl_.inl_.inl_b_1963_1995_32271,.inl_.inl_.inl_.X2950_1962_1994_32270,.inl_.inl_b_1985_32265,.inl_.inl_c_1978_32255,.inl_.inl_.inl_b_1963_1984_32260,.inl_.inl_.inl_.X2950_1962_1983_32259,.inl_.inl_b_1974_32254,.inl_.inl_.X2934_1973_32249,.inl_.inl_c_1970_32248,.inl_c_32281,.inl_.inl_b_1969_32246,.inl_.inl_.X2950_1968_32245,.inl_b_32238,.inl_.X2933_32237,.inl_.X2934_32232,.inl_c_32240,.inl_.X2932_32228,.inl_a_32224,.inl_c_32292,_particle_save,.inl_.inl_c_1978_32307,.inl_.inl_.inl_b_1963_1984_32312,.inl_.inl_.inl_.X2950_1962_1983_32311,.inl_.inl_b_1974_32306,.inl_.inl_c_1970_32300,.inl_.inl_.inl_.X2950_1962_1994_32322,.inl_.inl_.X2950_1968_32297,.inl_.inl_b_1969_32298,.inl_.X2934_32284,.inl_.inl_b_1985_32317,.inl_c_32229,.inl_.inl_.inl_b_1963_1995_32323,.inl_.inl_.X2934_1973_32301,.inl_a_32276,.inl_.X2932_32280,.inl_.X2933_32289,.inl_b_32290,.inl_.inl_c_1989_32318 24688, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 24691, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 24688, Local memory used for .inl_.inl_c_1989_32640,.inl_.inl_.inl_b_1963_1995_32645,.inl_.inl_.inl_.X2950_1962_1994_32644,.inl_.inl_b_1985_32639,.inl_.inl_c_1978_32629,.inl_.inl_.inl_b_1963_1984_32634,.inl_.inl_.inl_.X2950_1962_1983_32633,.inl_.inl_b_1974_32628,.inl_.inl_.X2934_1973_32623,.inl_.inl_c_1970_32622,.inl_c_32655,.inl_.inl_b_1969_32620,.inl_.inl_.X2950_1968_32619,.inl_b_32612,.inl_.X2933_32611,.inl_.X2934_32606,.inl_c_32614,.inl_.X2932_32602,.inl_a_32598,.inl_.inl_c_1989_32566,.inl_.inl_.inl_b_1963_1995_32571,.inl_.inl_.inl_.X2950_1962_1994_32570,.inl_.inl_b_1985_32565,.inl_.inl_c_1978_32555,.inl_.inl_.inl_b_1963_1984_32560,.inl_.inl_.inl_.X2950_1962_1983_32559,.inl_.inl_b_1974_32554,.inl_.inl_.X2934_1973_32549,.inl_.inl_c_1970_32548,.inl_c_32603,.inl_.inl_b_1969_32546,.inl_.inl_.X2950_1968_32545,.inl_b_32538,.inl_.X2933_32537,.inl_.X2934_32532,.inl_c_32540,.inl_.X2932_32528,.inl_a_32524,.inl_.inl_c_1989_32492,.inl_.inl_.inl_b_1963_1995_32497,.inl_.inl_.inl_.X2950_1962_1994_32496,.inl_.inl_b_1985_32491,.inl_.inl_c_1978_32481,.inl_.inl_.inl_b_1963_1984_32486,.inl_.inl_.inl_.X2950_1962_1983_32485,.inl_.inl_b_1974_32480,.inl_.inl_.X2934_1973_32475,.inl_.inl_c_1970_32474,.inl_c_32529,.inl_.inl_b_1969_32472,.inl_.inl_.X2950_1968_32471,.inl_b_32464,.inl_.X2933_32463,.inl_.X2934_32458,.inl_c_32466,.inl_.X2932_32454,.inl_a_32450,.inl_.inl_c_1989_32418,.inl_.inl_.inl_b_1963_1995_32423,.inl_.inl_.inl_.X2950_1962_1994_32422,.inl_.inl_b_1985_32417,.inl_.inl_c_1978_32407,.inl_.inl_.inl_b_1963_1984_32412,.inl_.inl_.inl_.X2950_1962_1983_32411,.inl_.inl_b_1974_32406,.inl_.inl_.X2934_1973_32401,.inl_.inl_c_1970_32400,.inl_c_32455,.inl_.inl_b_1969_32398,.inl_.inl_.X2950_1968_32397,.inl_b_32390,.inl_.X2933_32389,.inl_.X2934_32384,.inl_c_32392,.inl_.X2932_32380,.inl_a_32376,_particle_save,.inl_c_32666,.inl_.inl_c_1978_32681,.inl_.inl_.inl_b_1963_1984_32686,.inl_.inl_.inl_.X2950_1962_1983_32685,.inl_.inl_b_1974_32680,.inl_.inl_c_1970_32674,.inl_.inl_.inl_.X2950_1962_1994_32696,.inl_.inl_.X2950_1968_32671,.inl_.inl_b_1969_32672,.inl_.X2934_32658,.inl_.inl_b_1985_32691,.inl_c_32381,.inl_.inl_.inl_b_1963_1995_32697,.inl_.inl_.X2934_1973_32675,.inl_a_32650,.inl_.X2932_32654,.inl_.X2933_32663,.inl_b_32664,.inl_.inl_c_1989_32692 finally: 25691, 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: 6048, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===