INFO: No output directory specified (--dir) INFO: Using directory: "Single_crystal_validation_20251212_144840" INFO: Regenerating c-file: Single_crystal_validation.c WARNING: Full-path code-generator "/u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS" not found!! WARNING: Attempting replacement by "mcstas-antlr -I$MCSTAS" DEBUG: CMD: mcstas-antlr -I$MCSTAS -t -o ./Single_crystal_validation.c Single_crystal_validation.instr 2025-12-12 14:49:33.454 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Single_crystal_process(0):read_table-lib :Single_crystal_process(1):interoff-lib :Single_crystal(0):read_table-lib :Single_crystal(1):interoff-lib :Single_crystal(2):opencl-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2025-12-12 14:49:33.454 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib monitor_nd-lib 2025-12-12 14:49:33.454 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib opencl-lib 2025-12-12 14:49:33.454 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib opencl-lib monitor_nd-lib line 7988:6 no viable alternative at input 'print_1d_int_list(Volumes[volume_index]->geometry.mask_intersect_list,string_output)\n )' 2025-12-12 14:49:43.968 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 7988,6 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) sprintf(string_output,"Intersect check list for Volume %d",volume_index); 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) print_1d_int_list(Volumes[volume_index]->geometry.intersect_check_list,string_output); 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) sprintf(string_output,"Mask intersect check list for Volume %d",volume_index); 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) print_1d_int_list(Volumes[volume_index]->geometry.mask_intersect_list,string_output) 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2025-12-12 14:49:43.970 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~^ no viable alternative at input 'print_1d_int_list(Volumes[volume_index]->geometry.mask_intersect_list,string_output)\n )' 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } 2025-12-12 14:49:43.970 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - }; line 7988:6 mismatched input ')' expecting '}' 2025-12-12 14:49:43.985 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 7988,6 2025-12-12 14:49:43.986 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) sprintf(string_output,"Intersect check list for Volume %d",volume_index); 2025-12-12 14:49:43.986 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) print_1d_int_list(Volumes[volume_index]->geometry.intersect_check_list,string_output); 2025-12-12 14:49:43.986 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) sprintf(string_output,"Mask intersect check list for Volume %d",volume_index); 2025-12-12 14:49:43.986 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) print_1d_int_list(Volumes[volume_index]->geometry.mask_intersect_list,string_output) 2025-12-12 14:49:43.986 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2025-12-12 14:49:43.987 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~~~^ mismatched input ')' expecting '}' 2025-12-12 14:49:43.987 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } 2025-12-12 14:49:43.987 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - }; line 7990:0 mismatched input '}' expecting 2025-12-12 14:49:43.987 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 7990,0 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) sprintf(string_output,"Mask intersect check list for Volume %d",volume_index); 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (verbal) print_1d_int_list(Volumes[volume_index]->geometry.mask_intersect_list,string_output) 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - }; 2025-12-12 14:49:43.988 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ^ mismatched input '}' expecting 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - 2025-12-12 14:49:43.988 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - void generate_parents_lists(struct pointer_to_1d_int_list **parents_lists, struct Volume_struct **Volumes, int number_of_volumes, int verbal, int mask_mode) { 2025-12-12 14:49:48.344 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:341 - Could not convert an integer from ('MCSX_REFL_SLIST_SIZE',) due to invalid literal for int() with base 10: 'MCSX_REFL_SLIST_SIZE' No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component init -> GPU kernel from component Single_crystal_test_process -> GPU kernel from component Incoherent_process -> GPU kernel from component test_material -> GPU kernel from component Origin -> GPU kernel from component source -> GPU kernel from component slit -> GPU kernel from component cylinder_sample_union -> GPU kernel from component Union_logger_2DQ_crystal -> GPU kernel from component Union_logger_2DQ_incoherent Component test_sample is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component det -> GPU kernel from component Banana_monitor -> GPU kernel from component PSDlin_transmission_scattered -> GPU kernel from component PSDlin_transmission_transmitted -> GPU kernel from component stop ----------------------------------------------------------- CFLAGS= -DFUNNEL DEBUG: CMD: mcstas-antlr -I$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 -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 "./Single_crystal_validation.c", line 94: 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 96: 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, double t, double sx, double sy, double sz, double p, int mcgravitation, void * mcMagnet, int allow_backprop); ^ "./Single_crystal_validation.c", line 98: 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 mcparticle, double * x, double * y, double * z, double * vx, double * vy, double * vz, double * t, double * sx, double * sy, double * sz, double * p); ^ "./Single_crystal_validation.c", line 112: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./Single_crystal_validation.c", line 116: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Single_crystal_validation.c", line 145: 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 116: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Single_crystal_validation.c", line 178: 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 204: 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 217: 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 234: 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 245: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./Single_crystal_validation.c", line 313: 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 315: 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 666: 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 887: 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 904: 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 906: 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 914: 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 916: 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 918: 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 920: 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 922: 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 1018: 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 1020: 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 1022: 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 1024: 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 1026: 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 1028: 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 1030: 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 1032: 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 1034: 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 4645: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Single_crystal_validation.c", line 5100: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Single_crystal_validation.c", line 5019: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Single_crystal_validation.c", line 6346: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Single_crystal_validation.c", line 7067: 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 7069: 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 7076: 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 7096: 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 7098: 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 7100: 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 7225: 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 7248: 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 7269: 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 7562: 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 9383: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Single_crystal_validation.c", line 9939: 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 9966: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Single_crystal_validation.c", line 10491: 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 10492: 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 10493: 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 10715: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Single_crystal_validation.c", line 10777: warning: variable "rotated_nx" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Single_crystal_validation.c", line 10777: warning: variable "rotated_ny" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Single_crystal_validation.c", line 10777: warning: variable "rotated_nz" was declared but never referenced [declared_but_not_referenced] double rotated_nx, rotated_ny, rotated_nz; ^ "./Single_crystal_validation.c", line 10998: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Single_crystal_validation.c", line 11303: 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 11304: 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 11549: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Single_crystal_validation.c", line 11340: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Single_crystal_validation.c", line 11342: 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 11343: 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 11344: 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 11368: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Single_crystal_validation.c", line 11377: 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 11377: 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 11379: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Single_crystal_validation.c", line 11421: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Single_crystal_validation.c", line 11590: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i; ^ "./Single_crystal_validation.c", line 11620: warning: variable "output" was set but never used [set_but_not_used] int output = 0; ^ "./Single_crystal_validation.c", line 11639: 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 11639: 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 11640: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Single_crystal_validation.c", line 11641: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Single_crystal_validation.c", line 11878: warning: variable "rotated_coordinates" was declared but never referenced [declared_but_not_referenced] Coords rotated_coordinates; ^ "./Single_crystal_validation.c", line 12044: warning: variable "y" was set but never used [set_but_not_used] double x, y, z, dt; ^ "./Single_crystal_validation.c", line 12099: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 12176: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 12388: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 12486: 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 12677: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 12875: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Single_crystal_validation.c", line 12876: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Single_crystal_validation.c", line 13461: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Single_crystal_validation.c", line 13462: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Single_crystal_validation.c", line 13721: 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 13726: 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 13727: 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 13728: 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 13735: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Single_crystal_validation.c", line 13736: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Single_crystal_validation.c", line 13859: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Single_crystal_validation.c", line 14153: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Single_crystal_validation.c", line 14219: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Single_crystal_validation.c", line 14406: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Single_crystal_validation.c", line 14409: 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 14566: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Single_crystal_validation.c", line 14569: 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 15567: 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 15470: 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 15789: 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 15999: 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 16160: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Single_crystal_validation.c", line 16564: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Single_crystal_validation.c", line 17853: 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 17865: 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 17865: 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 17865: 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 17866: 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 17866: 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 17866: 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 17868: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double adjust, r, sum; /* Temporaries */ ^ "./Single_crystal_validation.c", line 17871: 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 17871: 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 17871: 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 18640: 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 19196: 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 19209: warning: variable "jglobal" was declared but never referenced [declared_but_not_referenced] int jglobal=-1; ^ "./Single_crystal_validation.c", line 19210: warning: variable "coherent_refl" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Single_crystal_validation.c", line 19210: warning: variable "coherent_xsect" was set but never used [set_but_not_used] double coherent_refl,coherent_xsect; ^ "./Single_crystal_validation.c", line 19311: 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 19326: 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 19334: 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 19342: 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 19350: 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 19361: 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 19533: warning: variable "choice" was declared but never referenced [declared_but_not_referenced] enum surface choice = surface->eSurface; ^ "./Single_crystal_validation.c", line 21829: 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 21834: 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 21843: 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 21869: 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 21872: 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 21872: 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 21872: 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 21872: 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 21872: 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 21872: 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 21932: 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 22062: 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 22106: 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 22227: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Single_crystal_validation.c", line 22339: 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 22351: 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 22386: 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 22642: 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 22648: 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 25619: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Single_crystal_validation.c", line 25619: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Single_crystal_validation.c", line 25646: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Single_crystal_validation.c", line 25646: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Single_crystal_validation.c", line 25736: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 25817: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 25894: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 25949: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 26001: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 26058: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 26928: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Single_crystal_validation.c", line 27066: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 27066: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 27066: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 27067: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Single_crystal_validation.c", line 29264: warning: variable "as" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 29264: warning: variable "bs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 29264: warning: variable "cs" was declared but never referenced [declared_but_not_referenced] double as, bs, cs; ^ "./Single_crystal_validation.c", line 29265: warning: variable "i" was declared but never referenced [declared_but_not_referenced] int i=0; ^ "./Single_crystal_validation.c", line 29794: warning: incompatible redefinition of macro "exit" (declared at line 645) [bad_macro_redef] #define exit(...) noprintf() ^ "./Single_crystal_validation.c", line 29807: 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] _class_Single_crystal_process *class_Single_crystal_process_trace(_class_Single_crystal_process *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 29901: 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] _class_Progress_bar *class_Progress_bar_trace(_class_Progress_bar *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 29991: 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] _class_Source_simple *class_Source_simple_trace(_class_Source_simple *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 30094: warning: Routine "class_Slit_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Slit *class_Slit_trace(_class_Slit *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 30140: warning: Routine "class_Union_master_trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_Union_master *class_Union_master_trace(_class_Union_master *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 30810: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Single_crystal_validation.c", line 31670: warning: variable "q_qc_quadratic_diff" was declared but never referenced [declared_but_not_referenced] double q_qc_quadratic_diff; ^ "./Single_crystal_validation.c", line 31703: warning: variable "theta2" was set but never used [set_but_not_used] double theta1, theta2; ^ "./Single_crystal_validation.c", line 30313: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Single_crystal_validation.c", line 32230: 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] _class_Single_crystal *class_Single_crystal_trace(_class_Single_crystal *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 32288: 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 32288: 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 32288: 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 32289: warning: variable "rho" was declared but never referenced [declared_but_not_referenced] double rho; ^ "./Single_crystal_validation.c", line 32290: warning: variable "diff" was declared but never referenced [declared_but_not_referenced] double diff; /* Deviation from Bragg condition */ ^ "./Single_crystal_validation.c", line 32291: 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 32291: 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 32291: 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 32292: 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 32292: 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 32292: 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 32293: 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 32293: 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 32293: 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 32294: 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 32294: 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 32294: 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 32295: warning: variable "det_N" was declared but never referenced [declared_but_not_referenced] double det_N; /* Determinant of N */ ^ "./Single_crystal_validation.c", line 32296: 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 32296: 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 32296: 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 32297: 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 32297: 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 32297: 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 32298: warning: variable "det_L" was declared but never referenced [declared_but_not_referenced] double det_L; /* Determinant of L */ ^ "./Single_crystal_validation.c", line 32299: 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 32299: 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 32300: 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 32300: 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 32301: 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 32308: 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 32315: 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 32315: 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 32324: 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 32789: 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] _class_PSD_monitor_4PI *class_PSD_monitor_4PI_trace(_class_PSD_monitor_4PI *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 32867: 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] _class_Monitor_nD *class_Monitor_nD_trace(_class_Monitor_nD *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 33157: 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] _class_PSDlin_monitor *class_PSDlin_monitor_trace(_class_PSDlin_monitor *_comp, _class_particle *_particle) { ^ "./Single_crystal_validation.c", line 36239: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Single_crystal_validation.c", line 36240: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Single_crystal_validation.c", line 1522: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Single_crystal_validation.c", line 2991: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 119, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 152, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 180, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 206, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 218, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 234, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 245, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1570, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1574, Generating acc routine seq Generating NVIDIA GPU code str_len: 1583, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4263, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4697, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4708, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4717, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4729, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4741, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4751, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4761, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4769, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4779, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4801, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4808, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4854, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4889, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4900, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4917, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4928, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4944, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4973, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4984, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4988, Generating acc routine seq Generating NVIDIA GPU code sort_absorb_last: 5023, Generating present(particles[:buffer_len],pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5030, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5039, #pragma acc loop seq 5023, Generating implicit copy(lens[:]) [if not already present] 5030, Generating implicit firstprivate(ll,l) 5041, Accelerator restriction: induction variable live-out from loop: i 5042, Accelerator restriction: induction variable live-out from loop: i 5043, Accelerator restriction: induction variable live-out from loop: i 5044, Accelerator restriction: induction variable live-out from loop: i 5046, Accelerator restriction: induction variable live-out from loop: j 5047, Accelerator restriction: induction variable live-out from loop: j 5048, Accelerator restriction: induction variable live-out from loop: j 5049, Accelerator restriction: induction variable live-out from loop: j 5071, Generating present(pbuffer[:buffer_len]) Generating implicit firstprivate(tidx) Generating NVIDIA GPU code 5075, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5078, #pragma acc loop seq 5071, Generating implicit copyin(lens[:]) [if not already present] Generating implicit copy(particles[:]) [if not already present] Generating implicit copyin(los[:]) [if not already present] 5078, Generating implicit firstprivate(l) 5095, Generating present(particles[:buffer_len]) Generating implicit firstprivate(accumlen,tidx,mult) Generating NVIDIA GPU code 5099, #pragma acc loop gang, vector(128) /* blockIdx.x threadIdx.x */ 5106, #pragma acc loop seq 5095, Local memory used for targetbuffer,sourcebuffer mccoordschange: 5165, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5196, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5213, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5312, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5396, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5462, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5539, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5811, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5823, Generating acc routine seq Generating NVIDIA GPU code _hash: 5855, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5896, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5907, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5912, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5920, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5928, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5935, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6613, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6653, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6713, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6730, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6845, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6900, Generating acc routine seq Generating NVIDIA GPU code distance_between: 8352, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code length_of_3vector: 8360, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code length_of_position_vector: 8364, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 8375, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code on_int_list: 8390, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code print_1d_int_list: 8729, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 9227, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 9307, Generating implicit acc routine seq Generating implicit acc routine seq Generating NVIDIA GPU code NVC++-S-1058-Call to variadic function not supported - fprintf (./Single_crystal_validation.c: 9334) NVC++/x86-64 Linux 25.9-0: compilation completed with severe errors INFO: call to nvc failed with Command '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 -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' returned non-zero exit status 2. ERROR: Compilation failed for ./Single_crystal_validation.c using compiler nvc