INFO: No output directory specified (--dir) INFO: Using directory: "Test_mask_20251212_041645" 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 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 -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_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 304: 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 306: 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 657: 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 878: 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 895: 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 897: 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 905: 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 907: 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 909: 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 911: 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 913: 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 1009: 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 1011: 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 1013: 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 1015: 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 1017: 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 1019: 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 1021: 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 1023: 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 1025: 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 4640: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Test_mask.c", line 5095: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Test_mask.c", line 5014: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Test_mask.c", line 6341: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Test_mask.c", line 8723: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Test_mask.c", line 9279: 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 9306: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Test_mask.c", line 9831: 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 9832: 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 9833: 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 10055: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_mask.c", line 10117: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Test_mask.c", line 10117: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Test_mask.c", line 10117: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Test_mask.c", line 10338: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Test_mask.c", line 10643: 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 10644: 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 10889: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Test_mask.c", line 10680: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_mask.c", line 10682: 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 10683: 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 10684: 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 10708: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Test_mask.c", line 10717: 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 10717: 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 10719: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_mask.c", line 10761: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Test_mask.c", line 10930: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Test_mask.c", line 10960: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Test_mask.c", line 10979: 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 10979: 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 10980: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Test_mask.c", line 10981: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_mask.c", line 11218: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Test_mask.c", line 11384: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Test_mask.c", line 11439: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 11516: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 11728: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 11826: 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 12017: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 12215: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_mask.c", line 12216: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_mask.c", line 12801: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_mask.c", line 12802: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_mask.c", line 13061: 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 13066: 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 13067: 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 13068: 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 13075: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_mask.c", line 13076: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_mask.c", line 13199: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Test_mask.c", line 13493: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Test_mask.c", line 13559: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_mask.c", line 13746: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_mask.c", line 13749: 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 13906: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_mask.c", line 13909: 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 14907: 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 14810: 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 15129: 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 15339: 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 15500: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Test_mask.c", line 15904: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Test_mask.c", line 16870: warning: variable "choice" was declared but never referenced [declared_but_not_referenced] enum surface choice = surface->eSurface; ^ "./Test_mask.c", line 17509: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 17505: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_mask.c", line 17565: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 17550: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_mask.c", line 17632: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 17613: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_mask.c", line 17693: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 17681: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_mask.c", line 17738: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_mask.c", line 17809: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_mask.c", line 17858: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_mask.c", line 17975: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_mask.c", line 18092: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Test_mask.c", line 18212: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Test_mask.c", line 18332: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Test_mask.c", line 18452: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Test_mask.c", line 18572: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Test_mask.c", line 18650: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Test_mask.c", line 18716: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Test_mask.c", line 18782: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Test_mask.c", line 18848: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Test_mask.c", line 18897: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Test_mask.c", line 18966: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_mask.c", line 18963: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Test_mask.c", line 20973: warning: incompatible redefinition of macro "exit" (declared at line 636) [bad_macro_redef] #define exit(...) noprintf() ^ "./Test_mask.c", line 20985: 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 21075: 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 21173: 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 21875: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Test_mask.c", line 22735: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Test_mask.c", line 22768: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Test_mask.c", line 21378: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Test_mask.c", line 23296: 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 25682: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_mask.c", line 25683: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_mask.c", line 1517: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_mask.c", line 2986: 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: 1565, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1569, Generating acc routine seq Generating NVIDIA GPU code str_len: 1578, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4258, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4692, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4703, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4724, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4736, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4746, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4756, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4764, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4774, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4796, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4803, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4849, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4884, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4895, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4912, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4923, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4939, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4968, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4979, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4983, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5018, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5025, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5034, #pragma acc loop seq 5018, Generating implicit copy(lens[:]) [if not already present] 5025, Generating implicit firstprivate(ll,l) 5036, Accelerator restriction: induction variable live-out from loop: i 5037, Accelerator restriction: induction variable live-out from loop: i 5038, Accelerator restriction: induction variable live-out from loop: i 5039, Accelerator restriction: induction variable live-out from loop: i 5041, Accelerator restriction: induction variable live-out from loop: j 5042, Accelerator restriction: induction variable live-out from loop: j 5043, Accelerator restriction: induction variable live-out from loop: j 5044, Accelerator restriction: induction variable live-out from loop: j 5066, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5070, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5073, #pragma acc loop seq 5066, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5073, Generating implicit firstprivate(l) 5090, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5094, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5101, #pragma acc loop seq 5090, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5160, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5191, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5208, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5307, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5391, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5457, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5534, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5806, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5818, Generating acc routine seq Generating NVIDIA GPU code _hash: 5850, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5891, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5902, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5907, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5915, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5923, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5930, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6610, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6650, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6710, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6727, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6842, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6897, Generating acc routine seq Generating NVIDIA GPU code init: 20943, 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: 20986, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 21076, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 21174, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 23297, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 23748, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 23752, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 23752, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 23761, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 23766, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 23761, Local memory used for .inl_.inl_c_1989_29765,.inl_.inl_.inl_b_1963_1995_29770,.inl_.inl_.inl_.X2904_1962_1994_29769,.inl_.inl_b_1985_29764,.inl_.inl_c_1978_29754,.inl_.inl_.inl_b_1963_1984_29759,.inl_.inl_.inl_.X2904_1962_1983_29758,.inl_.inl_b_1974_29753,.inl_.inl_.X2888_1973_29748,.inl_.inl_c_1970_29747,.inl_c_29780,.inl_.inl_b_1969_29745,.inl_.inl_.X2904_1968_29744,.inl_b_29737,.inl_.X2887_29736,.inl_.X2888_29731,.inl_c_29739,.inl_.X2886_29727,.inl_a_29723,.inl_c_29791,_particle_save,.inl_.inl_c_1978_29806,.inl_.inl_.inl_b_1963_1984_29811,.inl_.inl_.inl_.X2904_1962_1983_29810,.inl_.inl_b_1974_29805,.inl_.inl_c_1970_29799,.inl_.inl_.inl_.X2904_1962_1994_29821,.inl_.inl_.X2904_1968_29796,.inl_.inl_b_1969_29797,.inl_.X2888_29783,.inl_.inl_b_1985_29816,.inl_c_29728,.inl_.inl_.inl_b_1963_1995_29822,.inl_.inl_.X2888_1973_29800,.inl_a_29775,.inl_.X2886_29779,.inl_.X2887_29788,.inl_b_29789,.inl_.inl_c_1989_29817 23873, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 23876, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 23873, Local memory used for .inl_.inl_c_1989_30139,.inl_.inl_.inl_b_1963_1995_30144,.inl_.inl_.inl_.X2904_1962_1994_30143,.inl_.inl_b_1985_30138,.inl_.inl_c_1978_30128,.inl_.inl_.inl_b_1963_1984_30133,.inl_.inl_.inl_.X2904_1962_1983_30132,.inl_.inl_b_1974_30127,.inl_.inl_.X2888_1973_30122,.inl_.inl_c_1970_30121,.inl_c_30154,.inl_.inl_b_1969_30119,.inl_.inl_.X2904_1968_30118,.inl_b_30111,.inl_.X2887_30110,.inl_.X2888_30105,.inl_c_30113,.inl_.X2886_30101,.inl_a_30097,.inl_.inl_c_1989_30065,.inl_.inl_.inl_b_1963_1995_30070,.inl_.inl_.inl_.X2904_1962_1994_30069,.inl_.inl_b_1985_30064,.inl_.inl_c_1978_30054,.inl_.inl_.inl_b_1963_1984_30059,.inl_.inl_.inl_.X2904_1962_1983_30058,.inl_.inl_b_1974_30053,.inl_.inl_.X2888_1973_30048,.inl_.inl_c_1970_30047,.inl_c_30102,.inl_.inl_b_1969_30045,.inl_.inl_.X2904_1968_30044,.inl_b_30037,.inl_.X2887_30036,.inl_.X2888_30031,.inl_c_30039,.inl_.X2886_30027,.inl_a_30023,.inl_.inl_c_1989_29991,.inl_.inl_.inl_b_1963_1995_29996,.inl_.inl_.inl_.X2904_1962_1994_29995,.inl_.inl_b_1985_29990,.inl_.inl_c_1978_29980,.inl_.inl_.inl_b_1963_1984_29985,.inl_.inl_.inl_.X2904_1962_1983_29984,.inl_.inl_b_1974_29979,.inl_.inl_.X2888_1973_29974,.inl_.inl_c_1970_29973,.inl_c_30028,.inl_.inl_b_1969_29971,.inl_.inl_.X2904_1968_29970,.inl_b_29963,.inl_.X2887_29962,.inl_.X2888_29957,.inl_c_29965,.inl_.X2886_29953,.inl_a_29949,.inl_.inl_c_1989_29917,.inl_.inl_.inl_b_1963_1995_29922,.inl_.inl_.inl_.X2904_1962_1994_29921,.inl_.inl_b_1985_29916,.inl_.inl_c_1978_29906,.inl_.inl_.inl_b_1963_1984_29911,.inl_.inl_.inl_.X2904_1962_1983_29910,.inl_.inl_b_1974_29905,.inl_.inl_.X2888_1973_29900,.inl_.inl_c_1970_29899,.inl_c_29954,.inl_.inl_b_1969_29897,.inl_.inl_.X2904_1968_29896,.inl_b_29889,.inl_.X2887_29888,.inl_.X2888_29883,.inl_c_29891,.inl_.X2886_29879,.inl_a_29875,_particle_save,.inl_c_30165,.inl_.inl_c_1978_30180,.inl_.inl_.inl_b_1963_1984_30185,.inl_.inl_.inl_.X2904_1962_1983_30184,.inl_.inl_b_1974_30179,.inl_.inl_c_1970_30173,.inl_.inl_.inl_.X2904_1962_1994_30195,.inl_.inl_.X2904_1968_30170,.inl_.inl_b_1969_30171,.inl_.X2888_30157,.inl_.inl_b_1985_30190,.inl_c_29880,.inl_.inl_.inl_b_1963_1995_30196,.inl_.inl_.X2888_1973_30174,.inl_a_30149,.inl_.X2886_30153,.inl_.X2887_30162,.inl_b_30163,.inl_.inl_c_1989_30191 finally: 24831, 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: 6050, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===