INFO: No output directory specified (--dir) INFO: Using directory: "ILL_SALSA_20241222_081615" INFO: Regenerating c-file: ILL_SALSA.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./ILL_SALSA.c ILL_SALSA.instr 2024-12-22 08:17:01.285 | 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 2024-12-22 08:17:01.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=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_0 Component Monochromator_1 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_1 Component Monochromator_2 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_2 Component Monochromator_3 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_3 Component Monochromator_4 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_4 Component Monochromator_5 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_5 Component Monochromator_6 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_6 Component Monochromator_7 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_7 Component Monochromator_8 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_8 Component Monochromator_9 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_9 Component Monochromator_10 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_10 Component Monochromator_11 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_11 Component Monochromator_12 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_12 Component Monochromator_13 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_13 Component Monochromator_14 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_14 Component Monochromator_15 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_15 Component Monochromator_16 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_16 Component Monochromator_17 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_17 Component Monochromator_18 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_18 Component Monochromator_19 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_19 Component Monochromator_20 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_20 Component Monochromator_21 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_21 Component Monochromator_22 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_22 Component Monochromator_23 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_23 Component Monochromator_24 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_24 Component Monochromator_25 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_25 Component Monochromator_26 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_26 Component Monochromator_27 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_27 Component Monochromator_28 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_28 Component Monochromator_29 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_29 Component Monochromator_30 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_30 Component Monochromator_31 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_31 Component Monochromator_32 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_32 Component Monochromator_33 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_33 Component Monochromator_34 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_34 Component Monochromator_35 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_35 Component Monochromator_36 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_36 Component Monochromator_37 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_37 Component Monochromator_38 is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Monochromator_38 -> GPU kernel from component arm_takeoff -> 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=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component Sample_environment -> GPU kernel from component stop -> GPU kernel from component arm_collimator_out -> GPU kernel from component secondary_collimator -> GPU kernel from component final_monitor ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ILL_SALSA.out DEBUG: CMD: nvc -o ./ILL_SALSA.out ./ILL_SALSA.c -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=managed -DOPENACC "./ILL_SALSA.c", line 4490: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ILL_SALSA.c", line 7575: warning: missing return statement at end of non-void function "sign" [implicit_return_from_non_void_function] } ^ "./ILL_SALSA.c", line 7693: warning: missing return statement at end of non-void function "stringToEnum" [implicit_return_from_non_void_function] } ^ "./ILL_SALSA.c", line 8147: 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 8124: warning: variable "exit_time" was declared but never referenced [declared_but_not_referenced] double entry_time, exit_time; ^ "./ILL_SALSA.c", line 8188: warning: variable "t0" was declared but never referenced [declared_but_not_referenced] double t0, inner_t1, outer_t1; ^ "./ILL_SALSA.c", line 8188: warning: variable "inner_t1" was declared but never referenced [declared_but_not_referenced] double t0, inner_t1, outer_t1; ^ "./ILL_SALSA.c", line 8188: warning: variable "outer_t1" was declared but never referenced [declared_but_not_referenced] double t0, inner_t1, outer_t1; ^ "./ILL_SALSA.c", line 8189: warning: variable "kinematic_reflectivity" was declared but never referenced [declared_but_not_referenced] double kinematic_reflectivity; ^ "./ILL_SALSA.c", line 8190: 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 8191: warning: variable "intersected" was declared but never referenced [declared_but_not_referenced] int intersected; ^ "./ILL_SALSA.c", line 8192: warning: variable "transposed_x" was declared but never referenced [declared_but_not_referenced] double transposed_x; ^ "./ILL_SALSA.c", line 9602: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./ILL_SALSA.c", line 10126: 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 10149: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./ILL_SALSA.c", line 10637: 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 10638: 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 10639: 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 10799: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./ILL_SALSA.c", line 11019: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./ILL_SALSA.c", line 11178: 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 11179: 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 11454: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./ILL_SALSA.c", line 11213: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./ILL_SALSA.c", line 11215: 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 11216: 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 11217: 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 11241: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./ILL_SALSA.c", line 11250: 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 11250: 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 11252: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./ILL_SALSA.c", line 11301: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./ILL_SALSA.c", line 11468: 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 11469: 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 11470: 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 11499: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./ILL_SALSA.c", line 11557: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./ILL_SALSA.c", line 11573: 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 11573: 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 11574: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./ILL_SALSA.c", line 11575: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./ILL_SALSA.c", line 12012: 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 12001: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12078: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12285: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12383: 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 12569: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 12762: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./ILL_SALSA.c", line 12763: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./ILL_SALSA.c", line 13297: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./ILL_SALSA.c", line 13298: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./ILL_SALSA.c", line 13697: 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 13557: 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 13562: 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 13563: 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 13564: 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 13571: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./ILL_SALSA.c", line 13572: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./ILL_SALSA.c", line 13695: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./ILL_SALSA.c", line 13961: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./ILL_SALSA.c", line 14027: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./ILL_SALSA.c", line 14213: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./ILL_SALSA.c", line 14216: 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 14373: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./ILL_SALSA.c", line 14376: 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 15295: 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 15204: 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 15507: 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 15697: 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 15846: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./ILL_SALSA.c", line 16250: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./ILL_SALSA.c", line 17135: warning: variable "count" is used before its value is set [used_before_set] for(line0=0; line0 main() File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 503, in main mcstas.prepare(options) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 294, in prepare Process(lexer.quote(options.cc)).run(args) File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 77, in run raise err File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mccode.py", line 73, in run proc = run(command, shell=True, check=True, text=True, capture_output=pipe) File "/u/data/pkwi/McStas/mcstas/3.x-dev/miniconda3/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command 'nvc -o ./ILL_SALSA.out ./ILL_SALSA.c -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=managed -DOPENACC' returned non-zero exit status 2.