INFO: No output directory specified (--dir) INFO: Using directory: "Demonstration_20250514_121018" INFO: Regenerating c-file: Demonstration.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 ./Demonstration.c Demonstration.instr 2025-05-14 12:10:29.003 | INFO | mccode_antlr.instr.instance:set_parameter:123 - Multiple definitions of packing_factor in component instance Ag_incoherent 2025-05-14 12:10:29.004 | INFO | mccode_antlr.instr.instance:set_parameter:125 - first-encountered value 1 retained 2025-05-14 12:10:29.004 | INFO | mccode_antlr.instr.instance:set_parameter:126 - newly-encountered value 0.5 dropped 2025-05-14 12:10:29.004 | INFO | mccode_antlr.instr.instance:set_parameter:123 - Multiple definitions of packing_factor in component instance Au_incoherent 2025-05-14 12:10:29.004 | INFO | mccode_antlr.instr.instance:set_parameter:125 - first-encountered value 1 retained 2025-05-14 12:10:29.004 | INFO | mccode_antlr.instr.instance:set_parameter:126 - newly-encountered value 0.5 dropped 2025-05-14 12:10:57.919 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Powder_process(0):read_table-lib :Powder_process(1):interoff-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib 2025-05-14 12:10:57.919 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib monitor_nd-lib 2025-05-14 12:10:57.919 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to monitor_nd-lib read_table-lib interoff-lib The instrument has 2 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component init -> GPU kernel from component Vanadium_incoherent -> GPU kernel from component Vanadium -> GPU kernel from component Al_incoherent -> GPU kernel from component Al_powder -> GPU kernel from component Al -> GPU kernel from component Cu_incoherent -> GPU kernel from component Cu_powder -> GPU kernel from component Cu -> GPU kernel from component Ag_incoherent -> GPU kernel from component Ag_powder -> GPU kernel from component Au_incoherent -> GPU kernel from component Au_powder -> GPU kernel from component Au_Ag_mix -> GPU kernel from component Cd_incoherent -> GPU kernel from component Cd_powder -> GPU kernel from component Cd -> GPU kernel from component Cs_incoherent -> GPU kernel from component Cs_powder -> GPU kernel from component Cs -> GPU kernel from component a1 -> GPU kernel from component source -> GPU kernel from component beam_center -> GPU kernel from component drum_center -> GPU kernel from component cryostat_mountin_plate -> GPU kernel from component cryostat_drum_walls -> GPU kernel from component cryostat_drum_vacuum -> GPU kernel from component outer_cryostat_wall -> GPU kernel from component outer_cryostat_vacuum -> GPU kernel from component inner_cryostat_wall -> GPU kernel from component inner_cryostat_vacuum -> GPU kernel from component sample_stick_walls -> GPU kernel from component sample_stick_vacuum -> GPU kernel from component sample_rod_bottom -> GPU kernel from component sample_rod -> GPU kernel from component sample_rod_collar_1 -> GPU kernel from component sample_rod_collar_2 -> GPU kernel from component sample_rod_collar_3 -> GPU kernel from component sample_rod_collar_4 -> GPU kernel from component sample_rod_collar_1_vacuum -> GPU kernel from component sample_rod_collar_2_vacuum -> GPU kernel from component sample_rod_collar_3_vacuum -> GPU kernel from component sample_rod_collar_4_vacuum -> GPU kernel from component sample_holder1 -> GPU kernel from component sample_holder2 -> GPU kernel from component sample_holder3 -> GPU kernel from component sample_holder4 -> GPU kernel from component sample_holder5 -> GPU kernel from component sample_holder_bottom -> GPU kernel from component sample_holder_top_shelf -> GPU kernel from component sample_holder_middle_shelf -> GPU kernel from component sample_1 -> GPU kernel from component sample_1_container -> GPU kernel from component sample_1_container_rim -> GPU kernel from component sample_2 -> GPU kernel from component sample_2_container -> GPU kernel from component sample_2_container_rim -> GPU kernel from component sample_3 -> GPU kernel from component sample_3_container -> GPU kernel from component sample_3_container_rim -> GPU kernel from component sample_4 -> GPU kernel from component sample_4_container -> GPU kernel from component sample_4_container_rim Component test_sample is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component m4pi -> GPU kernel from component Banana_monitor -> GPU kernel from component detector -> GPU kernel from component screen -> GPU kernel from component arm_1 -> GPU kernel from component m4pi_two_or_more_samples -> GPU kernel from component stop ----------------------------------------------------------- CFLAGS= -DFUNNEL DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Demonstration.out DEBUG: CMD: nvc -o ./Demonstration.out ./Demonstration.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 "./Demonstration.c", line 97: warning: Routine "mcgenstate" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] _class_particle mcgenstate(void); ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Demonstration.c", line 99: 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); ^ "./Demonstration.c", line 101: 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); ^ "./Demonstration.c", line 115: warning: Routine "particle_getvar" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getvar(_class_particle *p, char *name, int *suc); ^ "./Demonstration.c", line 119: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Demonstration.c", line 151: warning: Routine "particle_getvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void* particle_getvar_void(_class_particle *p, char *name, int *suc); ^ "./Demonstration.c", line 119: warning: Routine "str_comp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int str_comp(char *str1, char *str2); ^ "./Demonstration.c", line 187: warning: Routine "particle_setvar_void" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void(_class_particle *, char *, void*); ^ "./Demonstration.c", line 216: warning: Routine "particle_setvar_void_array" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int particle_setvar_void_array(_class_particle *, char *, void*, int); ^ "./Demonstration.c", line 229: warning: Routine "particle_restore" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_restore(_class_particle *p, _class_particle *p0); ^ "./Demonstration.c", line 246: warning: Routine "particle_getuservar_byid" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double particle_getuservar_byid(_class_particle *p, int id, int *suc){ ^ "./Demonstration.c", line 260: warning: Routine "particle_uservar_init" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] void particle_uservar_init(_class_particle *p){ ^ "./Demonstration.c", line 336: warning: Routine "noprintf" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int noprintf(); ^ "./Demonstration.c", line 338: warning: Routine "str_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] size_t str_len(const char *s); ^ "./Demonstration.c", line 688: warning: Routine "mcget_ncount" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] unsigned long long int mcget_ncount(void); /* wrapper to set mcncount */ ^ "./Demonstration.c", line 909: warning: Routine "_randnorm2" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randnorm2(randstate_t* state); ^ "./Demonstration.c", line 926: warning: Routine "kiss_srandom" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t *kiss_srandom(uint64_t state[7], uint64_t seed); ^ "./Demonstration.c", line 928: warning: Routine "kiss_random" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] uint64_t kiss_random(uint64_t state[7]); ^ "./Demonstration.c", line 936: warning: Routine "_rand01" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand01(randstate_t* state); ^ "./Demonstration.c", line 938: warning: Routine "_randpm1" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randpm1(randstate_t* state); ^ "./Demonstration.c", line 940: warning: Routine "_rand0max" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _rand0max(double max, randstate_t* state); ^ "./Demonstration.c", line 942: warning: Routine "_randminmax" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randminmax(double min, double max, randstate_t* state); ^ "./Demonstration.c", line 944: warning: Routine "_randtriangle" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double _randtriangle(randstate_t* state); ^ "./Demonstration.c", line 1040: warning: Routine "coords_set" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_set(MCNUM x, MCNUM y, MCNUM z); ^ "./Demonstration.c", line 1042: warning: Routine "coords_get" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_get(Coords a, MCNUM *x, MCNUM *y, MCNUM *z); ^ "./Demonstration.c", line 1044: warning: Routine "coords_add" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_add(Coords a, Coords b); ^ "./Demonstration.c", line 1046: warning: Routine "coords_sub" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_sub(Coords a, Coords b); ^ "./Demonstration.c", line 1048: warning: Routine "coords_neg" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_neg(Coords a); ^ "./Demonstration.c", line 1050: warning: Routine "coords_scale" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_scale(Coords b, double scale); ^ "./Demonstration.c", line 1052: warning: Routine "coords_sp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_sp(Coords a, Coords b); ^ "./Demonstration.c", line 1054: warning: Routine "coords_xp" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] Coords coords_xp(Coords b, Coords c); ^ "./Demonstration.c", line 1056: warning: Routine "coords_len" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double coords_len(Coords a); ^ "./Demonstration.c", line 4608: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./Demonstration.c", line 5063: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./Demonstration.c", line 4982: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./Demonstration.c", line 6309: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./Demonstration.c", line 7027: warning: Routine "Table_Index" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Index(t_Table Table, long i, long j); /* get indexed value */ ^ "./Demonstration.c", line 7029: warning: Routine "Table_Value" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value(t_Table Table, double X, long j); /* search X in 1st column and return interpolated value in j-column */ ^ "./Demonstration.c", line 7036: warning: Routine "Table_Value2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Value2d(t_Table Table, double X, double Y); /* same as Table_Index with non-integer indices and 2d interpolation */ ^ "./Demonstration.c", line 7056: warning: Routine "Table_Interp1d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d(double x, double x1, double y1, double x2, double y2); ^ "./Demonstration.c", line 7058: warning: Routine "Table_Interp1d_nearest" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp1d_nearest(double x, double x1, double y1, double x2, double y2); ^ "./Demonstration.c", line 7060: warning: Routine "Table_Interp2d" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] double Table_Interp2d(double x, double y, double x1, double y1, double x2, double y2, ^ "./Demonstration.c", line 7185: warning: Routine "off_intersect_all" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect_all(double* t0, double* t3, ^ "./Demonstration.c", line 7208: warning: Routine "off_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_intersect(double* t0, double* t3, ^ "./Demonstration.c", line 7229: warning: Routine "off_x_intersect" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int off_x_intersect(double *l0,double *l3, ^ "./Demonstration.c", line 7465: warning: Routine "Monitor_nD_Trace" will be treated as sequential because its "routine" directive doesn't specify a level of parallelism [no_routine_type] int Monitor_nD_Trace(MonitornD_Defines_type *, MonitornD_Variables_type *, _class_particle* _particle); ^ "./Demonstration.c", line 8890: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Demonstration.c", line 9414: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Demonstration.c", line 9437: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Demonstration.c", line 9925: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Demonstration.c", line 9926: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Demonstration.c", line 9927: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Demonstration.c", line 10087: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Demonstration.c", line 10307: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Demonstration.c", line 10466: warning: variable "radius_top" was declared but never referenced [declared_but_not_referenced] double radius_top = geometry->geometry_parameters.p_cone_storage->cone_radius_top; ^ "./Demonstration.c", line 10467: warning: variable "radius_bottom" was declared but never referenced [declared_but_not_referenced] double radius_bottom = geometry->geometry_parameters.p_cone_storage->cone_radius_bottom; ^ "./Demonstration.c", line 10742: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Demonstration.c", line 10501: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Demonstration.c", line 10503: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Demonstration.c", line 10504: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Demonstration.c", line 10505: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Demonstration.c", line 10529: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Demonstration.c", line 10538: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Demonstration.c", line 10538: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Demonstration.c", line 10540: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Demonstration.c", line 10589: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Demonstration.c", line 10756: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Demonstration.c", line 10757: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Demonstration.c", line 10758: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Demonstration.c", line 10787: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Demonstration.c", line 10845: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Demonstration.c", line 10861: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Demonstration.c", line 10861: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Demonstration.c", line 10862: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Demonstration.c", line 10863: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Demonstration.c", line 11300: 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); ^ "./Demonstration.c", line 11289: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 11366: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 11573: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 11671: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Demonstration.c", line 11857: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 12050: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Demonstration.c", line 12051: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Demonstration.c", line 12585: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Demonstration.c", line 12586: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Demonstration.c", line 12985: 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); ^ "./Demonstration.c", line 12845: warning: variable "is_rectangle" was declared but never referenced [declared_but_not_referenced] int is_rectangle = geometry_box->geometry_parameters.p_box_storage->is_rectangle; ^ "./Demonstration.c", line 12850: warning: variable "y_height2" was declared but never referenced [declared_but_not_referenced] double y_height2 = geometry_box->geometry_parameters.p_box_storage->y_height2; ^ "./Demonstration.c", line 12851: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry_box->geometry_parameters.p_box_storage->x_vector; ^ "./Demonstration.c", line 12852: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry_box->geometry_parameters.p_box_storage->y_vector; ^ "./Demonstration.c", line 12859: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Demonstration.c", line 12860: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Demonstration.c", line 12983: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Demonstration.c", line 13249: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Demonstration.c", line 13315: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Demonstration.c", line 13501: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Demonstration.c", line 13504: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Demonstration.c", line 13661: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Demonstration.c", line 13664: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Demonstration.c", line 14583: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Demonstration.c", line 14492: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Demonstration.c", line 14795: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,parent,mask_index,masked_volume_index,ANY_logic,true_parent_volume_number; ^ "./Demonstration.c", line 14985: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Demonstration.c", line 15134: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Demonstration.c", line 15538: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Demonstration.c", line 16517: warning: variable "count" is used before its value is set [used_before_set] for(line0=0; line0