INFO: No output directory specified (--dir) INFO: Using directory: "Manual_example_20260318_040221" INFO: Regenerating c-file: Manual_example.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Manual_example.c Manual_example.instr CFLAGS= -DFUNNEL WARNING: The parameter format of Al_powder is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: Component Master is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Master -> GPU kernel from component Banana_monitor ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Manual_example.out DEBUG: CMD: nvc -o ./Manual_example.out ./Manual_example.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 "./Manual_example.c", line 88: 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 " "./Manual_example.c", line 90: 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, ^ "./Manual_example.c", line 93: 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, ^ "./Manual_example.c", line 107: 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); ^ "./Manual_example.c", line 111: 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); ^ "./Manual_example.c", line 139: 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); ^ "./Manual_example.c", line 111: 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); ^ "./Manual_example.c", line 168: 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*); ^ "./Manual_example.c", line 190: 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); ^ "./Manual_example.c", line 201: 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); ^ "./Manual_example.c", line 212: 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){ ^ "./Manual_example.c", line 222: 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){ ^ "./Manual_example.c", line 289: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Manual_example.c", line 291: 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); ^ "./Manual_example.c", line 642: 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 */ ^ "./Manual_example.c", line 863: 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); ^ "./Manual_example.c", line 880: 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); ^ "./Manual_example.c", line 882: 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]); ^ "./Manual_example.c", line 890: 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); ^ "./Manual_example.c", line 892: 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); ^ "./Manual_example.c", line 894: 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); ^ "./Manual_example.c", line 896: 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); ^ "./Manual_example.c", line 898: 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); ^ "./Manual_example.c", line 994: 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); ^ "./Manual_example.c", line 996: 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); ^ "./Manual_example.c", line 998: 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); ^ "./Manual_example.c", line 1000: 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); ^ "./Manual_example.c", line 1002: 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); ^ "./Manual_example.c", line 1004: 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); ^ "./Manual_example.c", line 1006: 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); ^ "./Manual_example.c", line 1008: 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); ^ "./Manual_example.c", line 1010: 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); ^ "./Manual_example.c", line 4625: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Manual_example.c", line 5080: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Manual_example.c", line 4999: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Manual_example.c", line 6326: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Manual_example.c", line 8708: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Manual_example.c", line 9263: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Manual_example.c", line 9290: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Manual_example.c", line 9819: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Manual_example.c", line 9820: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Manual_example.c", line 9821: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Manual_example.c", line 10043: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Manual_example.c", line 10105: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Manual_example.c", line 10105: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Manual_example.c", line 10105: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Manual_example.c", line 10326: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Manual_example.c", line 10631: 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; ^ "./Manual_example.c", line 10632: 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; ^ "./Manual_example.c", line 10877: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Manual_example.c", line 10668: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Manual_example.c", line 10670: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Manual_example.c", line 10671: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Manual_example.c", line 10672: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Manual_example.c", line 10696: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Manual_example.c", line 10705: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Manual_example.c", line 10705: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Manual_example.c", line 10707: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Manual_example.c", line 10749: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Manual_example.c", line 10918: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Manual_example.c", line 10948: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Manual_example.c", line 10967: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Manual_example.c", line 10967: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Manual_example.c", line 10968: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Manual_example.c", line 10969: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Manual_example.c", line 11206: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Manual_example.c", line 11372: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Manual_example.c", line 11427: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Manual_example.c", line 11504: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Manual_example.c", line 11716: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Manual_example.c", line 11814: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Manual_example.c", line 12005: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Manual_example.c", line 12203: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Manual_example.c", line 12204: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Manual_example.c", line 12789: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Manual_example.c", line 12790: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Manual_example.c", line 13049: 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; ^ "./Manual_example.c", line 13054: 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; ^ "./Manual_example.c", line 13055: 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; ^ "./Manual_example.c", line 13056: 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; ^ "./Manual_example.c", line 13063: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Manual_example.c", line 13064: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Manual_example.c", line 13187: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Manual_example.c", line 13481: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Manual_example.c", line 13547: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Manual_example.c", line 13734: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Manual_example.c", line 13737: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Manual_example.c", line 13894: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Manual_example.c", line 13897: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Manual_example.c", line 14895: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Manual_example.c", line 14798: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Manual_example.c", line 15117: 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; ^ "./Manual_example.c", line 15327: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Manual_example.c", line 15488: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Manual_example.c", line 15892: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Manual_example.c", line 16610: 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 */ ^ "./Manual_example.c", line 16612: 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 */ ^ "./Manual_example.c", line 16619: 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 */ ^ "./Manual_example.c", line 16639: 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); ^ "./Manual_example.c", line 16641: 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); ^ "./Manual_example.c", line 16643: 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, ^ "./Manual_example.c", line 18200: 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, ^ "./Manual_example.c", line 18223: 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, ^ "./Manual_example.c", line 18244: 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, ^ "./Manual_example.c", line 18331: 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) { ^ "./Manual_example.c", line 18336: 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) { ^ "./Manual_example.c", line 18345: warning: Routine "off_normal" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_normal(Coords* n, polygon p) ^ "./Manual_example.c", line 18371: 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) ^ "./Manual_example.c", line 18374: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Manual_example.c", line 18374: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Manual_example.c", line 18374: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Manual_example.c", line 18374: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Manual_example.c", line 18374: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Manual_example.c", line 18374: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./Manual_example.c", line 18434: 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) ^ "./Manual_example.c", line 18564: warning: Routine "off_init_planes" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void off_init_planes(Coords a, Coords b, ^ "./Manual_example.c", line 18608: 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, ^ "./Manual_example.c", line 18729: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Manual_example.c", line 18841: warning: Routine "off_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_compare (void const *a, void const *b) ^ "./Manual_example.c", line 18853: warning: Routine "off_cleanDouble" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanDouble(intersection* t, int* t_size) ^ "./Manual_example.c", line 18888: warning: Routine "off_cleanInOut" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_cleanInOut(intersection* t, int* t_size) ^ "./Manual_example.c", line 19144: warning: Routine "Min_int" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Min_int(int x, int y) { ^ "./Manual_example.c", line 19150: warning: Routine "merge" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void merge(intersection *arr, int l, int m, int r) ^ "./Manual_example.c", line 19980: warning: variable "line_v" was declared but never referenced [declared_but_not_referenced] int line_v, line0, line; ^ "./Manual_example.c", line 21285: 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); ^ "./Manual_example.c", line 23371: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Manual_example.c", line 23371: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Manual_example.c", line 23398: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Manual_example.c", line 23398: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Manual_example.c", line 23589: warning: variable "choice" was declared but never referenced [declared_but_not_referenced] enum surface choice = surface->eSurface; ^ "./Manual_example.c", line 24399: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24395: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Manual_example.c", line 24455: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24440: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Manual_example.c", line 24536: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24503: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Manual_example.c", line 24610: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24591: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Manual_example.c", line 24674: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24659: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Manual_example.c", line 24755: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24722: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Manual_example.c", line 24829: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24810: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Manual_example.c", line 24890: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 24878: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Manual_example.c", line 24935: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Manual_example.c", line 25012: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Manual_example.c", line 25134: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Manual_example.c", line 25183: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Manual_example.c", line 25300: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Manual_example.c", line 25417: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Manual_example.c", line 25522: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Manual_example.c", line 25600: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Manual_example.c", line 25729: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Manual_example.c", line 25726: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Manual_example.c", line 28565: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./Manual_example.c", line 28577: 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 ^ "./Manual_example.c", line 28656: warning: Routine "class_Source_simple_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Source_simple_trace(_class_Source_simple *_comp ^ "./Manual_example.c", line 28759: warning: Routine "class_Guide_gravity_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Guide_gravity_trace(_class_Guide_gravity *_comp ^ "./Manual_example.c", line 29782: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Manual_example.c", line 30756: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Manual_example.c", line 30788: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Manual_example.c", line 29239: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Manual_example.c", line 31334: 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 ^ "./Manual_example.c", line 34215: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Manual_example.c", line 34216: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Manual_example.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Manual_example.c", line 2971: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 100, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 114, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 146, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 170, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 192, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 203, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 212, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 222, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1550, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1554, Generating acc routine seq Generating NVIDIA GPU code str_len: 1563, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4243, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4677, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4688, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4697, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4709, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4721, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4731, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4749, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4759, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4781, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4788, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4834, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4869, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4880, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4897, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4908, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4924, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4953, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4964, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4968, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5003, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5010, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5019, #pragma acc loop seq 5003, Generating implicit copy(lens[:]) [if not already present] 5010, Generating implicit firstprivate(ll,l) 5021, Accelerator restriction: induction variable live-out from loop: i 5022, Accelerator restriction: induction variable live-out from loop: i 5023, Accelerator restriction: induction variable live-out from loop: i 5024, Accelerator restriction: induction variable live-out from loop: i 5026, Accelerator restriction: induction variable live-out from loop: j 5027, Accelerator restriction: induction variable live-out from loop: j 5028, Accelerator restriction: induction variable live-out from loop: j 5029, Accelerator restriction: induction variable live-out from loop: j 5051, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5055, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5058, #pragma acc loop seq 5051, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5058, Generating implicit firstprivate(l) 5075, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5079, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5086, #pragma acc loop seq 5075, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5145, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5176, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5193, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5292, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5376, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5442, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5519, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5791, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5803, Generating acc routine seq Generating NVIDIA GPU code _hash: 5835, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5876, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5887, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5892, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5900, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5908, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5915, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6595, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6635, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6695, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6712, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6827, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6882, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 17420, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 17488, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 17567, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 18035, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 18051, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 18069, Generating acc routine seq Generating NVIDIA GPU code off_F: 18331, Generating acc routine seq Generating NVIDIA GPU code off_sign: 18336, Generating acc routine seq Generating NVIDIA GPU code off_normal: 18346, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 18372, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 18435, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 18566, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 18611, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 18726, Generating acc routine seq Generating NVIDIA GPU code off_compare: 18842, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 18854, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 18889, Generating acc routine seq Generating NVIDIA GPU code Min_int: 19144, Generating acc routine seq Generating NVIDIA GPU code merge: 19151, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 19259, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 19274, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 19328, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 19445, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 19467, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 20398, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 20457, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 20759, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 22361, Generating acc routine seq Generating NVIDIA GPU code init: 28535, Generating update device(_Source_var,_Al_inc_var,_Al_powder_var,_Banana_monitor_var,_Fe_inc_var,_Fe_powder_var,_Master_var,_Sample_var,_Fe_var,_instrument_var,_Guide_var,_Hexagonal_container_1_var,_Progress_var,_Hexagonal_container_2_var,_Al_var,_stop_var,_sample_position_var,_init_var) class_Progress_bar_trace: 28578, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 28657, Generating acc routine seq Generating NVIDIA GPU code class_Guide_gravity_trace: 28760, Generating acc routine seq Generating NVIDIA GPU code 28899, Reference argument passing prevents parallelization: dt class_Monitor_nD_trace: 31335, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 31914, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31918, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31918, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 31927, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31932, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31927, Local memory used for .inl_.inl_c_1977_35928,.inl_.inl_.inl_b_1951_1983_35933,.inl_.inl_.inl_.X3354_1950_1982_35932,.inl_.inl_b_1973_35927,.inl_.inl_c_1966_35917,.inl_.inl_.inl_b_1951_1972_35922,.inl_.inl_.inl_.X3354_1950_1971_35921,.inl_.inl_b_1962_35916,.inl_.inl_.X3338_1961_35911,.inl_.inl_c_1958_35910,.inl_c_35941,.inl_.inl_b_1957_35908,.inl_.inl_.X3354_1956_35907,.inl_b_35900,.inl_.X3337_35899,.inl_.X3338_35894,.inl_c_35902,.inl_.X3336_35890,.inl_a_35886,.inl_.inl_c_1977_35876,.inl_.inl_.inl_b_1951_1983_35881,.inl_.inl_.inl_.X3354_1950_1982_35880,.inl_.inl_b_1973_35875,.inl_.inl_c_1966_35865,.inl_.inl_.inl_b_1951_1972_35870,.inl_.inl_.inl_.X3354_1950_1971_35869,.inl_.inl_b_1962_35864,.inl_.inl_.X3338_1961_35859,.inl_.inl_c_1958_35858,.inl_c_35891,.inl_.inl_b_1957_35856,.inl_.inl_.X3354_1956_35855,.inl_b_35848,.inl_.X3337_35847,.inl_.X3338_35842,.inl_c_35850,.inl_.X3336_35838,.inl_a_35834,_particle_save,.inl_c_35952,.inl_.inl_c_1966_35967,.inl_.inl_.inl_b_1951_1972_35972,.inl_.inl_.inl_.X3354_1950_1971_35971,.inl_.inl_b_1962_35966,.inl_.inl_c_1958_35960,.inl_.inl_.inl_.X3354_1950_1982_35982,.inl_.inl_.X3354_1956_35957,.inl_.inl_b_1957_35958,.inl_.X3338_35944,.inl_.inl_b_1973_35977,.inl_c_35839,.inl_.inl_.inl_b_1951_1983_35983,.inl_.inl_.X3338_1961_35961,.inl_a_35936,.inl_.X3336_35940,.inl_.X3337_35949,.inl_b_35950,.inl_.inl_c_1977_35978 32059, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 32062, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 32059, Local memory used for _particle_save,.inl_c_36052,.inl_.inl_c_1966_36067,.inl_.inl_.inl_b_1951_1972_36072,.inl_.inl_.inl_.X3354_1950_1971_36071,.inl_.inl_b_1962_36066,.inl_.inl_c_1958_36060,.inl_.inl_.inl_.X3354_1950_1982_36082,.inl_.inl_.X3354_1956_36057,.inl_.inl_b_1957_36058,.inl_.X3338_36044,.inl_.inl_b_1973_36077,.inl_c_36041,.inl_.inl_.inl_b_1951_1983_36083,.inl_.inl_.X3338_1961_36061,.inl_a_36036,.inl_.X3336_36040,.inl_.X3337_36049,.inl_b_36050,.inl_.inl_c_1977_36078 finally: 33198, Generating update self(_Source_var,_Al_inc_var,_Al_powder_var,_Banana_monitor_var,_Fe_inc_var,_Fe_powder_var,_Master_var,_Sample_var,_Fe_var,_instrument_var,_Guide_var,_Hexagonal_container_1_var,_Progress_var,_Hexagonal_container_2_var,_Al_var,_stop_var,_sample_position_var,_init_var) mcenabletrace: 6035, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===