INFO: No output directory specified (--dir) INFO: Using directory: "Demonstration_20261030_001819" INFO: Regenerating c-file: Demonstration.c DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas -t -o ./Demonstration.c Demonstration.instr --verbose mcstas version 3.99.99 Analyzing file Demonstration.instr Embedding component Union_init from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Union_init.comp Component[1]: init = Union_init(). Embedding library union-lib.h Embedding library geometry-mesh-lib.h Embedding library read_table-lib.h Embedding library read_table-lib.c Embedding library geometry-mesh-lib.c Embedding library union-lib.c Embedding component Incoherent_process from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Incoherent_process.comp Component[2]: Vanadium_incoherent = Incoherent_process(). Embedding component Union_make_material from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Union_make_material.comp Component[3]: Vanadium = Union_make_material(). Component[4]: Al_incoherent = Incoherent_process(). Embedding library interoff-lib.h Embedding library interoff-lib.c Embedding component Powder_process from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Powder_process.comp Component[5]: Al_powder = Powder_process(). Component[6]: Al = Union_make_material(). Component[7]: Cu_incoherent = Incoherent_process(). Component[8]: Cu_powder = Powder_process(). Component[9]: Cu = Union_make_material(). Component[10]: Ag_incoherent = Incoherent_process(). Component[11]: Ag_powder = Powder_process(). Component[12]: Au_incoherent = Incoherent_process(). Component[13]: Au_powder = Powder_process(). Component[14]: Au_Ag_mix = Union_make_material(). Component[15]: Cd_incoherent = Incoherent_process(). Component[16]: Cd_powder = Powder_process(). Component[17]: Cd = Union_make_material(). Component[18]: Cs_incoherent = Incoherent_process(). Component[19]: Cs_powder = Powder_process(). Component[20]: Cs = Union_make_material(). Embedding component Progress_bar from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/misc/Progress_bar.comp Component[21]: a1 = Progress_bar(). Embedding component Source_div from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/sources/Source_div.comp Component[22]: source = Source_div(). Embedding component Arm from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/optics/Arm.comp Component[23]: beam_center = Arm(). Component[24]: drum_center = Arm(). Embedding component Union_cylinder from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Union_cylinder.comp Component[25]: cryostat_mountin_plate = Union_cylinder(). Component[26]: cryostat_drum_walls = Union_cylinder(). Component[27]: cryostat_drum_vacuum = Union_cylinder(). Component[28]: outer_cryostat_wall = Union_cylinder(). Component[29]: outer_cryostat_vacuum = Union_cylinder(). Component[30]: inner_cryostat_wall = Union_cylinder(). Component[31]: inner_cryostat_vacuum = Union_cylinder(). Component[32]: sample_stick_walls = Union_cylinder(). Component[33]: sample_stick_vacuum = Union_cylinder(). Component[34]: sample_rod_bottom = Arm(). Component[35]: sample_rod = Union_cylinder(). Component[36]: sample_rod_collar_1 = Union_cylinder(). Component[37]: sample_rod_collar_2 = Union_cylinder(). Component[38]: sample_rod_collar_3 = Union_cylinder(). Component[39]: sample_rod_collar_4 = Union_cylinder(). Component[40]: sample_rod_collar_1_vacuum = Union_cylinder(). Component[41]: sample_rod_collar_2_vacuum = Union_cylinder(). Component[42]: sample_rod_collar_3_vacuum = Union_cylinder(). Component[43]: sample_rod_collar_4_vacuum = Union_cylinder(). Embedding component Union_box from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Union_box.comp Component[44]: sample_holder1 = Union_box(). Component[45]: sample_holder2 = Union_box(). Component[46]: sample_holder3 = Union_box(). Component[47]: sample_holder4 = Union_box(). Component[48]: sample_holder5 = Union_box(). Component[49]: sample_holder_bottom = Union_box(). Component[50]: sample_holder_top_shelf = Union_box(). Component[51]: sample_holder_middle_shelf = Union_box(). Component[52]: sample_1 = Union_cylinder(). Component[53]: sample_1_container = Union_cylinder(). Component[54]: sample_1_container_rim = Union_cylinder(). Component[55]: sample_2 = Union_cylinder(). Component[56]: sample_2_container = Union_cylinder(). Component[57]: sample_2_container_rim = Union_cylinder(). Component[58]: sample_3 = Union_cylinder(). Component[59]: sample_3_container = Union_cylinder(). Component[60]: sample_3_container_rim = Union_cylinder(). Component[61]: sample_4 = Union_cylinder(). Component[62]: sample_4_container = Union_cylinder(). Component[63]: sample_4_container_rim = Union_cylinder(). Embedding component Union_master from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Union_master.comp Component[64]: test_sample = Union_master(). Component[65]: detector_position = Arm(). Embedding component PSD_monitor_4PI from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/PSD_monitor_4PI.comp Component[66]: m4pi = PSD_monitor_4PI(). Embedding library monitor_nd-lib.h Embedding library monitor_nd-lib.c Embedding component Monitor_nD from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/Monitor_nD.comp Component[67]: Banana_monitor = Monitor_nD(). Embedding component PSD_monitor from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/monitors/PSD_monitor.comp Component[68]: detector = PSD_monitor(). Component[69]: screen = PSD_monitor(). Component[70]: arm_1 = Arm(). Component[71]: m4pi_two_or_more_samples = PSD_monitor_4PI(). Embedding component Union_stop from file /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/share/mcstas/resources/union/Union_stop.comp Component[72]: stop = Union_stop(). Combine metadata blocks into table Processed 0 metadata blocks Creating instrument 'Demonstration' (with 72 component instances) Starting to create C code ./Demonstration.c Embedding file mccode-r.h (user path) Embedding file mcstas-r.h (user path) Compile './Demonstration.c -DUSE_NEXUS -lhdf5' to enable NeXus support Embedding file mccode-r.c (user path) Embedding file mcstas-r.c (user path) Writing instrument 'Demonstration' and components DECLARE Writing instrument 'Demonstration' and components INITIALISE Writing components TRACE Writing instrument 'Demonstration' and components SAVE Writing instrument 'Demonstration' and components FINALLY Writing instrument 'Demonstration' and components DISPLAY Embedding file metadata-r.c (user path) Embedding file mccode_main.c (user path) Warning: The build of the instrument 'Demonstration' has 163 warnings/errors. Generated C code ./Demonstration.c from Demonstration.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 detector_position ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/bin/mcstas finished INFO: Recompiling: ./Demonstration.out DEBUG: CMD: nvc -o ./Demonstration.out ./Demonstration.c -lm -I/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/include -Wl,-rpath,/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -L/u/data/pkwi/WORK/micromamba/envs/mcstas-3.x/lib -DUSE_MPI -lmpi -fast -Minfo=accel -acc=gpu -gpu=cc61,mem:managed -DOPENACC -DFUNNEL "./Demonstration.c", line 95: 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 " "./Demonstration.c", line 97: 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, ^ "./Demonstration.c", line 100: 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, ^ "./Demonstration.c", line 114: 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); ^ "./Demonstration.c", line 118: 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); ^ "./Demonstration.c", line 150: 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); ^ "./Demonstration.c", line 118: 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); ^ "./Demonstration.c", line 183: 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*); ^ "./Demonstration.c", line 209: 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); ^ "./Demonstration.c", line 220: 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); ^ "./Demonstration.c", line 231: 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){ ^ "./Demonstration.c", line 245: 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){ ^ "./Demonstration.c", line 316: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Demonstration.c", line 318: 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); ^ "./Demonstration.c", line 676: 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 */ ^ "./Demonstration.c", line 904: 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); ^ "./Demonstration.c", line 921: 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); ^ "./Demonstration.c", line 923: 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]); ^ "./Demonstration.c", line 931: 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); ^ "./Demonstration.c", line 933: 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); ^ "./Demonstration.c", line 935: 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); ^ "./Demonstration.c", line 937: 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); ^ "./Demonstration.c", line 939: 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); ^ "./Demonstration.c", line 942: warning: Routine "_rand01_opague" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01_opague(void* state); ^ "./Demonstration.c", line 1022: 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); ^ "./Demonstration.c", line 1024: 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); ^ "./Demonstration.c", line 1026: 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); ^ "./Demonstration.c", line 1028: 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); ^ "./Demonstration.c", line 1030: 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); ^ "./Demonstration.c", line 1032: 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); ^ "./Demonstration.c", line 1034: 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); ^ "./Demonstration.c", line 1036: 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); ^ "./Demonstration.c", line 1038: 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); ^ "./Demonstration.c", line 5580: warning: variable "exists" was set but never used [set_but_not_used] int exists=0; ^ "./Demonstration.c", line 6464: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Demonstration.c", line 8698: warning: Routine "Table_Index" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Index(t_Table Table, long i, long j); /* get indexed value */ ^ "./Demonstration.c", line 8700: warning: Routine "Table_Value" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value(t_Table Table, double X, long j); /* search X in 1st column and return interpolated value in j-column */ ^ "./Demonstration.c", line 8707: warning: Routine "Table_Value2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value2d(t_Table Table, double X, double Y); /* same as Table_Index with non-integer indices and 2d interpolation */ ^ "./Demonstration.c", line 8727: warning: Routine "Table_Interp1d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d(double x, double x1, double y1, double x2, double y2); ^ "./Demonstration.c", line 8729: warning: Routine "Table_Interp1d_nearest" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d_nearest(double x, double x1, double y1, double x2, double y2); ^ "./Demonstration.c", line 8731: warning: Routine "Table_Interp2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp2d(double x, double y, double x1, double y1, double x2, double y2, ^ "./Demonstration.c", line 15025: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Demonstration.c", line 15550: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Demonstration.c", line 15573: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Demonstration.c", line 16183: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Demonstration.c", line 16184: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Demonstration.c", line 16185: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Demonstration.c", line 16407: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Demonstration.c", line 16463: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Demonstration.c", line 16463: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Demonstration.c", line 16463: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Demonstration.c", line 16684: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Demonstration.c", line 16967: 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; ^ "./Demonstration.c", line 16968: 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; ^ "./Demonstration.c", line 17206: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Demonstration.c", line 17368: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Demonstration.c", line 17423: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 17498: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 17709: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 17807: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Demonstration.c", line 17998: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 18196: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Demonstration.c", line 18197: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Demonstration.c", line 18817: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Demonstration.c", line 18818: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Demonstration.c", line 19077: 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; ^ "./Demonstration.c", line 19082: 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; ^ "./Demonstration.c", line 19083: 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; ^ "./Demonstration.c", line 19084: 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; ^ "./Demonstration.c", line 19091: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Demonstration.c", line 19092: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Demonstration.c", line 19215: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Demonstration.c", line 19515: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Demonstration.c", line 19581: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 19761: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Demonstration.c", line 19764: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Demonstration.c", line 19907: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Demonstration.c", line 19910: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Demonstration.c", line 20881: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Demonstration.c", line 20784: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Demonstration.c", line 21103: 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; ^ "./Demonstration.c", line 21296: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Demonstration.c", line 21439: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Demonstration.c", line 21840: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Demonstration.c", line 23065: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./Demonstration.c", line 23075: warning: Routine "off_intersect_all_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all_idx(double* t0, double* t3, ^ "./Demonstration.c", line 23099: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./Demonstration.c", line 23108: warning: Routine "off_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_idx(double* t0, double* t3, ^ "./Demonstration.c", line 23129: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./Demonstration.c", line 23137: warning: Routine "off_x_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect_idx(double *l0,double *l3, ^ "./Demonstration.c", line 23149: warning: Routine "off_face_prop" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_face_prop(off_struct *data, unsigned long face, int k, double def); ^ "./Demonstration.c", line 23168: warning: Routine "p_to_quadratic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void p_to_quadratic(Coords norm, MCNUM d, Coords acc, Coords pos, Coords vel, ^ "./Demonstration.c", line 23179: warning: Routine "quadraticSolve" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int quadraticSolve(double* eq, double* x1, double* x2); ^ "./Demonstration.c", line 23232: warning: incompatible redefinition of macro "fprintf" (declared at line 10410) [bad_macro_redef] #define fprintf(stderr,...) printf(__VA_ARGS__) ^ "./Demonstration.c", line 23236: warning: Routine "off_F" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_F(double x, double y,double z,double A,double B,double C,double D) { ^ "./Demonstration.c", line 23241: warning: Routine "off_sign" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] char off_sign(double a) { ^ "./Demonstration.c", line 23249: warning: Routine "off_coord" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_coord(Coords c, int k) { ^ "./Demonstration.c", line 23257: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_normal(Coords* n, polygon p) ^ "./Demonstration.c", line 23285: warning: Routine "off_pnpoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_pnpoly(polygon p, Coords v) ^ "./Demonstration.c", line 23337: warning: Routine "off_intersectPoly" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersectPoly(intersection *inter, Coords a, Coords b, polygon p) ^ "./Demonstration.c", line 23382: warning: Routine "off_insert4" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_insert4(intersection *t, int *t_size, intersection x) ^ "./Demonstration.c", line 23402: warning: Routine "off_store_intersection" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_store_intersection(intersection *t, int *t_size, intersection x) ^ "./Demonstration.c", line 23589: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_init_planes(Coords a, Coords b, Coords *n1, MCNUM* D1, Coords *n2, MCNUM* D2) ^ "./Demonstration.c", line 23635: warning: Routine "off_line_hits_box" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_line_hits_box(Coords a, Coords dir, Coords lo, Coords hi) ^ "./Demonstration.c", line 23660: warning: Routine "off_clip_3D_mod" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_clip_3D_mod(intersection* t, Coords a, Coords b, ^ "./Demonstration.c", line 24203: warning: Routine "p_to_quadratic" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void p_to_quadratic(Coords norm, MCNUM d, Coords acc, Coords pos, Coords vel, ^ "./Demonstration.c", line 24220: warning: Routine "quadraticSolve" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int quadraticSolve(double* eq, double* x1, double* x2) ^ "./Demonstration.c", line 24244: warning: Routine "off_intersect_all_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all_idx(double* t0, double* t3, ^ "./Demonstration.c", line 24365: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./Demonstration.c", line 24390: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./Demonstration.c", line 24402: warning: Routine "off_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_idx(double* t0, double* t3, ^ "./Demonstration.c", line 24428: warning: Routine "off_x_intersect_idx" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect_idx(double *l0,double *l3, ^ "./Demonstration.c", line 24446: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./Demonstration.c", line 24460: warning: Routine "off_face_prop" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double off_face_prop(off_struct *data, unsigned long face, int k, double def) ^ "./Demonstration.c", line 24974: warning: variable "line_v" was declared but never referenced [declared_but_not_referenced] int line_v, line0, line; ^ "./Demonstration.c", line 25653: warning: Routine "Monitor_nD_Trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Monitor_nD_Trace(MonitornD_Defines_type *, MonitornD_Variables_type *, _class_particle* _particle); ^ "./Demonstration.c", line 27790: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Demonstration.c", line 27790: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Demonstration.c", line 28831: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 28828: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Demonstration.c", line 28887: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 28872: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Demonstration.c", line 28954: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 28935: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Demonstration.c", line 29018: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29003: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Demonstration.c", line 29099: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29066: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Demonstration.c", line 29173: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29154: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Demonstration.c", line 29237: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29222: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Demonstration.c", line 29318: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29285: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Demonstration.c", line 29392: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29373: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Demonstration.c", line 29456: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29441: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Demonstration.c", line 29537: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29504: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Demonstration.c", line 29607: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29592: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Demonstration.c", line 29688: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29655: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Demonstration.c", line 29762: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29743: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Demonstration.c", line 29826: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29811: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Demonstration.c", line 29907: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29874: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Demonstration.c", line 29981: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 29962: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Demonstration.c", line 30045: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 30030: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Demonstration.c", line 30126: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 30093: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Demonstration.c", line 30200: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 30181: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Demonstration.c", line 30261: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 30249: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Demonstration.c", line 30306: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Demonstration.c", line 30377: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Demonstration.c", line 30426: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Demonstration.c", line 30475: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Demonstration.c", line 30580: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Demonstration.c", line 30685: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Demonstration.c", line 30790: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Demonstration.c", line 30895: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Demonstration.c", line 31000: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./Demonstration.c", line 31105: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./Demonstration.c", line 31210: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./Demonstration.c", line 31315: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./Demonstration.c", line 31420: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./Demonstration.c", line 31469: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 35; ^ "./Demonstration.c", line 31574: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 36; ^ "./Demonstration.c", line 31679: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 37; ^ "./Demonstration.c", line 31784: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 38; ^ "./Demonstration.c", line 31889: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 39; ^ "./Demonstration.c", line 31994: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 40; ^ "./Demonstration.c", line 32099: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 41; ^ "./Demonstration.c", line 32204: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 42; ^ "./Demonstration.c", line 32309: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 43; ^ "./Demonstration.c", line 32414: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 44; ^ "./Demonstration.c", line 32531: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 45; ^ "./Demonstration.c", line 32648: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 46; ^ "./Demonstration.c", line 32765: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 47; ^ "./Demonstration.c", line 32882: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 48; ^ "./Demonstration.c", line 32999: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 49; ^ "./Demonstration.c", line 33116: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 50; ^ "./Demonstration.c", line 33233: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 51; ^ "./Demonstration.c", line 33350: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 52; ^ "./Demonstration.c", line 33455: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 53; ^ "./Demonstration.c", line 33560: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 54; ^ "./Demonstration.c", line 33665: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 55; ^ "./Demonstration.c", line 33770: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 56; ^ "./Demonstration.c", line 33875: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 57; ^ "./Demonstration.c", line 33980: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 58; ^ "./Demonstration.c", line 34085: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 59; ^ "./Demonstration.c", line 34190: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 60; ^ "./Demonstration.c", line 34295: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 61; ^ "./Demonstration.c", line 34400: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 62; ^ "./Demonstration.c", line 34505: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 63; ^ "./Demonstration.c", line 34610: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 64; ^ "./Demonstration.c", line 34690: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 65; ^ "./Demonstration.c", line 34739: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 66; ^ "./Demonstration.c", line 34805: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 67; ^ "./Demonstration.c", line 35003: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 68; ^ "./Demonstration.c", line 35079: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 69; ^ "./Demonstration.c", line 35155: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 70; ^ "./Demonstration.c", line 35204: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 71; ^ "./Demonstration.c", line 35273: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Demonstration.c", line 35270: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 72; ^ "./Demonstration.c", line 38327: warning: incompatible redefinition of macro "exit" (declared at line 653) [bad_macro_redef] #define exit(...) noprintf() ^ "./Demonstration.c", line 38339: 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 ^ "./Demonstration.c", line 38418: 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 ^ "./Demonstration.c", line 38516: 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 ^ "./Demonstration.c", line 39198: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Demonstration.c", line 39199: warning: variable "mu" was declared but never referenced [declared_but_not_referenced] double mu; ^ "./Demonstration.c", line 40006: warning: variable "surface_output" was set but never used [set_but_not_used] int surface_output; ^ "./Demonstration.c", line 39942: warning: variable "inward_or_outward" was set but never used [set_but_not_used] enum in_or_out inward_or_outward; ^ "./Demonstration.c", line 40175: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Demonstration.c", line 40207: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Demonstration.c", line 39855: warning: variable "normal_vector" was set but never used [set_but_not_used] double normal_vector[3]; ^ "./Demonstration.c", line 38726: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Demonstration.c", line 38731: warning: variable "sampling_mus" was declared but never referenced [declared_but_not_referenced] double* sampling_mus; ^ "./Demonstration.c", line 40771: 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 ^ "./Demonstration.c", line 40848: warning: Routine "class_Monitor_nD_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Monitor_nD_trace(_class_Monitor_nD *_comp ^ "./Demonstration.c", line 41132: warning: Routine "class_PSD_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_trace(_class_PSD_monitor *_comp ^ "./Demonstration.c", line 45041: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Demonstration.c", line 45042: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Demonstration.c", line 1616: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ mcgenstate: 107, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 121, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 157, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 185, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 211, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 222, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 231, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 245, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1676, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1680, Generating acc routine seq Generating NVIDIA GPU code str_len: 1689, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 5656, Generating acc routine seq Generating NVIDIA GPU code coords_set: 6143, Generating acc routine seq Generating NVIDIA GPU code coords_get: 6154, Generating acc routine seq Generating NVIDIA GPU code coords_add: 6163, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 6175, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 6187, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 6197, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 6207, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 6215, Generating acc routine seq Generating NVIDIA GPU code coords_len: 6225, Generating acc routine seq Generating NVIDIA GPU code coords_print: 6247, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 6254, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 6300, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 6335, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 6346, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 6363, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 6374, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 6390, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 6419, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 6430, Generating acc routine seq Generating NVIDIA GPU code norm_func: 6434, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 6468, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 6475, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 6484, #pragma acc loop seq 6468, Generating implicit copy(lens[:]) [if not already present] 6475, Generating implicit firstprivate(l,ll) 6486, Accelerator restriction: induction variable live-out from loop: i 6487, Accelerator restriction: induction variable live-out from loop: i 6488, Accelerator restriction: induction variable live-out from loop: i 6489, Accelerator restriction: induction variable live-out from loop: i 6491, Accelerator restriction: induction variable live-out from loop: j 6492, Accelerator restriction: induction variable live-out from loop: j 6493, Accelerator restriction: induction variable live-out from loop: j 6494, Accelerator restriction: induction variable live-out from loop: j 6516, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 6520, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 6523, #pragma acc loop seq 6516, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 6523, Generating implicit firstprivate(l) 6540, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 6544, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 6550, #pragma acc loop seq 6556, #pragma acc loop seq 6540, Local memory used for targetbuffer,sourcebuffer 6550, Complex loop carried dependence of targetbuffer.randstate,sourcebuffer.randstate prevents parallelization Loop carried reuse of targetbuffer.randstate prevents parallelization 6556, Loop is parallelizable mccoordschange: 6604, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 6635, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 6652, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 6751, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 6835, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 6901, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 6978, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 7250, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 7262, Generating acc routine seq Generating NVIDIA GPU code _hash: 7294, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 7335, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 7346, Generating acc routine seq Generating NVIDIA GPU code _rand01: 7351, Generating acc routine seq Generating NVIDIA GPU code _rand01_opague: 7358, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 7369, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 7377, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 7384, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 8101, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 8141, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 8215, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 8232, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 8347, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 8402, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 9561, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 9629, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 9708, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10199, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10215, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10233, Generating acc routine seq Generating NVIDIA GPU code gmesh_intersect: 12303, Generating acc routine seq Generating NVIDIA GPU code gmesh_inside: 12336, Generating acc routine seq Generating NVIDIA GPU code gmesh_face_prop: 12358, Generating acc routine seq Generating NVIDIA GPU code off_F: 23236, Generating acc routine seq Generating NVIDIA GPU code off_sign: 23241, Generating acc routine seq Generating NVIDIA GPU code off_coord: 23249, Generating acc routine seq Generating NVIDIA GPU code off_normal: 23258, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 23286, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 23338, Generating acc routine seq Generating NVIDIA GPU code off_insert4: 23383, Generating acc routine seq Generating NVIDIA GPU code off_store_intersection: 23403, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 23590, Generating acc routine seq Generating NVIDIA GPU code off_straddle: 23612, Generating acc routine seq Generating NVIDIA GPU code off_line_hits_box: 23636, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 23663, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 23707, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 24205, Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 24221, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all_idx: 24251, Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 24371, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 24396, Generating acc routine seq Generating NVIDIA GPU code off_intersect_idx: 24409, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect_idx: 24434, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 24451, Generating acc routine seq Generating NVIDIA GPU code off_face_prop: 24461, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 26731, Generating acc routine seq Generating NVIDIA GPU code init: 38297, Generating update device(_drum_center_var,_Cu_var,_Vanadium_incoherent_var,_Ag_powder_var,_Al_incoherent_var,_Al_powder_var,_Cs_var,_Cu_incoherent_var,_Cu_powder_var,_Ag_incoherent_var,_Au_Ag_mix_var,_Au_incoherent_var,_Al_var,_Banana_monitor_var,_Cd_incoherent_var,_Cd_powder_var,_Cd_var,_Cs_incoherent_var,_Cs_powder_var,_Vanadium_var,_screen_var,_arm_1_var,_detector_var,_cryostat_drum_walls_var,_cryostat_drum_vacuum_var,_beam_center_var,_outer_cryostat_vacuum_var,_m4pi_var,_inner_cryostat_vacuum_var,_init_var,_sample_stick_vacuum_var,_sample_rod_var,_sample_holder_top_shelf_var,_sample_rod_collar_4_var,_sample_rod_collar_1_vacuum_var,_sample_rod_collar_2_vacuum_var,_sample_rod_collar_3_vacuum_var,_sample_rod_collar_4_vacuum_var,_sample_rod_bottom_var,_sample_rod_collar_1_var,_sample_rod_collar_2_var,_sample_rod_collar_3_var,_sample_4_var,_sample_holder1_var,_sample_holder2_var,_sample_holder3_var,_sample_holder4_var,_sample_holder5_var,_sample_holder_middle_shelf_var,_sample_holder_bottom_var,_sample_1_container_var,_sample_1_container_rim_var,_outer_cryostat_wall_var,_sample_2_container_var,_sample_2_container_rim_var,_sample_1_var,_sample_3_container_var,_sample_3_container_rim_var,_sample_2_var,_sample_4_container_var,_sample_4_container_rim_var,_sample_3_var,_test_sample_var,_stop_var,_cryostat_mountin_plate_var,_m4pi_two_or_more_samples_var,_Au_powder_var,_detector_position_var,_sample_stick_walls_var,_a1_var,_instrument_var,_source_var,_inner_cryostat_wall_var) class_Progress_bar_trace: 38340, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 38419, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 38517, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 40772, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 40849, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 41133, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 41881, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 41884, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 41884, Generating implicit firstprivate(cloop,_particle,gpu_innerloop,loops,seed,mpi_node_rank) 41893, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 41898, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 41893, Local memory used for .inl_.inl_c_2521_52941,.inl_.inl_.inl_b_2495_2527_52946,.inl_.inl_.inl_.X3501_2494_2526_52945,.inl_.inl_b_2517_52940,.inl_.inl_c_2510_52930,.inl_.inl_.inl_b_2495_2516_52935,.inl_.inl_.inl_.X3501_2494_2515_52934,.inl_.inl_b_2506_52929,.inl_.inl_.X3485_2505_52924,.inl_.inl_c_2502_52923,.inl_c_52956,.inl_.inl_b_2501_52921,.inl_.inl_.X3501_2500_52920,.inl_b_52913,.inl_.X3484_52912,.inl_.X3485_52907,.inl_c_52915,.inl_.X3483_52903,.inl_a_52899,.inl_c_52967,_particle_save,.inl_.inl_c_2510_52982,.inl_.inl_.inl_b_2495_2516_52987,.inl_.inl_.inl_.X3501_2494_2515_52986,.inl_.inl_b_2506_52981,.inl_.inl_c_2502_52975,.inl_.inl_.inl_.X3501_2494_2526_52997,.inl_.inl_.X3501_2500_52972,.inl_.inl_b_2501_52973,.inl_.X3485_52959,.inl_.inl_b_2517_52992,.inl_c_52904,.inl_.inl_.inl_b_2495_2527_52998,.inl_.inl_.X3485_2505_52976,.inl_a_52951,.inl_.X3483_52955,.inl_.X3484_52964,.inl_b_52965,.inl_.inl_c_2521_52993 42260, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 42263, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 42260, Local memory used for .inl_.inl_c_2521_53317,.inl_.inl_.inl_b_2495_2527_53322,.inl_.inl_.inl_.X3501_2494_2526_53321,.inl_.inl_b_2517_53316,.inl_.inl_c_2510_53306,.inl_.inl_.inl_b_2495_2516_53311,.inl_.inl_.inl_.X3501_2494_2515_53310,.inl_.inl_b_2506_53305,.inl_.inl_.X3485_2505_53300,.inl_.inl_c_2502_53299,.inl_c_53332,.inl_.inl_b_2501_53297,.inl_.inl_.X3501_2500_53296,.inl_b_53289,.inl_.X3484_53288,.inl_.X3485_53283,.inl_c_53291,.inl_.X3483_53279,.inl_a_53275,.inl_.inl_c_2521_53267,.inl_.inl_.inl_b_2495_2527_53272,.inl_.inl_.inl_.X3501_2494_2526_53271,.inl_.inl_b_2517_53266,.inl_.inl_c_2510_53256,.inl_.inl_.inl_b_2495_2516_53261,.inl_.inl_.inl_.X3501_2494_2515_53260,.inl_.inl_b_2506_53255,.inl_.inl_.X3485_2505_53250,.inl_.inl_c_2502_53249,.inl_c_53280,.inl_.inl_b_2501_53247,.inl_.inl_.X3501_2500_53246,.inl_b_53239,.inl_.X3484_53238,.inl_.X3485_53233,.inl_c_53241,.inl_.X3483_53229,.inl_a_53225,.inl_.inl_c_2521_53217,.inl_.inl_.inl_b_2495_2527_53222,.inl_.inl_.inl_.X3501_2494_2526_53221,.inl_.inl_b_2517_53216,.inl_.inl_c_2510_53206,.inl_.inl_.inl_b_2495_2516_53211,.inl_.inl_.inl_.X3501_2494_2515_53210,.inl_.inl_b_2506_53205,.inl_.inl_.X3485_2505_53200,.inl_.inl_c_2502_53199,.inl_c_53230,.inl_.inl_b_2501_53197,.inl_.inl_.X3501_2500_53196,.inl_b_53189,.inl_.X3484_53188,.inl_.X3485_53183,.inl_c_53191,.inl_.X3483_53179,.inl_a_53175,.inl_.inl_c_2521_53167,.inl_.inl_.inl_b_2495_2527_53172,.inl_.inl_.inl_.X3501_2494_2526_53171,.inl_.inl_b_2517_53166,.inl_.inl_c_2510_53156,.inl_.inl_.inl_b_2495_2516_53161,.inl_.inl_.inl_.X3501_2494_2515_53160,.inl_.inl_b_2506_53155,.inl_.inl_.X3485_2505_53150,.inl_.inl_c_2502_53149,.inl_c_53180,.inl_.inl_b_2501_53147,.inl_.inl_.X3501_2500_53146,.inl_b_53139,.inl_.X3484_53138,.inl_.X3485_53133,.inl_c_53141,.inl_.X3483_53129,.inl_a_53125,.inl_.inl_c_2521_53093,.inl_.inl_.inl_b_2495_2527_53098,.inl_.inl_.inl_.X3501_2494_2526_53097,.inl_.inl_b_2517_53092,.inl_.inl_c_2510_53082,.inl_.inl_.inl_b_2495_2516_53087,.inl_.inl_.inl_.X3501_2494_2515_53086,.inl_.inl_b_2506_53081,.inl_.inl_.X3485_2505_53076,.inl_.inl_c_2502_53075,.inl_c_53130,.inl_.inl_b_2501_53073,.inl_.inl_.X3501_2500_53072,.inl_b_53065,.inl_.X3484_53064,.inl_.X3485_53059,.inl_c_53067,.inl_.X3483_53055,.inl_a_53051,_particle_save,.inl_c_53343,.inl_.inl_c_2510_53358,.inl_.inl_.inl_b_2495_2516_53363,.inl_.inl_.inl_.X3501_2494_2515_53362,.inl_.inl_b_2506_53357,.inl_.inl_c_2502_53351,.inl_.inl_.inl_.X3501_2494_2526_53373,.inl_.inl_.X3501_2500_53348,.inl_.inl_b_2501_53349,.inl_.X3485_53335,.inl_.inl_b_2517_53368,.inl_c_53056,.inl_.inl_.inl_b_2495_2527_53374,.inl_.inl_.X3485_2505_53352,.inl_a_53327,.inl_.X3483_53331,.inl_.X3484_53340,.inl_b_53341,.inl_.inl_c_2521_53369 finally: 43767, Generating update self(_drum_center_var,_Cu_var,_Vanadium_incoherent_var,_Ag_powder_var,_Al_incoherent_var,_Al_powder_var,_Cs_var,_Cu_incoherent_var,_Cu_powder_var,_Ag_incoherent_var,_Au_Ag_mix_var,_Au_incoherent_var,_Al_var,_Banana_monitor_var,_Cd_incoherent_var,_Cd_powder_var,_Cd_var,_Cs_incoherent_var,_Cs_powder_var,_Vanadium_var,_screen_var,_arm_1_var,_detector_var,_cryostat_drum_walls_var,_cryostat_drum_vacuum_var,_beam_center_var,_outer_cryostat_vacuum_var,_m4pi_var,_inner_cryostat_vacuum_var,_init_var,_sample_stick_vacuum_var,_sample_rod_var,_sample_holder_top_shelf_var,_sample_rod_collar_4_var,_sample_rod_collar_1_vacuum_var,_sample_rod_collar_2_vacuum_var,_sample_rod_collar_3_vacuum_var,_sample_rod_collar_4_vacuum_var,_sample_rod_bottom_var,_sample_rod_collar_1_var,_sample_rod_collar_2_var,_sample_rod_collar_3_var,_sample_4_var,_sample_holder1_var,_sample_holder2_var,_sample_holder3_var,_sample_holder4_var,_sample_holder5_var,_sample_holder_middle_shelf_var,_sample_holder_bottom_var,_sample_1_container_var,_sample_1_container_rim_var,_outer_cryostat_wall_var,_sample_2_container_var,_sample_2_container_rim_var,_sample_1_var,_sample_3_container_var,_sample_3_container_rim_var,_sample_2_var,_sample_4_container_var,_sample_4_container_rim_var,_sample_3_var,_test_sample_var,_stop_var,_cryostat_mountin_plate_var,_m4pi_two_or_more_samples_var,_Au_powder_var,_detector_position_var,_sample_stick_walls_var,_a1_var,_instrument_var,_source_var,_inner_cryostat_wall_var) mcenabletrace: 7505, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===