INFO: No output directory specified (--dir) INFO: Using directory: "Conditional_test_20260318_034122" INFO: Regenerating c-file: Conditional_test.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Conditional_test.c Conditional_test.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 sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component sample -> GPU kernel from component detector ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Conditional_test.out DEBUG: CMD: nvc -o ./Conditional_test.out ./Conditional_test.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 "./Conditional_test.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 " "./Conditional_test.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, ^ "./Conditional_test.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, ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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*); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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){ ^ "./Conditional_test.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){ ^ "./Conditional_test.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(); ^ "./Conditional_test.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); ^ "./Conditional_test.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 */ ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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]); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.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); ^ "./Conditional_test.c", line 4625: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Conditional_test.c", line 5080: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Conditional_test.c", line 4999: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Conditional_test.c", line 6326: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Conditional_test.c", line 8709: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Conditional_test.c", line 9264: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Conditional_test.c", line 9291: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Conditional_test.c", line 9820: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Conditional_test.c", line 9821: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Conditional_test.c", line 9822: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Conditional_test.c", line 10044: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Conditional_test.c", line 10106: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Conditional_test.c", line 10106: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Conditional_test.c", line 10106: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Conditional_test.c", line 10327: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Conditional_test.c", line 10632: 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; ^ "./Conditional_test.c", line 10633: 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; ^ "./Conditional_test.c", line 10878: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Conditional_test.c", line 10669: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Conditional_test.c", line 10671: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Conditional_test.c", line 10672: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Conditional_test.c", line 10673: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Conditional_test.c", line 10697: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Conditional_test.c", line 10706: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Conditional_test.c", line 10706: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Conditional_test.c", line 10708: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Conditional_test.c", line 10750: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Conditional_test.c", line 10919: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Conditional_test.c", line 10949: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Conditional_test.c", line 10968: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Conditional_test.c", line 10968: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Conditional_test.c", line 10969: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Conditional_test.c", line 10970: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Conditional_test.c", line 11207: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Conditional_test.c", line 11373: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Conditional_test.c", line 11428: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Conditional_test.c", line 11505: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Conditional_test.c", line 11717: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Conditional_test.c", line 11815: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Conditional_test.c", line 12006: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Conditional_test.c", line 12204: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Conditional_test.c", line 12205: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Conditional_test.c", line 12790: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Conditional_test.c", line 12791: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Conditional_test.c", line 13050: 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; ^ "./Conditional_test.c", line 13055: 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; ^ "./Conditional_test.c", line 13056: 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; ^ "./Conditional_test.c", line 13057: 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; ^ "./Conditional_test.c", line 13064: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Conditional_test.c", line 13065: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Conditional_test.c", line 13188: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Conditional_test.c", line 13482: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Conditional_test.c", line 13548: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Conditional_test.c", line 13735: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Conditional_test.c", line 13738: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Conditional_test.c", line 13895: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Conditional_test.c", line 13898: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Conditional_test.c", line 14896: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Conditional_test.c", line 14799: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Conditional_test.c", line 15118: 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; ^ "./Conditional_test.c", line 15328: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Conditional_test.c", line 15489: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Conditional_test.c", line 15893: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Conditional_test.c", line 16711: 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 */ ^ "./Conditional_test.c", line 16713: 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 */ ^ "./Conditional_test.c", line 16720: 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 */ ^ "./Conditional_test.c", line 16740: 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); ^ "./Conditional_test.c", line 16742: 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); ^ "./Conditional_test.c", line 16744: 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, ^ "./Conditional_test.c", line 18301: 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, ^ "./Conditional_test.c", line 18324: 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, ^ "./Conditional_test.c", line 18345: 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, ^ "./Conditional_test.c", line 18432: 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) { ^ "./Conditional_test.c", line 18437: 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) { ^ "./Conditional_test.c", line 18446: 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) ^ "./Conditional_test.c", line 18472: 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) ^ "./Conditional_test.c", line 18475: 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; ^ "./Conditional_test.c", line 18475: 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; ^ "./Conditional_test.c", line 18475: 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; ^ "./Conditional_test.c", line 18475: 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; ^ "./Conditional_test.c", line 18475: 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; ^ "./Conditional_test.c", line 18475: 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; ^ "./Conditional_test.c", line 18535: 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) ^ "./Conditional_test.c", line 18665: 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, ^ "./Conditional_test.c", line 18709: 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, ^ "./Conditional_test.c", line 18830: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Conditional_test.c", line 18942: 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) ^ "./Conditional_test.c", line 18954: 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) ^ "./Conditional_test.c", line 18989: 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) ^ "./Conditional_test.c", line 19245: 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) { ^ "./Conditional_test.c", line 19251: 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) ^ "./Conditional_test.c", line 20081: warning: variable "line_v" was declared but never referenced [declared_but_not_referenced] int line_v, line0, line; ^ "./Conditional_test.c", line 20437: warning: variable "dummy" was declared but never referenced [declared_but_not_referenced] int dummy; ^ "./Conditional_test.c", line 21877: warning: variable "choice" was declared but never referenced [declared_but_not_referenced] enum surface choice = surface->eSurface; ^ "./Conditional_test.c", line 22937: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 22933: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Conditional_test.c", line 22993: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 22978: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Conditional_test.c", line 23060: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23041: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Conditional_test.c", line 23124: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23109: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Conditional_test.c", line 23205: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23172: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Conditional_test.c", line 23279: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23260: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Conditional_test.c", line 23343: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23328: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Conditional_test.c", line 23424: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23391: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Conditional_test.c", line 23498: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23479: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Conditional_test.c", line 23559: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 23547: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Conditional_test.c", line 23604: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Conditional_test.c", line 23675: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Conditional_test.c", line 23724: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Conditional_test.c", line 23829: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Conditional_test.c", line 23934: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Conditional_test.c", line 24031: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Conditional_test.c", line 24148: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Conditional_test.c", line 24257: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./Conditional_test.c", line 24347: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./Conditional_test.c", line 24448: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./Conditional_test.c", line 24549: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./Conditional_test.c", line 24598: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./Conditional_test.c", line 24699: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./Conditional_test.c", line 24780: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./Conditional_test.c", line 24881: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./Conditional_test.c", line 24956: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./Conditional_test.c", line 25034: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./Conditional_test.c", line 25110: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./Conditional_test.c", line 25189: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Conditional_test.c", line 25186: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./Conditional_test.c", line 26911: warning: variable "is_cylinder" was set but never used [set_but_not_used] int is_cylinder = 0; ^ "./Conditional_test.c", line 27056: warning: variable "l2" was declared but never referenced [declared_but_not_referenced] int l1, l2; ^ "./Conditional_test.c", line 29340: warning: incompatible redefinition of macro "exit" (declared at line 621) [bad_macro_redef] #define exit(...) noprintf() ^ "./Conditional_test.c", line 29352: 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 ^ "./Conditional_test.c", line 29431: 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 ^ "./Conditional_test.c", line 30245: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Conditional_test.c", line 31219: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Conditional_test.c", line 31251: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Conditional_test.c", line 29702: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Conditional_test.c", line 31797: 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 ^ "./Conditional_test.c", line 34765: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Conditional_test.c", line 34766: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Conditional_test.c", line 1502: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Conditional_test.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: 17521, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 17589, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 17668, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 18136, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 18152, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 18170, Generating acc routine seq Generating NVIDIA GPU code off_F: 18432, Generating acc routine seq Generating NVIDIA GPU code off_sign: 18437, Generating acc routine seq Generating NVIDIA GPU code off_normal: 18447, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 18473, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 18536, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 18667, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 18712, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 18827, Generating acc routine seq Generating NVIDIA GPU code off_compare: 18943, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 18955, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 18990, Generating acc routine seq Generating NVIDIA GPU code Min_int: 19245, Generating acc routine seq Generating NVIDIA GPU code merge: 19252, Generating acc routine seq Generating NVIDIA GPU code CUDA global memory used for L,R p_to_quadratic: 19360, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 19375, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 19429, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 19546, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 19568, Generating acc routine seq Generating NVIDIA GPU code init: 29310, Generating update device(_detector_var,_Cu_var,_Vanadium_incoherent_var,_Al_Powder_var,_Al_incoherent_var,_Cu_Powder_var,_Al_var,_Cu_incoherent_var,_Vanadium_var,_scat_direction_var,_sample_cone_var,_cryostat_wall_vacuum_var,_a1_var,_sample_pos_var,_instrument_var,_sample_box_var,_test_conditional_standard_var,_test_logger_2D_space_zx_con_time_var,_test_logger_2D_space_zy_var,_test_logger_2D_space_zx_var,_sample_var,_test_logger_2D_space_zx_con_PSD_var,_test_conditional_PSD_var,_test_logger_1D_var,_stop_var,_sample_sphere_var,_detector_scat_var,_cryostat_wall_var,_source_var,_init_var) class_Progress_bar_trace: 29353, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 29432, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 31798, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 32239, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 32243, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 32243, Generating implicit firstprivate(mpi_node_rank,_particle,ncount,seed) 32252, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 32257, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 32252, Local memory used for .inl_.inl_c_1977_35969,.inl_.inl_.inl_b_1951_1983_35974,.inl_.inl_.inl_.X3364_1950_1982_35973,.inl_.inl_b_1973_35968,.inl_.inl_c_1966_35958,.inl_.inl_.inl_b_1951_1972_35963,.inl_.inl_.inl_.X3364_1950_1971_35962,.inl_.inl_b_1962_35957,.inl_.inl_.X3348_1961_35952,.inl_.inl_c_1958_35951,.inl_c_35984,.inl_.inl_b_1957_35949,.inl_.inl_.X3364_1956_35948,.inl_b_35941,.inl_.X3347_35940,.inl_.X3348_35935,.inl_c_35943,.inl_.X3346_35931,.inl_a_35927,_particle_save,.inl_c_35995,.inl_.inl_c_1966_36010,.inl_.inl_.inl_b_1951_1972_36015,.inl_.inl_.inl_.X3364_1950_1971_36014,.inl_.inl_b_1962_36009,.inl_.inl_c_1958_36003,.inl_.inl_.inl_.X3364_1950_1982_36025,.inl_.inl_.X3364_1956_36000,.inl_.inl_b_1957_36001,.inl_.X3348_35987,.inl_.inl_b_1973_36020,.inl_c_35932,.inl_.inl_.inl_b_1951_1983_36026,.inl_.inl_.X3348_1961_36004,.inl_a_35979,.inl_.X3346_35983,.inl_.X3347_35992,.inl_b_35993,.inl_.inl_c_1977_36021 32429, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 32432, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 32429, Local memory used for .inl_.inl_c_1977_36121,.inl_.inl_.inl_b_1951_1983_36126,.inl_.inl_.inl_.X3364_1950_1982_36125,.inl_.inl_b_1973_36120,.inl_.inl_c_1966_36110,.inl_.inl_.inl_b_1951_1972_36115,.inl_.inl_.inl_.X3364_1950_1971_36114,.inl_.inl_b_1962_36109,.inl_.inl_.X3348_1961_36104,.inl_.inl_c_1958_36103,.inl_c_36134,.inl_.inl_b_1957_36101,.inl_.inl_.X3364_1956_36100,.inl_b_36093,.inl_.X3347_36092,.inl_.X3348_36087,.inl_c_36095,.inl_.X3346_36083,.inl_a_36079,_particle_save,.inl_c_36145,.inl_.inl_c_1966_36160,.inl_.inl_.inl_b_1951_1972_36165,.inl_.inl_.inl_.X3364_1950_1971_36164,.inl_.inl_b_1962_36159,.inl_.inl_c_1958_36153,.inl_.inl_.inl_.X3364_1950_1982_36175,.inl_.inl_.X3364_1956_36150,.inl_.inl_b_1957_36151,.inl_.X3348_36137,.inl_.inl_b_1973_36170,.inl_c_36084,.inl_.inl_.inl_b_1951_1983_36176,.inl_.inl_.X3348_1961_36154,.inl_a_36129,.inl_.X3346_36133,.inl_.X3347_36142,.inl_b_36143,.inl_.inl_c_1977_36171 finally: 33855, Generating update self(_detector_var,_Cu_var,_Vanadium_incoherent_var,_Al_Powder_var,_Al_incoherent_var,_Cu_Powder_var,_Al_var,_Cu_incoherent_var,_Vanadium_var,_scat_direction_var,_sample_cone_var,_cryostat_wall_vacuum_var,_a1_var,_sample_pos_var,_instrument_var,_sample_box_var,_test_conditional_standard_var,_test_logger_2D_space_zx_con_time_var,_test_logger_2D_space_zy_var,_test_logger_2D_space_zx_var,_sample_var,_test_logger_2D_space_zx_con_PSD_var,_test_conditional_PSD_var,_test_logger_1D_var,_stop_var,_sample_sphere_var,_detector_scat_var,_cryostat_wall_var,_source_var,_init_var) mcenabletrace: 6035, Generating update device(mcdotrace) DEBUG: CMD: nvc finished INFO: ===