INFO: No output directory specified (--dir) INFO: Using directory: "Single_crystal_validation_20250514_035620" INFO: Regenerating c-file: Single_crystal_validation.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Single_crystal_validation.c Single_crystal_validation.instr Warning: DECLARE block contains 2 assignments (= sign). Move them into an INITIALIZE section. May fail at compile. CFLAGS= -DFUNNEL WARNING: The parameter mosaic_AB of Single_crystal_test_process 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. WARNING: The parameter mosaic_AB of sample 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 test_sample is NOACC, CPUONLY=1 -> FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component test_sample -> GPU kernel from component sample ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Single_crystal_validation.out DEBUG: CMD: nvc -o ./Single_crystal_validation.out ./Single_crystal_validation.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 -fast -Minfo=accel -acc=gpu -gpu=mem:managed -DOPENACC -DFUNNEL "./Single_crystal_validation.c", line 90: 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 " "./Single_crystal_validation.c", line 92: 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, ^ "./Single_crystal_validation.c", line 95: 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, ^ "./Single_crystal_validation.c", line 111: 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); ^ "./Single_crystal_validation.c", line 115: 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); ^ "./Single_crystal_validation.c", line 144: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./Single_crystal_validation.c", line 115: 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); ^ "./Single_crystal_validation.c", line 174: 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*); ^ "./Single_crystal_validation.c", line 197: 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); ^ "./Single_crystal_validation.c", line 208: 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); ^ "./Single_crystal_validation.c", line 219: 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){ ^ "./Single_crystal_validation.c", line 230: 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){ ^ "./Single_crystal_validation.c", line 303: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Single_crystal_validation.c", line 305: 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); ^ "./Single_crystal_validation.c", line 655: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./Single_crystal_validation.c", line 876: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./Single_crystal_validation.c", line 893: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./Single_crystal_validation.c", line 895: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./Single_crystal_validation.c", line 903: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./Single_crystal_validation.c", line 905: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./Single_crystal_validation.c", line 907: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./Single_crystal_validation.c", line 909: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./Single_crystal_validation.c", line 911: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./Single_crystal_validation.c", line 1007: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./Single_crystal_validation.c", line 1009: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./Single_crystal_validation.c", line 1011: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./Single_crystal_validation.c", line 1013: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./Single_crystal_validation.c", line 1015: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./Single_crystal_validation.c", line 1017: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./Single_crystal_validation.c", line 1019: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./Single_crystal_validation.c", line 1021: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./Single_crystal_validation.c", line 1023: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./Single_crystal_validation.c", line 4578: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Single_crystal_validation.c", line 5033: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Single_crystal_validation.c", line 4952: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Single_crystal_validation.c", line 6279: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Single_crystal_validation.c", line 8345: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Single_crystal_validation.c", line 8869: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Single_crystal_validation.c", line 8892: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Single_crystal_validation.c", line 9380: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Single_crystal_validation.c", line 9381: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Single_crystal_validation.c", line 9382: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Single_crystal_validation.c", line 9542: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Single_crystal_validation.c", line 9762: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Single_crystal_validation.c", line 9921: 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; ^ "./Single_crystal_validation.c", line 9922: 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; ^ "./Single_crystal_validation.c", line 10197: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Single_crystal_validation.c", line 9956: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Single_crystal_validation.c", line 9958: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Single_crystal_validation.c", line 9959: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Single_crystal_validation.c", line 9960: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Single_crystal_validation.c", line 9984: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Single_crystal_validation.c", line 9993: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Single_crystal_validation.c", line 9993: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Single_crystal_validation.c", line 9995: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Single_crystal_validation.c", line 10044: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Single_crystal_validation.c", line 10211: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Single_crystal_validation.c", line 10212: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Single_crystal_validation.c", line 10213: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Single_crystal_validation.c", line 10242: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Single_crystal_validation.c", line 10300: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Single_crystal_validation.c", line 10316: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Single_crystal_validation.c", line 10316: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Single_crystal_validation.c", line 10317: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Single_crystal_validation.c", line 10318: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Single_crystal_validation.c", line 10755: warning: variable "vector2" is used before its value is set [used_before_set] if (verbal == 1) printf("vector1 = (%f,%f,%f)\n",vector1.x,vector1.y,vector2.z); ^ "./Single_crystal_validation.c", line 10744: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 10821: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 11028: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 11126: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Single_crystal_validation.c", line 11312: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 11505: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Single_crystal_validation.c", line 11506: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Single_crystal_validation.c", line 12040: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Single_crystal_validation.c", line 12041: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Single_crystal_validation.c", line 12440: warning: variable "square_center" is used before its value is set [used_before_set] Coords box_end_point = coords_sub(coords_set(0,0,-z_depth/2),square_center); ^ "./Single_crystal_validation.c", line 12300: 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; ^ "./Single_crystal_validation.c", line 12305: 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; ^ "./Single_crystal_validation.c", line 12306: 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; ^ "./Single_crystal_validation.c", line 12307: 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; ^ "./Single_crystal_validation.c", line 12314: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Single_crystal_validation.c", line 12315: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Single_crystal_validation.c", line 12438: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Single_crystal_validation.c", line 12704: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Single_crystal_validation.c", line 12770: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 12956: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Single_crystal_validation.c", line 12959: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Single_crystal_validation.c", line 13116: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Single_crystal_validation.c", line 13119: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Single_crystal_validation.c", line 14038: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Single_crystal_validation.c", line 13947: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Single_crystal_validation.c", line 14250: 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; ^ "./Single_crystal_validation.c", line 14440: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Single_crystal_validation.c", line 14589: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Single_crystal_validation.c", line 14993: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Single_crystal_validation.c", line 15532: 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 */ ^ "./Single_crystal_validation.c", line 15534: 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 */ ^ "./Single_crystal_validation.c", line 15541: 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 */ ^ "./Single_crystal_validation.c", line 15561: 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); ^ "./Single_crystal_validation.c", line 15563: 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); ^ "./Single_crystal_validation.c", line 15565: 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, ^ "./Single_crystal_validation.c", line 17111: 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, ^ "./Single_crystal_validation.c", line 17134: 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, ^ "./Single_crystal_validation.c", line 17155: 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, ^ "./Single_crystal_validation.c", line 17238: 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) { ^ "./Single_crystal_validation.c", line 17243: 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) { ^ "./Single_crystal_validation.c", line 17252: 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) ^ "./Single_crystal_validation.c", line 17278: 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) ^ "./Single_crystal_validation.c", line 17281: 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; ^ "./Single_crystal_validation.c", line 17281: 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; ^ "./Single_crystal_validation.c", line 17281: 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; ^ "./Single_crystal_validation.c", line 17281: 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; ^ "./Single_crystal_validation.c", line 17281: 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; ^ "./Single_crystal_validation.c", line 17281: 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; ^ "./Single_crystal_validation.c", line 17341: 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) ^ "./Single_crystal_validation.c", line 17471: 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, ^ "./Single_crystal_validation.c", line 17515: 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, ^ "./Single_crystal_validation.c", line 17638: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Single_crystal_validation.c", line 17752: 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) ^ "./Single_crystal_validation.c", line 17764: 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) ^ "./Single_crystal_validation.c", line 17799: 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) ^ "./Single_crystal_validation.c", line 18051: 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) { ^ "./Single_crystal_validation.c", line 18057: 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) ^ "./Single_crystal_validation.c", line 19251: warning: missing return statement at end of non-void function "Single_crystal_physics_my" [implicit_return_from_non_void_function] }; ^ "./Single_crystal_validation.c", line 19263: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 19263: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 19263: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 19264: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 19264: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 19264: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 19266: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double adjust, r, sum; /* Temporaries */ ^ "./Single_crystal_validation.c", line 19269: warning: variable "kix" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Single_crystal_validation.c", line 19269: warning: variable "kiy" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Single_crystal_validation.c", line 19269: warning: variable "kiz" was declared but never referenced [declared_but_not_referenced] double kix = k_initial[0],kiy = k_initial[1],kiz = k_initial[2]; ^ "./Single_crystal_validation.c", line 20532: warning: Routine "SX_list_compare" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int SX_list_compare (void const *a, void const *b) ^ "./Single_crystal_validation.c", line 21055: warning: Routine "hkl_search" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_search(struct hkl_data *L, void *TT, int count, double V0, ^ "./Single_crystal_validation.c", line 21068: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./Single_crystal_validation.c", line 21069: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Single_crystal_validation.c", line 21069: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Single_crystal_validation.c", line 21170: warning: Routine "hkl_select" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int hkl_select(struct tau_data *T, int tau_count, double coh_refl, double *sum,_class_particle *_particle) { ^ "./Single_crystal_validation.c", line 21185: warning: Routine "randrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randrotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./Single_crystal_validation.c", line 21193: warning: Routine "randderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void randderotate(double *nx, double *ny, double *nz, double a, double b, double c) { ^ "./Single_crystal_validation.c", line 21201: warning: Routine "PGrotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGrotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./Single_crystal_validation.c", line 21209: warning: Routine "PGderotate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void PGderotate(double *nx, double *ny, double *nz, double a, double csx, double csy, double csz) { ^ "./Single_crystal_validation.c", line 21220: warning: Routine "vec_rotate_2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void vec_rotate_2d(double* x, double* y, double angle) { ^ "./Single_crystal_validation.c", line 21437: 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); ^ "./Single_crystal_validation.c", line 23523: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Single_crystal_validation.c", line 23523: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Single_crystal_validation.c", line 23550: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Single_crystal_validation.c", line 23550: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Single_crystal_validation.c", line 24567: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 24563: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Single_crystal_validation.c", line 24656: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 24608: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Single_crystal_validation.c", line 24742: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 24727: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Single_crystal_validation.c", line 24806: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 24791: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Single_crystal_validation.c", line 24864: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 24852: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Single_crystal_validation.c", line 24928: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 24910: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Single_crystal_validation.c", line 24983: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Single_crystal_validation.c", line 25048: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Single_crystal_validation.c", line 25143: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./Single_crystal_validation.c", line 25244: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./Single_crystal_validation.c", line 25345: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./Single_crystal_validation.c", line 25419: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./Single_crystal_validation.c", line 25552: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./Single_crystal_validation.c", line 25618: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./Single_crystal_validation.c", line 25744: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./Single_crystal_validation.c", line 25820: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./Single_crystal_validation.c", line 25899: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 25896: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./Single_crystal_validation.c", line 26038: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 26038: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 26038: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 26039: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Single_crystal_validation.c", line 28085: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 28085: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 28085: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 28086: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Single_crystal_validation.c", line 28642: warning: Routine "class_Single_crystal_process_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Single_crystal_process_trace(_class_Single_crystal_process *_comp ^ "./Single_crystal_validation.c", line 28734: 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 ^ "./Single_crystal_validation.c", line 28824: 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 ^ "./Single_crystal_validation.c", line 28927: warning: Routine "class_Slit_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Slit_trace(_class_Slit *_comp ^ "./Single_crystal_validation.c", line 29509: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Single_crystal_validation.c", line 29136: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Single_crystal_validation.c", line 30452: warning: Routine "class_Single_crystal_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_Single_crystal_trace(_class_Single_crystal *_comp ^ "./Single_crystal_validation.c", line 30511: warning: variable "rho_x" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Single_crystal_validation.c", line 30511: warning: variable "rho_y" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Single_crystal_validation.c", line 30511: warning: variable "rho_z" was declared but never referenced [declared_but_not_referenced] double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./Single_crystal_validation.c", line 30512: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./Single_crystal_validation.c", line 30513: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./Single_crystal_validation.c", line 30514: warning: variable "ox" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Single_crystal_validation.c", line 30514: warning: variable "oy" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Single_crystal_validation.c", line 30514: warning: variable "oz" was declared but never referenced [declared_but_not_referenced] double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./Single_crystal_validation.c", line 30515: warning: variable "b1x" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 30515: warning: variable "b1y" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 30515: warning: variable "b1z" was declared but never referenced [declared_but_not_referenced] double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 30516: warning: variable "b2x" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 30516: warning: variable "b2y" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 30516: warning: variable "b2z" was declared but never referenced [declared_but_not_referenced] double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./Single_crystal_validation.c", line 30517: warning: variable "n11" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Single_crystal_validation.c", line 30517: warning: variable "n12" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Single_crystal_validation.c", line 30517: warning: variable "n22" was declared but never referenced [declared_but_not_referenced] double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./Single_crystal_validation.c", line 30518: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./Single_crystal_validation.c", line 30519: warning: variable "inv_n11" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Single_crystal_validation.c", line 30519: warning: variable "inv_n12" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Single_crystal_validation.c", line 30519: warning: variable "inv_n22" was declared but never referenced [declared_but_not_referenced] double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./Single_crystal_validation.c", line 30520: warning: variable "l11" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Single_crystal_validation.c", line 30520: warning: variable "l12" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Single_crystal_validation.c", line 30520: warning: variable "l22" was declared but never referenced [declared_but_not_referenced] double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./Single_crystal_validation.c", line 30521: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./Single_crystal_validation.c", line 30522: warning: variable "Bt_D_O_x" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Single_crystal_validation.c", line 30522: warning: variable "Bt_D_O_y" was declared but never referenced [declared_but_not_referenced] double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./Single_crystal_validation.c", line 30523: warning: variable "y0x" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Single_crystal_validation.c", line 30523: warning: variable "y0y" was declared but never referenced [declared_but_not_referenced] double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./Single_crystal_validation.c", line 30524: warning: variable "alpha" was declared but never referenced [declared_but_not_referenced] double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./Single_crystal_validation.c", line 30531: warning: variable "tot_xsect" was declared but never referenced [declared_but_not_referenced] double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./Single_crystal_validation.c", line 30538: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Single_crystal_validation.c", line 30538: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double theta, phi; /* rotation angles for curved lattice option */ ^ "./Single_crystal_validation.c", line 30547: warning: variable "type" was set but never used [set_but_not_used] char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./Single_crystal_validation.c", line 31009: warning: Routine "class_PSD_monitor_4PI_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp ^ "./Single_crystal_validation.c", line 31087: 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 ^ "./Single_crystal_validation.c", line 31377: warning: Routine "class_PSDlin_monitor_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void class_PSDlin_monitor_trace(_class_PSDlin_monitor *_comp ^ "./Single_crystal_validation.c", line 34467: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Single_crystal_validation.c", line 34468: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Single_crystal_validation.c", line 1515: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Single_crystal_validation.c", line 2935: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 104, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 118, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 151, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 176, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 199, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 210, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 219, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 230, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1563, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1567, Generating acc routine seq Generating NVIDIA GPU code str_len: 1576, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4199, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4630, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4641, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4650, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4662, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4674, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4684, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4694, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4702, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4712, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4734, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4741, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4787, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4822, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4833, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4850, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4861, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4877, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4906, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4917, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4921, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 4956, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 4963, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 4972, #pragma acc loop seq 4956, Generating implicit copy(lens[:]) [if not already present] 4963, Generating implicit firstprivate(ll,l) 4974, Accelerator restriction: induction variable live-out from loop: i 4975, Accelerator restriction: induction variable live-out from loop: i 4976, Accelerator restriction: induction variable live-out from loop: i 4977, Accelerator restriction: induction variable live-out from loop: i 4979, Accelerator restriction: induction variable live-out from loop: j 4980, Accelerator restriction: induction variable live-out from loop: j 4981, Accelerator restriction: induction variable live-out from loop: j 4982, Accelerator restriction: induction variable live-out from loop: j 5004, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5008, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5011, #pragma acc loop seq 5004, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5011, Generating implicit firstprivate(l) 5028, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5032, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5039, #pragma acc loop seq 5028, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5098, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5129, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5146, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5245, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5329, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5395, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5472, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5744, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5756, Generating acc routine seq Generating NVIDIA GPU code _hash: 5788, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5829, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5840, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5845, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5853, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5861, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5868, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6548, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6585, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6645, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6662, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6777, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6832, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 16331, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 16399, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 16478, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 16946, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 16962, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 16980, Generating acc routine seq Generating NVIDIA GPU code off_F: 17238, Generating acc routine seq Generating NVIDIA GPU code off_sign: 17243, Generating acc routine seq Generating NVIDIA GPU code off_normal: 17253, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 17279, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 17342, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 17473, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 17518, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 17635, Generating acc routine seq Generating NVIDIA GPU code off_compare: 17753, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 17765, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 17800, Generating acc routine seq Generating NVIDIA GPU code Min_int: 18051, Generating acc routine seq Generating NVIDIA GPU code merge: 18058, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 18162, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code quadraticSolve: 18177, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code off_intersect_all: 18231, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 18348, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 18370, Generating acc routine seq Generating NVIDIA GPU code SX_list_compare: 20533, Generating acc routine seq Generating NVIDIA GPU code hkl_search: 21058, Generating acc routine seq Generating NVIDIA GPU code hkl_select: 21170, Generating acc routine seq Generating NVIDIA GPU code randrotate: 21185, Generating acc routine seq Generating NVIDIA GPU code randderotate: 21193, Generating acc routine seq Generating NVIDIA GPU code PGrotate: 21201, Generating acc routine seq Generating NVIDIA GPU code PGderotate: 21209, Generating acc routine seq Generating NVIDIA GPU code vec_rotate_2d: 21220, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 22513, Generating acc routine seq Generating NVIDIA GPU code init: 28600, Generating update device(_det_var,_PSDlin_transmission_transmitted_var,_Banana_monitor_var,_stop_var,_Incoherent_process_var,_slit_var,_sample_var,_Union_logger_2DQ_incoherent_var,_Single_crystal_test_process_var,_Union_logger_2DQ_crystal_var,_test_sample_var,_test_material_var,_instrument_var,_cylinder_sample_union_var,_Origin_var,_PSDlin_transmission_scattered_var,_source_var,_init_var) class_Single_crystal_process_trace: 28643, Generating acc routine seq Generating NVIDIA GPU code class_Progress_bar_trace: 28735, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 28825, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 28928, Generating acc routine seq Generating NVIDIA GPU code class_Single_crystal_trace: 30453, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 31010, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 31088, Generating acc routine seq Generating NVIDIA GPU code class_PSDlin_monitor_trace: 31378, Generating acc routine seq Generating NVIDIA GPU code raytrace_all_funnel: 31853, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31857, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31853, Local memory used for .inl_particle_38237,.inl_.inl_mcneutron_0_38252,.inl_.X3174_38254,.inl_.inl_.X3383_15_38253 31857, Generating implicit private(_particle,seed) 31867, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31872, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31867, Local memory used for .inl_.inl_c_1927_38405,.inl_.inl_.inl_b_1901_1933_38410,.inl_.inl_.inl_.X3348_1900_1932_38409,.inl_.inl_b_1923_38404,.inl_.inl_c_1916_38394,.inl_.inl_.inl_b_1901_1922_38399,.inl_.inl_.inl_.X3348_1900_1921_38398,.inl_.inl_b_1912_38393,.inl_.inl_.X3332_1911_38388,.inl_.inl_c_1908_38387,.inl_c_38418,.inl_.inl_b_1907_38385,.inl_.inl_.X3348_1906_38384,.inl_b_38377,.inl_.X3331_38376,.inl_.X3332_38371,.inl_c_38379,.inl_.X3330_38367,.inl_a_38363,.inl_.inl_c_1927_38353,.inl_.inl_.inl_b_1901_1933_38358,.inl_.inl_.inl_.X3348_1900_1932_38357,.inl_.inl_b_1923_38352,.inl_.inl_c_1916_38342,.inl_.inl_.inl_b_1901_1922_38347,.inl_.inl_.inl_.X3348_1900_1921_38346,.inl_.inl_b_1912_38341,.inl_.inl_.X3332_1911_38336,.inl_.inl_c_1908_38335,.inl_c_38368,.inl_.inl_b_1907_38333,.inl_.inl_.X3348_1906_38332,.inl_b_38325,.inl_.X3331_38324,.inl_.X3332_38319,.inl_c_38327,.inl_.X3330_38315,.inl_a_38311,.inl_.inl_c_1927_38301,.inl_.inl_.inl_b_1901_1933_38306,.inl_.inl_.inl_.X3348_1900_1932_38305,.inl_.inl_b_1923_38300,.inl_.inl_c_1916_38290,.inl_.inl_.inl_b_1901_1922_38295,.inl_.inl_.inl_.X3348_1900_1921_38294,.inl_.inl_b_1912_38289,.inl_.inl_.X3332_1911_38284,.inl_.inl_c_1908_38283,.inl_c_38316,.inl_.inl_b_1907_38281,.inl_.inl_.X3348_1906_38280,.inl_b_38273,.inl_.X3331_38272,.inl_.X3332_38267,.inl_c_38275,.inl_.X3330_38263,.inl_a_38259,_particle_save,.inl_c_38429,.inl_.inl_c_1916_38444,.inl_.inl_.inl_b_1901_1922_38449,.inl_.inl_.inl_.X3348_1900_1921_38448,.inl_.inl_b_1912_38443,.inl_.inl_c_1908_38437,.inl_.inl_.inl_.X3348_1900_1932_38459,.inl_.inl_.X3348_1906_38434,.inl_.inl_b_1907_38435,.inl_.X3332_38421,.inl_.inl_b_1923_38454,.inl_c_38264,.inl_.inl_.inl_b_1901_1933_38460,.inl_.inl_.X3332_1911_38438,.inl_a_38413,.inl_.X3330_38417,.inl_.X3331_38426,.inl_b_38427,.inl_.inl_c_1927_38455 31990, Generating present(particles[:livebatchsize]) Generating implicit firstprivate(livebatchsize) Generating NVIDIA GPU code 31993, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 31990, Local memory used for .inl_.inl_c_1927_38729,.inl_.inl_.inl_b_1901_1933_38734,.inl_.inl_.inl_.X3348_1900_1932_38733,.inl_.inl_b_1923_38728,.inl_.inl_c_1916_38718,.inl_.inl_.inl_b_1901_1922_38723,.inl_.inl_.inl_.X3348_1900_1921_38722,.inl_.inl_b_1912_38717,.inl_.inl_.X3332_1911_38712,.inl_.inl_c_1908_38711,.inl_c_38742,.inl_.inl_b_1907_38709,.inl_.inl_.X3348_1906_38708,.inl_b_38701,.inl_.X3331_38700,.inl_.X3332_38695,.inl_c_38703,.inl_.X3330_38691,.inl_a_38687,.inl_.inl_c_1927_38679,.inl_.inl_.inl_b_1901_1933_38684,.inl_.inl_.inl_.X3348_1900_1932_38683,.inl_.inl_b_1923_38678,.inl_.inl_c_1916_38668,.inl_.inl_.inl_b_1901_1922_38673,.inl_.inl_.inl_.X3348_1900_1921_38672,.inl_.inl_b_1912_38667,.inl_.inl_.X3332_1911_38662,.inl_.inl_c_1908_38661,.inl_c_38692,.inl_.inl_b_1907_38659,.inl_.inl_.X3348_1906_38658,.inl_b_38651,.inl_.X3331_38650,.inl_.X3332_38645,.inl_c_38653,.inl_.X3330_38641,.inl_a_38637,.inl_.inl_c_1927_38605,.inl_.inl_.inl_b_1901_1933_38610,.inl_.inl_.inl_.X3348_1900_1932_38609,.inl_.inl_b_1923_38604,.inl_.inl_c_1916_38594,.inl_.inl_.inl_b_1901_1922_38599,.inl_.inl_.inl_.X3348_1900_1921_38598,.inl_.inl_b_1912_38593,.inl_.inl_.X3332_1911_38588,.inl_.inl_c_1908_38587,.inl_c_38642,.inl_.inl_b_1907_38585,.inl_.inl_.X3348_1906_38584,.inl_b_38577,.inl_.X3331_38576,.inl_.X3332_38571,.inl_c_38579,.inl_.X3330_38567,.inl_a_38563,.inl_.inl_c_1927_38555,.inl_.inl_.inl_b_1901_1933_38560,.inl_.inl_.inl_.X3348_1900_1932_38559,.inl_.inl_b_1923_38554,.inl_.inl_c_1916_38544,.inl_.inl_.inl_b_1901_1922_38549,.inl_.inl_.inl_.X3348_1900_1921_38548,.inl_.inl_b_1912_38543,.inl_.inl_.X3332_1911_38538,.inl_.inl_c_1908_38537,.inl_c_38568,.inl_.inl_b_1907_38535,.inl_.inl_.X3348_1906_38534,.inl_b_38527,.inl_.X3331_38526,.inl_.X3332_38521,.inl_c_38529,.inl_.X3330_38517,.inl_a_38513,_particle_save,.inl_c_38753,.inl_.inl_c_1916_38768,.inl_.inl_.inl_b_1901_1922_38773,.inl_.inl_.inl_.X3348_1900_1921_38772,.inl_.inl_b_1912_38767,.inl_.inl_c_1908_38761,.inl_.inl_.inl_.X3348_1900_1932_38783,.inl_.inl_.X3348_1906_38758,.inl_.inl_b_1907_38759,.inl_.X3332_38745,.inl_.inl_b_1923_38778,.inl_c_38518,.inl_.inl_.inl_b_1901_1933_38784,.inl_.inl_.X3332_1911_38762,.inl_a_38737,.inl_.X3330_38741,.inl_.X3331_38750,.inl_b_38751,.inl_.inl_c_1927_38779 finally: 33398, Generating update self(_det_var,_PSDlin_transmission_transmitted_var,_Banana_monitor_var,_stop_var,_Incoherent_process_var,_slit_var,_sample_var,_Union_logger_2DQ_incoherent_var,_Single_crystal_test_process_var,_Union_logger_2DQ_crystal_var,_test_sample_var,_test_material_var,_instrument_var,_cylinder_sample_union_var,_Origin_var,_PSDlin_transmission_scattered_var,_source_var,_init_var) mcenabletrace: 5988, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: /tmp/nvcIEdSfMkdh7Cd9.o: in function `cif2hkl': /u/data/pkwi/TESTS/2025-05-14/McStas_8GPU_openacc_1e7_Linux_1e7/Single_crystal_validation/./Single_crystal_validation.c:20579: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===