INFO: No output directory specified (--dir) INFO: Using directory: "ILL_IN6_20241222_081220" INFO: Regenerating c-file: ILL_IN6.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./ILL_IN6.c ILL_IN6.instr 2024-12-22 08:12:52.550 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:41 - sort includes :Source_gen(0):read_table-lib :Monochromator_curved(0):read_table-lib :Monitor_nD(0):monitor_nd-lib :Monitor_nD(1):read_table-lib :Monitor_nD(2):interoff-lib :FermiChopper(0):ref-lib :ref-lib(0):read_table-lib :Isotropic_Sqw(0):read_table-lib :Isotropic_Sqw(1):interoff-lib 2024-12-22 08:12:52.551 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 08:12:52.551 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 08:12:52.551 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib monitor_nd-lib interoff-lib 2024-12-22 08:12:52.551 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib ref-lib interoff-lib monitor_nd-lib 2024-12-22 08:12:52.551 | DEBUG | mccode_antlr.translators.c:sort_include_hierarchy:66 - sorted to read_table-lib monitor_nd-lib interoff-lib ref-lib line 1259:4 missing '}' at ')' 2024-12-22 08:12:56.394 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1259,4 2024-12-22 08:12:56.394 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - MPI_MASTER( 2024-12-22 08:12:56.394 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->verbose_output > 0) { 2024-12-22 08:12:56.394 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - printf( "Isotropic_Sqw: %s: Temperature computed from S(q,w) data from %s is T=%g [K].\n", 2024-12-22 08:12:56.394 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - Sqw->compname, file, T); 2024-12-22 08:12:56.394 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-12-22 08:12:56.394 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~~~^ missing '}' at ')' 2024-12-22 08:12:56.394 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } 2024-12-22 08:12:56.395 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } line 1263:2 mismatched input 'if' expecting 2024-12-22 08:12:56.401 | ERROR | mccode_antlr.translators.c_listener:syntaxError:35 - Syntax error in parsing 1263,2 2024-12-22 08:12:56.401 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - ); 2024-12-22 08:12:56.401 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-12-22 08:12:56.401 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - } 2024-12-22 08:12:56.401 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - 2024-12-22 08:12:56.401 | INFO | mccode_antlr.translators.c_listener:syntaxError:40 - if (Sqw->Temperature == 0) { 2024-12-22 08:12:56.402 | ERROR | mccode_antlr.translators.c_listener:syntaxError:41 - ~~^ mismatched input 'if' expecting 2024-12-22 08:12:56.402 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - Sqw->Temperature = T_file ? T_file : T; /* 0: not set: we use file value, else computed */ 2024-12-22 08:12:56.402 | INFO | mccode_antlr.translators.c_listener:syntaxError:43 - } else if (Sqw->Temperature ==-1) { 2024-12-22 08:12:56.488 | INFO | mccode_antlr.translators.c_listener:visitDeclarator:341 - Could not convert an integer from ('CHAR_BUF_LENGTH',) due to invalid literal for int() with base 10: 'CHAR_BUF_LENGTH' The instrument has 18 parameters ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component Cradle -> SPLIT 10 at component Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component Origin -> GPU kernel from component VCS -> GPU kernel from component SourceTarget -> SPLIT within buffer at component Cradle -> GPU kernel from component Mono1 -> GPU kernel from component Mono2 -> GPU kernel from component Mono3 -> GPU kernel from component mono_out -> GPU kernel from component SuppPos -> GPU kernel from component Mon_SuppInL -> GPU kernel from component Mon_SuppInT -> GPU kernel from component Suppressor -> GPU kernel from component Mon_SuppOutT -> GPU kernel from component SlitFC -> GPU kernel from component FermiPos -> GPU kernel from component FermiM -> GPU kernel from component Mon_FermiOutdT -> GPU kernel from component MonokMonitor -> GPU kernel from component Mon_SampleInT -> GPU kernel from component Mon_SampleInXY -> GPU kernel from component sample_pos -> SPLIT within buffer at component Sample -> GPU kernel from component Out -> GPU kernel from component M_theta_t_all -> GPU kernel from component Detector_nM ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./ILL_IN6.out DEBUG: CMD: nvc -o ./ILL_IN6.out ./ILL_IN6.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_IN6.c", line 4546: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "/usr/include/math.h", line 30: warning: #warning directive: A macro called log was already defined when was included. [warning_directive] # warning A macro called log was already defined when was included. ^ "/usr/include/math.h", line 31: warning: #warning directive: This will cause compilation problems. [warning_directive] # warning This will cause compilation problems. ^ "./ILL_IN6.c", line 8385: warning: variable "n" was declared but never referenced [declared_but_not_referenced] double n; ^ "./ILL_IN6.c", line 8364: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] double w_c = 0; ^ "./ILL_IN6.c", line 8365: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] double w_l = 0; ^ "./ILL_IN6.c", line 8276: warning: variable "w_c" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_IN6.c", line 8276: warning: variable "w_l" was declared but never referenced [declared_but_not_referenced] t_Table w_c, w_l; ^ "./ILL_IN6.c", line 13610: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN6.c", line 13610: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_IN6.c", line 13637: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN6.c", line 13637: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_IN6.c", line 13761: warning: variable "minx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_IN6.c", line 13761: warning: variable "maxx" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_IN6.c", line 13761: warning: variable "miny" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_IN6.c", line 13761: warning: variable "maxy" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_IN6.c", line 13761: warning: variable "minz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_IN6.c", line 13761: warning: variable "maxz" was declared but never referenced [declared_but_not_referenced] MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_IN6.c", line 14118: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_IN6.c", line 15073: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_IN6.c", line 17674: warning: variable "chopper_const" was declared but never referenced [declared_but_not_referenced] double chopper_const = 252.77; /*constant in chopper SPEED formula*/ ^ "./ILL_IN6.c", line 19214: warning: variable "zp2" was set but never used [set_but_not_used] double xp2, zp2,xp3=0,vxp2=0,vzp1=0; /* position, velocity */ ^ "./ILL_IN6.c", line 19012: warning: variable "X" was set but never used [set_but_not_used] double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ILL_IN6.c", line 19012: warning: variable "Z" was set but never used [set_but_not_used] double X[5],Z[5]; /* position of interaction locations in the Fermi chopper rotating frame ^ "./ILL_IN6.c", line 19666: warning: variable "ti" was set but never used [set_but_not_used] double ki_x,ki_y,ki_z,ti,vi,ki; ^ "./ILL_IN6.c", line 19667: warning: variable "tf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN6.c", line 19667: warning: variable "kf" was set but never used [set_but_not_used] double kf_x,kf_y,kf_z,tf,kf; ^ "./ILL_IN6.c", line 20337: warning: variable "q" was declared but never referenced [declared_but_not_referenced] double q,qq; ^ "./ILL_IN6.c", line 20341: warning: variable "phi" was declared but never referenced [declared_but_not_referenced] double phi; ^ "./ILL_IN6.c", line 23397: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_IN6.c", line 23398: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_IN6.c", line 1554: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_IN6.c", line 2957: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 99, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 113, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 155, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 189, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 221, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 233, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 242, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 262, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1601, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1605, Generating acc routine seq Generating NVIDIA GPU code str_len: 1614, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4167, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4598, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4609, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4618, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4630, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4642, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4652, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4662, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4670, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4680, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4702, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4709, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4755, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4790, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4801, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4818, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4829, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4845, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4874, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4885, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4889, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5066, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5097, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5114, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5213, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5297, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5363, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5440, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5712, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5722, Generating acc routine seq Generating NVIDIA GPU code _hash: 5748, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5789, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5800, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5805, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5813, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5821, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5828, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6485, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6581, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6598, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6713, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6768, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7536, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 7546, Generating acc routine seq Generating NVIDIA GPU code FC_zrot: 7595, Generating acc routine seq Generating NVIDIA GPU code FC_xrot: 7608, Generating acc routine seq Generating NVIDIA GPU code FC_xzrot_dt: 7634, Generating acc routine seq Generating NVIDIA GPU code FC_xzbrent: 7655, Generating acc routine seq Generating NVIDIA GPU code FC_xintersect: 7728, Generating acc routine seq Generating NVIDIA GPU code FC_zintersect: 7735, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_SW: 8166, Generating acc routine seq Generating NVIDIA GPU code Sqw_search_Q_proba_per_w: 8203, Generating acc routine seq Generating NVIDIA GPU code Sqw_integrate_iqSq: 8239, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10704, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10772, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10851, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 11319, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 11335, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 11353, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 11419, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 11478, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 12591, Generating acc routine seq Generating NVIDIA GPU code off_F: 13718, Generating acc routine seq Generating NVIDIA GPU code off_sign: 13723, Generating acc routine seq Generating NVIDIA GPU code off_normal: 13733, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 13759, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 13822, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 13953, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 13998, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 14115, Generating acc routine seq Generating NVIDIA GPU code off_compare: 14233, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 14245, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 14280, Generating acc routine seq Generating NVIDIA GPU code Min_int: 14531, Generating acc routine seq Generating NVIDIA GPU code merge: 14538, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 14642, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 14657, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 14711, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 14828, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 14850, Generating acc routine seq Generating NVIDIA GPU code init: 17719, Generating update device(iRATIO) 17744, Generating update device(Frequency) 17891, Generating update device(_MonokMonitor_var,_Suppressor_var,_SlitFC_var,_Mon_SuppOutT_var,_Mono1_var,_Mono2_var,_instrument_var,_SourceTarget_var,_Mon_SampleInXY_var,_Mon_SuppInL_var,_SuppPos_var,_Mon_SuppInT_var,_Sample_var,_FermiM_var,_Detector_nM_var,_M_theta_t_all_var,_Mono3_var,_Mon_FermiOutdT_var,_Mon_SampleInT_var,_sample_pos_var,_mono_out_var,_Out_var,_Origin_var,_FermiPos_var,_Cradle_var,_VCS_var) class_Progress_bar_trace: 17932, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 18022, Generating acc routine seq Generating NVIDIA GPU code class_Arm_trace: 18231, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 18274, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18654, Generating acc routine seq Generating NVIDIA GPU code class_FermiChopper_trace: 18969, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 19551, Generating acc routine seq Generating NVIDIA GPU code class_Isotropic_Sqw_trace: 19595, Generating acc routine seq Generating NVIDIA GPU code 19914, Reference argument passing prevents parallelization: u1z Reference argument passing prevents parallelization: u1y Reference argument passing prevents parallelization: u1x Reference argument passing prevents parallelization: solid_angle class_PSD_monitor_4PI_trace: 20234, Generating acc routine seq Generating NVIDIA GPU code class_Sqw_monitor_trace: 20312, Generating acc routine seq Generating NVIDIA GPU code raytrace: 20461, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 21010, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 21024, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 21010, Local memory used for .inl_particle_27232,particleN,.inl_.inl_mcneutron_0_27247,.inl_.X2370_27249,.inl_.inl_.X2576_15_27248 21024, Generating implicit firstprivate(seed,_particle) finally: 22379, Generating update self(_MonokMonitor_var,_Suppressor_var,_SlitFC_var,_Mon_SuppOutT_var,_Mono1_var,_Mono2_var,_instrument_var,_SourceTarget_var,_Mon_SampleInXY_var,_Mon_SuppInL_var,_SuppPos_var,_Mon_SuppInT_var,_Sample_var,_FermiM_var,_Detector_nM_var,_M_theta_t_all_var,_Mono3_var,_Mon_FermiOutdT_var,_Mon_SampleInT_var,_sample_pos_var,_mono_out_var,_Out_var,_Origin_var,_FermiPos_var,_Cradle_var,_VCS_var) mcenabletrace: 5947, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatDLi2gxZZwPAl6.o: missing .note.GNU-stack section implies executable stack /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker DEBUG: CMD: nvc finished INFO: ===