INFO: No output directory specified (--dir) INFO: Using directory: "Test_absorption_20250106_112951" INFO: Regenerating c-file: Test_absorption.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./Test_absorption.c Test_absorption.instr 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 absorber_material -> GPU kernel from component a1 -> GPU kernel from component source -> GPU kernel from component beam_center -> GPU kernel from component cylinder Component test_sample is NOACC, CPUONLY=False ->FUNNEL mode enabled, SPLIT within buffer. -> GPU kernel from component test_sample -> GPU kernel from component screen -> GPU kernel from component stop ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./Test_absorption.out DEBUG: CMD: nvc -o ./Test_absorption.out ./Test_absorption.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 "./Test_absorption.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 <warning-name>" "./Test_absorption.c", line 8176: warning: variable "output" was declared but never referenced [declared_but_not_referenced] struct tagging_tree_node_struct *output; ^ "./Test_absorption.c", line 8700: warning: variable "permanent_list_length" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,permanent_list_length = 0; ^ "./Test_absorption.c", line 8723: warning: variable "geometry_output" was set but never used [set_but_not_used] int geometry_output; ^ "./Test_absorption.c", line 9211: warning: variable "x_vector" was declared but never referenced [declared_but_not_referenced] Coords x_vector = geometry->geometry_parameters.p_box_storage->x_vector; ^ "./Test_absorption.c", line 9212: warning: variable "y_vector" was declared but never referenced [declared_but_not_referenced] Coords y_vector = geometry->geometry_parameters.p_box_storage->y_vector; ^ "./Test_absorption.c", line 9213: warning: variable "z_vector" was declared but never referenced [declared_but_not_referenced] Coords z_vector = geometry->geometry_parameters.p_box_storage->z_vector; ^ "./Test_absorption.c", line 9373: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_absorption.c", line 9593: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Test_absorption.c", line 9752: 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; ^ "./Test_absorption.c", line 9753: 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; ^ "./Test_absorption.c", line 10028: warning: statement is unreachable [code_is_unreachable] return 0; ^ "./Test_absorption.c", line 9787: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_absorption.c", line 9789: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Test_absorption.c", line 9790: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Test_absorption.c", line 9791: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Test_absorption.c", line 9815: warning: variable "verbal" was declared but never referenced [declared_but_not_referenced] int verbal = 0; ^ "./Test_absorption.c", line 9824: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_absorption.c", line 9824: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_absorption.c", line 9826: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_absorption.c", line 9875: warning: variable "C1" was declared but never referenced [declared_but_not_referenced] int C1 = counter; ^ "./Test_absorption.c", line 10042: warning: variable "normal_x" was declared but never referenced [declared_but_not_referenced] double *normal_x = geometry->geometry_parameters.p_mesh_storage->normal_x; ^ "./Test_absorption.c", line 10043: warning: variable "normal_y" was declared but never referenced [declared_but_not_referenced] double *normal_y = geometry->geometry_parameters.p_mesh_storage->normal_y; ^ "./Test_absorption.c", line 10044: warning: variable "normal_z" was declared but never referenced [declared_but_not_referenced] double *normal_z = geometry->geometry_parameters.p_mesh_storage->normal_z; ^ "./Test_absorption.c", line 10073: warning: variable "center" was declared but never referenced [declared_but_not_referenced] Coords center = geometry->center; ^ "./Test_absorption.c", line 10131: warning: variable "output" was set but never used [set_but_not_used] int output; ^ "./Test_absorption.c", line 10147: warning: variable "tmp" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_absorption.c", line 10147: warning: variable "intersect_pos" was declared but never referenced [declared_but_not_referenced] Coords edge1,edge2,h,s,q,tmp,intersect_pos; ^ "./Test_absorption.c", line 10148: warning: variable "UNION_EPSILON" was declared but never referenced [declared_but_not_referenced] double UNION_EPSILON = 0.0000001; ^ "./Test_absorption.c", line 10149: warning: variable "this_facet_t" was declared but never referenced [declared_but_not_referenced] double this_facet_t; ^ "./Test_absorption.c", line 10586: 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); ^ "./Test_absorption.c", line 10575: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_absorption.c", line 10652: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_absorption.c", line 10859: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_absorption.c", line 10957: warning: variable "solutions" was declared but never referenced [declared_but_not_referenced] int iterate,number_of_solutions,solutions,number_of_positions = 30; ^ "./Test_absorption.c", line 11143: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_absorption.c", line 11336: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_absorption.c", line 11337: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_absorption.c", line 11871: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_absorption.c", line 11872: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_absorption.c", line 12271: 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); ^ "./Test_absorption.c", line 12131: 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; ^ "./Test_absorption.c", line 12136: 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; ^ "./Test_absorption.c", line 12137: 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; ^ "./Test_absorption.c", line 12138: 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; ^ "./Test_absorption.c", line 12145: warning: variable "Y" was declared but never referenced [declared_but_not_referenced] double Y; ^ "./Test_absorption.c", line 12146: warning: variable "max_r" was declared but never referenced [declared_but_not_referenced] double max_r; ^ "./Test_absorption.c", line 12269: warning: variable "square_offset" was declared but never referenced [declared_but_not_referenced] double square_offset; ^ "./Test_absorption.c", line 12535: warning: variable "debug_dist" was set but never used [set_but_not_used] double debug_dist; ^ "./Test_absorption.c", line 12601: warning: variable "seperated" was declared but never referenced [declared_but_not_referenced] int seperated = 0; ^ "./Test_absorption.c", line 12787: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_absorption.c", line 12790: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Test_absorption.c", line 12947: warning: variable "temp_pointer" was declared but never referenced [declared_but_not_referenced] int *temp_pointer; ^ "./Test_absorption.c", line 12950: warning: variable "mask_global_index" was declared but never referenced [declared_but_not_referenced] int this_mask_status,mask_index,mask_global_index; ^ "./Test_absorption.c", line 13869: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int mask_index,mask_mode,found_index,logic_ALL; ^ "./Test_absorption.c", line 13778: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,mask_volume_number,mask_index; ^ "./Test_absorption.c", line 14081: 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; ^ "./Test_absorption.c", line 14271: warning: variable "found_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,iterate2,found_index,I_index,I_volume; ^ "./Test_absorption.c", line 14420: warning: variable "string_output" was declared but never referenced [declared_but_not_referenced] char string_output[124]; ^ "./Test_absorption.c", line 14824: warning: variable "mask_index" was declared but never referenced [declared_but_not_referenced] int volume_index,iterate,mask_index; ^ "./Test_absorption.c", line 16087: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_absorption.c", line 16122: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_absorption.c", line 16158: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_absorption.c", line 16456: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_absorption.c", line 18858: warning: variable "physics_output" was set but never used [set_but_not_used] int physics_output; ^ "./Test_absorption.c", line 18485: warning: variable "start_weight" was set but never used [set_but_not_used] double start_weight; ^ "./Test_absorption.c", line 21730: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_absorption.c", line 21731: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_absorption.c", line 1498: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_absorption.c", line 2901: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 89, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 103, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 136, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 161, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 184, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 196, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 205, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 216, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1545, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1549, Generating acc routine seq Generating NVIDIA GPU code str_len: 1558, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4111, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4542, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4553, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4574, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4586, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4596, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4606, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4614, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4624, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4646, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4653, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4699, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4734, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4745, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4762, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4773, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4789, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4818, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4829, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4833, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5010, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5041, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5058, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5157, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5241, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5307, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5384, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5656, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5666, Generating acc routine seq Generating NVIDIA GPU code _hash: 5692, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5733, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5744, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5749, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5757, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5765, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5772, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6429, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6525, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6542, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6657, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6712, Generating acc routine seq Generating NVIDIA GPU code distance_between: 7431, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code length_of_3vector: 7439, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code coords_scalar_mult: 7454, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code on_int_list: 7469, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code print_1d_int_list: 7690, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code update_current_mask_intersect_status: 8020, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code make_tagging_tree_node: 8100, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code initialize_tagging_tree_node: 8123, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_process_node: 8149, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code goto_volume_node: 8169, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code add_statistics_to_node: 8218, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code clear_intersection_table: 8516, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_advanced: 9199, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_box_intersect_simple: 9393, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_simple: 9434, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cone: 9453, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cone_intersect: 9517, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_box_advanced: 10301, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_sphere_intersect: 10428, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_sphere: 10450, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code sample_cylinder_intersect: 10495, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_cylinder: 10556, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code intersect_function: 12677, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code r_within_function: 12709, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code within_which_volume_GPU: 12907, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_my: 15458, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code physics_scattering: 15517, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code init: 18087, Generating update device(_cylinder_var,_a1_var,_screen_var,_absorber_material_var,_beam_center_var,_test_sample_var,_stop_var,_instrument_var,_source_var,_init_var) class_Progress_bar_trace: 18130, Generating acc routine seq Generating NVIDIA GPU code class_Source_div_trace: 18220, Generating acc routine seq Generating NVIDIA GPU code NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - abs_loggers_with_data_array (./Test_absorption.c: 19532) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Test_absorption.c: 19480) NVC++-W-1056-External variables used in acc routine need to be in #pragma acc create() - loggers_with_data_array (./Test_absorption.c: 18517) class_Union_master_trace: 19487, Accelerator restriction: Indirect function/procedure calls are not supported 19539, Accelerator restriction: Indirect function/procedure calls are not supported 19585, Accelerator restriction: Indirect function/procedure calls are not supported class_PSD_monitor_trace: 19794, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19872, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 20036, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 20050, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 20036, Local memory used for .inl_particle_24183,particleN,.inl_.inl_mcneutron_0_24198,.inl_.X2485_24200,.inl_.inl_.X2679_15_24199 20050, Generating implicit firstprivate(seed,_particle) finally: 21006, Generating update self(_cylinder_var,_a1_var,_screen_var,_absorber_material_var,_beam_center_var,_test_sample_var,_stop_var,_instrument_var,_source_var,_init_var) mcenabletrace: 5891, Generating update device(mcdotrace) nvvmCompileProgram error 9: NVVM_ERROR_COMPILATION. Error: /tmp/nvacc35LijLshvV3LO.gpu (51864, 37): parse use of undefined value '@class_Union_master_trace' NVC++-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (./Test_absorption.c: 20036) NVC++/x86-64 Linux 24.7-0: compilation aborted INFO: call to nvc failed with Command 'nvc -o ./Test_absorption.out ./Test_absorption.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. Traceback (most recent call last): File "/u/data/pkwi/McStas/mcstas/3.x-dev/tools/Python/mcrun/mcrun.py", line 595, in <module> 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 ./Test_absorption.out ./Test_absorption.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.