INFO: No output directory specified (--dir) INFO: Using directory: "ILL_SALSA_20250514_081649" INFO: Regenerating c-file: ILL_SALSA.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 ./ILL_SALSA.c ILL_SALSA.instr 2025-05-14 08:17:37.284 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Guide_gravity(0):ref-lib :Guide_gravity(1):read_table-lib :ref-lib(0):read_table-lib :Powder_process(0):read_table-lib :Powder_process(1):interoff-lib 2025-05-14 08:17:37.285 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib interoff-lib ref-lib The instrument has 13 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Thermal -> GPU kernel from component PinkCarter -> GPU kernel from component PinkCarterSM -> GPU kernel from component LeadShutter -> GPU kernel from component H22_3 -> GPU kernel from component H22_3_In -> GPU kernel from component H22_3_1 -> GPU kernel from component H22_3_2 -> GPU kernel from component H22_3_3 -> GPU kernel from component H22_3_4 -> GPU kernel from component H22_3_5 -> GPU kernel from component H22_3_6 -> GPU kernel from component H22_3_7 -> GPU kernel from component H22_3_Out -> GPU kernel from component H22_4 -> GPU kernel from component H22_4_In -> GPU kernel from component H22_4_1 -> GPU kernel from component H22_4_2 -> GPU kernel from component H22_4_3 -> GPU kernel from component H22_4_4 -> GPU kernel from component H22_4_5 -> GPU kernel from component H22_4_6 -> GPU kernel from component H22_4_7 -> GPU kernel from component H22_4_8 -> GPU kernel from component H22_4_9 -> GPU kernel from component H22_4_10 -> GPU kernel from component H22_4_11 -> GPU kernel from component H22_4_12 -> GPU kernel from component H22_4_13 -> GPU kernel from component H22_4_14 -> GPU kernel from component H22_4_15 -> GPU kernel from component H22_4_Out -> GPU kernel from component H22_5 -> GPU kernel from component H22_5_In -> GPU kernel from component H22_5_1 -> GPU kernel from component H22_5_2 -> GPU kernel from component H22_5_3 -> GPU kernel from component H22_5_4 -> GPU kernel from component H22_5_5 -> GPU kernel from component H22_5_Out -> GPU kernel from component H22_6 -> GPU kernel from component H22_6_In -> GPU kernel from component H22_6_1 -> GPU kernel from component H22_6_1_44 -> GPU kernel from component H22_6_1_45 -> GPU kernel from component H22_6_1_46 -> GPU kernel from component H22_6_1_47 -> GPU kernel from component H22_6_1_48 -> GPU kernel from component H22_6_1_49 -> GPU kernel from component H22_6_1_50 -> GPU kernel from component H22_6_1_51 -> GPU kernel from component H22_6_1_52 -> GPU kernel from component H22_6_1_53 -> GPU kernel from component H22_6_1_54 -> GPU kernel from component H22_6_1_55 -> GPU kernel from component H22_6_1_56 -> GPU kernel from component H22_6_1_57 -> GPU kernel from component H22_6_1_58 -> GPU kernel from component H22_6_1_59 -> GPU kernel from component H22_6_1_60 -> GPU kernel from component H22_6_1_61 -> GPU kernel from component H22_6_1_62 -> GPU kernel from component H22_6_1_63 -> GPU kernel from component H22_6_1_64 -> GPU kernel from component H22_6_1_65 -> GPU kernel from component H22_6_1_66 -> GPU kernel from component H22_6_1_67 -> GPU kernel from component H22_6_1_68 -> GPU kernel from component H22_6_1_69 -> GPU kernel from component H22_6_1_70 -> GPU kernel from component H22_6_1_71 -> GPU kernel from component H22_6_1_72 -> GPU kernel from component H22_6_1_73 -> GPU kernel from component H22_6_1_74 -> GPU kernel from component H22_6_1_75 -> GPU kernel from component H22_6_1_76 -> GPU kernel from component H22_6_1_77 -> GPU kernel from component H22_6_1_78 -> GPU kernel from component H22_6_1_79 -> GPU kernel from component H22_6_1_80 -> GPU kernel from component H22_6_1_81 -> GPU kernel from component H22_6_1_82 -> GPU kernel from component H22_6_1_83 -> GPU kernel from component H22_6_1_84 -> GPU kernel from component H22_6_1_85 -> GPU kernel from component H22_6_1_86 -> GPU kernel from component H22_6_1_87 -> GPU kernel from component H22_6_1_88 -> GPU kernel from component H22_6_1_89 -> GPU kernel from component H22_6_1_90 -> GPU kernel from component H22_6_1_91 -> GPU kernel from component H22_6_1_92 -> GPU kernel from component H22_6_1_93 -> GPU kernel from component H22_6_1_94 -> GPU kernel from component H22_6_1_95 -> GPU kernel from component H22_6_1_96 -> GPU kernel from component H22_6_1_97 -> GPU kernel from component H22_6_1_98 -> GPU kernel from component H22_6_1_99 -> GPU kernel from component H22_6_1_100 -> GPU kernel from component H22_6_1_101 -> GPU kernel from component H22_6_Out -> GPU kernel from component GuideOut -> GPU kernel from component Carter_guide -> GPU kernel from component arm_guide_end -> GPU kernel from component monitor_before_mono -> GPU kernel from component arm_mono -> GPU kernel from component arm_mono_0 -> GPU kernel from component arm_mono_1 -> GPU kernel from component arm_mono_2 -> GPU kernel from component arm_mono_3 -> GPU kernel from component arm_mono_4 -> GPU kernel from component arm_mono_5 -> GPU kernel from component arm_mono_6 -> GPU kernel from component arm_mono_7 -> GPU kernel from component arm_mono_8 -> GPU kernel from component arm_mono_9 -> GPU kernel from component arm_mono_10 -> GPU kernel from component arm_mono_11 -> GPU kernel from component arm_mono_12 -> GPU kernel from component arm_mono_13 -> GPU kernel from component arm_mono_14 -> GPU kernel from component arm_mono_15 -> GPU kernel from component arm_mono_16 -> GPU kernel from component arm_mono_17 -> GPU kernel from component arm_mono_18 -> GPU kernel from component arm_mono_19 -> GPU kernel from component arm_mono_20 -> GPU kernel from component arm_mono_21 -> GPU kernel from component arm_mono_22 -> GPU kernel from component arm_mono_23 -> GPU kernel from component arm_mono_24 -> GPU kernel from component arm_mono_25 -> GPU kernel from component arm_mono_26 -> GPU kernel from component arm_mono_27 -> GPU kernel from component arm_mono_28 -> GPU kernel from component arm_mono_29 -> GPU kernel from component arm_mono_30 -> GPU kernel from component arm_mono_31 -> GPU kernel from component arm_mono_32 -> GPU kernel from component arm_mono_33 -> GPU kernel from component arm_mono_34 -> GPU kernel from component arm_mono_35 -> GPU kernel from component arm_mono_36 -> GPU kernel from component arm_mono_37 -> GPU kernel from component arm_mono_38 Component Monochromator_0 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. Component Monochromator_1 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_1 Component Monochromator_2 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_2 Component Monochromator_3 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_3 Component Monochromator_4 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_4 Component Monochromator_5 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_5 Component Monochromator_6 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_6 Component Monochromator_7 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_7 Component Monochromator_8 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_8 Component Monochromator_9 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_9 Component Monochromator_10 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_10 Component Monochromator_11 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_11 Component Monochromator_12 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_12 Component Monochromator_13 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_13 Component Monochromator_14 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_14 Component Monochromator_15 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_15 Component Monochromator_16 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_16 Component Monochromator_17 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_17 Component Monochromator_18 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_18 Component Monochromator_19 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_19 Component Monochromator_20 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_20 Component Monochromator_21 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_21 Component Monochromator_22 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_22 Component Monochromator_23 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_23 Component Monochromator_24 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_24 Component Monochromator_25 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_25 Component Monochromator_26 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_26 Component Monochromator_27 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_27 Component Monochromator_28 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_28 Component Monochromator_29 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_29 Component Monochromator_30 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_30 Component Monochromator_31 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_31 Component Monochromator_32 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_32 Component Monochromator_33 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_33 Component Monochromator_34 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_34 Component Monochromator_35 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_35 Component Monochromator_36 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_36 Component Monochromator_37 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_37 Component Monochromator_38 is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> CPU section from component Monochromator_38 -> GPU kernel from component Beam_entrance_monitor_psd -> GPU kernel from component Beam_entrance_monitor_div -> GPU kernel from component Beam_entrance_monitor_lambda -> GPU kernel from component arm_collimators -> GPU kernel from component primary_collimator_vertical -> GPU kernel from component middle_div -> GPU kernel from component middle_psd -> GPU kernel from component primary_collimator_horizontal -> GPU kernel from component monitor_after_collimator_div -> GPU kernel from component monitor_after_collimator_psd -> GPU kernel from component arm_sample_position -> GPU kernel from component init -> GPU kernel from component Al_inc -> GPU kernel from component Al_pow -> GPU kernel from component Al -> GPU kernel from component Sample_inc -> GPU kernel from component Sample_pow -> GPU kernel from component Sample -> GPU kernel from component sample_container -> GPU kernel from component sample_container_lid -> GPU kernel from component logger_space_zx -> GPU kernel from component logger_space_zy Component Sample_environment is NOACC, CPUONLY=True ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component arm_collimator_out -> GPU kernel from component secondary_collimator -> GPU kernel from component final_monitor ----------------------------------------------------------- CFLAGS= -DFUNNEL DEBUG: CMD: mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ILL_SALSA.out DEBUG: CMD: nvc -o ./ILL_SALSA.out ./ILL_SALSA.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 "./ILL_SALSA.c", line 93: 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 " "./ILL_SALSA.c", line 95: 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); ^ "./ILL_SALSA.c", line 97: 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); ^ "./ILL_SALSA.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); ^ "./ILL_SALSA.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); ^ "./ILL_SALSA.c", line 143: 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); ^ "./ILL_SALSA.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); ^ "./ILL_SALSA.c", line 175: 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*); ^ "./ILL_SALSA.c", line 200: 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); ^ "./ILL_SALSA.c", line 213: 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); ^ "./ILL_SALSA.c", line 230: 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){ ^ "./ILL_SALSA.c", line 241: 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){ ^ "./ILL_SALSA.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(); ^ "./ILL_SALSA.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); ^ "./ILL_SALSA.c", line 665: 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 */ ^ "./ILL_SALSA.c", line 886: 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); ^ "./ILL_SALSA.c", line 903: 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); ^ "./ILL_SALSA.c", line 905: 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]); ^ "./ILL_SALSA.c", line 913: 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); ^ "./ILL_SALSA.c", line 915: 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); ^ "./ILL_SALSA.c", line 917: 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); ^ "./ILL_SALSA.c", line 919: 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); ^ "./ILL_SALSA.c", line 921: 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); ^ "./ILL_SALSA.c", line 1017: 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); ^ "./ILL_SALSA.c", line 1019: 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); ^ "./ILL_SALSA.c", line 1021: 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); ^ "./ILL_SALSA.c", line 1023: 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); ^ "./ILL_SALSA.c", line 1025: 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); ^ "./ILL_SALSA.c", line 1027: 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); ^ "./ILL_SALSA.c", line 1029: 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); ^ "./ILL_SALSA.c", line 1031: 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); ^ "./ILL_SALSA.c", line 1033: 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); ^ "./ILL_SALSA.c", line 4585: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ "./ILL_SALSA.c", line 5040: warning: variable "randstate" was declared but never referenced [declared_but_not_referenced] randstate_t randstate[7]; ^ "./ILL_SALSA.c", line 4959: warning: variable "newlen" was declared but never referenced [declared_but_not_referenced] long newlen = 0; ^ "./ILL_SALSA.c", line 6286: warning: variable "status" was set but never used [set_but_not_used] int status; ^ "./ILL_SALSA.c", line 7004: 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 */ ^ "./ILL_SALSA.c", line 7006: 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 */ ^ "./ILL_SALSA.c", line 7013: 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 */ ^ "./ILL_SALSA.c", line 7033: 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); ^ "./ILL_SALSA.c", line 7035: 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); ^ "./ILL_SALSA.c", line 7037: 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, ^ "./ILL_SALSA.c", line 7162: 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, ^ "./ILL_SALSA.c", line 7185: 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, ^ "./ILL_SALSA.c", line 7206: 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, ^ "./ILL_SALSA.c", line 7702: warning: missing return statement at end of non-void function "sign" [implicit_return_from_non_void_function] } ^ "./ILL_SALSA.c", line 7820: warning: missing return statement at end of non-void function "stringToEnum" [implicit_return_from_non_void_function] } ^ "./ILL_SALSA.c", line 8274: warning: variable "entry_time" is used before its value is set [used_before_set] neutron->path_length[lamella] = neutron->exit_time[lamella] - entry_time; ^ "./ILL_SALSA.c", line 8251: warning: variable "exit_time" was declared but never referenced [declared_but_not_referenced] double entry_time, exit_time; ^ "./ILL_SALSA.c", line 8315: warning: variable "t0" was declared but never referenced [declared_but_not_referenced] double t0, inner_t1, outer_t1; ^ "./ILL_SALSA.c", line 8315: warning: variable "inner_t1" was declared but never referenced [declared_but_not_referenced] double t0, inner_t1, outer_t1; ^ "./ILL_SALSA.c", line 8315: warning: variable "outer_t1" was declared but never referenced [declared_but_not_referenced] double t0, inner_t1, outer_t1; ^ "./ILL_SALSA.c", line 8316: warning: variable "kinematic_reflectivity" was declared but never referenced [declared_but_not_referenced] double kinematic_reflectivity; ^ "./ILL_SALSA.c", line 8317: warning: variable "r" was declared but never referenced [declared_but_not_referenced] double r[3] = {neutron->r[0], neutron->r[1], neutron->r[2]}; ^ "./ILL_SALSA.c", line 8318: warning: variable "intersected" was declared but never referenced [declared_but_not_referenced] int intersected; ^ "./ILL_SALSA.c", line 8319: warning: variable "transposed_x" was declared but never referenced [declared_but_not_referenced] double transposed_x; ^ "./ILL_SALSA.c", line 9730: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./ILL_SALSA.c", line 10254: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./ILL_SALSA.c", line 10277: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./ILL_SALSA.c", line 10765: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./ILL_SALSA.c", line 10766: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./ILL_SALSA.c", line 10767: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./ILL_SALSA.c", line 10927: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./ILL_SALSA.c", line 11147: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./ILL_SALSA.c", line 11306: 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; ^ "./ILL_SALSA.c", line 11307: 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; ^ "./ILL_SALSA.c", line 11582: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./ILL_SALSA.c", line 11341: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./ILL_SALSA.c", line 11343: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./ILL_SALSA.c", line 11344: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./ILL_SALSA.c", line 11345: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./ILL_SALSA.c", line 11369: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./ILL_SALSA.c", line 11378: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./ILL_SALSA.c", line 11378: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./ILL_SALSA.c", line 11380: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./ILL_SALSA.c", line 11429: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./ILL_SALSA.c", line 11596: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./ILL_SALSA.c", line 11597: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./ILL_SALSA.c", line 11598: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./ILL_SALSA.c", line 11627: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./ILL_SALSA.c", line 11685: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./ILL_SALSA.c", line 11701: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./ILL_SALSA.c", line 11701: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./ILL_SALSA.c", line 11702: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./ILL_SALSA.c", line 11703: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./ILL_SALSA.c", line 12140: 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); ^ "./ILL_SALSA.c", line 12129: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12206: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12413: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12511: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./ILL_SALSA.c", line 12697: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12890: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./ILL_SALSA.c", line 12891: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./ILL_SALSA.c", line 13425: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./ILL_SALSA.c", line 13426: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./ILL_SALSA.c", line 13825: 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); ^ "./ILL_SALSA.c", line 13685: 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; ^ "./ILL_SALSA.c", line 13690: 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; ^ "./ILL_SALSA.c", line 13691: 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; ^ "./ILL_SALSA.c", line 13692: 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; ^ "./ILL_SALSA.c", line 13699: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./ILL_SALSA.c", line 13700: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./ILL_SALSA.c", line 13823: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./ILL_SALSA.c", line 14089: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./ILL_SALSA.c", line 14155: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 14341: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./ILL_SALSA.c", line 14344: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./ILL_SALSA.c", line 14501: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./ILL_SALSA.c", line 14504: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./ILL_SALSA.c", line 15423: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./ILL_SALSA.c", line 15332: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./ILL_SALSA.c", line 15635: 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; ^ "./ILL_SALSA.c", line 15825: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./ILL_SALSA.c", line 15974: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./ILL_SALSA.c", line 16378: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./ILL_SALSA.c", line 17263: warning: variable "count" is used before its value is set [used_before_set] for(line0=0; line0