INFO: No output directory specified (--dir) INFO: Using directory: "Test_Source_pulsed_20241222_030916" INFO: Regenerating c-file: Test_Source_pulsed.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./Test_Source_pulsed.c Test_Source_pulsed.instr Info: 'Source_pulsed' is a contributed component. CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./Test_Source_pulsed.out DEBUG: CMD: nvc -o ./Test_Source_pulsed.out ./Test_Source_pulsed.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_Source_pulsed.c", line 4487: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./Test_Source_pulsed.c", line 9061: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Source_pulsed.c", line 9061: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./Test_Source_pulsed.c", line 9088: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Source_pulsed.c", line 9088: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./Test_Source_pulsed.c", line 10985: 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; ^ "./Test_Source_pulsed.c", line 10985: 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; ^ "./Test_Source_pulsed.c", line 10985: 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; ^ "./Test_Source_pulsed.c", line 10985: 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; ^ "./Test_Source_pulsed.c", line 10985: 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; ^ "./Test_Source_pulsed.c", line 10985: 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; ^ "./Test_Source_pulsed.c", line 11342: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./Test_Source_pulsed.c", line 12508: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12496: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./Test_Source_pulsed.c", line 12583: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12549: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./Test_Source_pulsed.c", line 12659: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12625: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./Test_Source_pulsed.c", line 12735: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12701: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./Test_Source_pulsed.c", line 12798: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12777: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./Test_Source_pulsed.c", line 12860: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12840: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./Test_Source_pulsed.c", line 12958: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 12902: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./Test_Source_pulsed.c", line 13056: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./Test_Source_pulsed.c", line 13000: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./Test_Source_pulsed.c", line 13825: warning: variable "time" was declared but never referenced [declared_but_not_referenced] time, /* [s] */ ^ "./Test_Source_pulsed.c", line 15906: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./Test_Source_pulsed.c", line 15907: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./Test_Source_pulsed.c", line 1495: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Source_pulsed.c", line 2898: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 88, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 102, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 134, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 158, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 180, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 191, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 200, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 210, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1542, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1546, Generating acc routine seq Generating NVIDIA GPU code str_len: 1555, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4108, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4539, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4550, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4559, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4593, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4603, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4611, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4621, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4643, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4650, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4696, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4731, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4742, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4759, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4770, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4786, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4815, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4826, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4830, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5007, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5038, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5055, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5154, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5238, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5304, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5381, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5653, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5663, Generating acc routine seq Generating NVIDIA GPU code _hash: 5689, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5730, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5741, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5746, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5754, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5762, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5769, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6428, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6464, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6524, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6541, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6656, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6711, Generating acc routine seq Generating NVIDIA GPU code Maxwell: 6814, Generating acc routine seq Generating NVIDIA GPU code Mezei_N_fct: 6827, Generating acc routine seq Generating NVIDIA GPU code Mezei_i_fct: 6837, Generating acc routine seq Generating NVIDIA GPU code Mezei_I_fct: 6847, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 8042, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 10039, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 10107, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 10186, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 10654, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 10670, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 10688, Generating acc routine seq Generating NVIDIA GPU code off_F: 10942, Generating acc routine seq Generating NVIDIA GPU code off_sign: 10947, Generating acc routine seq Generating NVIDIA GPU code off_normal: 10957, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 10983, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11046, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11177, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11222, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11339, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11457, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11469, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11504, Generating acc routine seq Generating NVIDIA GPU code Min_int: 11755, Generating acc routine seq Generating NVIDIA GPU code merge: 11762, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 11866, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 11881, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 11935, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12052, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12074, Generating acc routine seq Generating NVIDIA GPU code init: 13652, Generating update device(_HBS_thml_var,_HBS_cold_var,_HBS_bispec_var,_instrument_var,_m0_var,_m1_var,_m2b_var,_m2a_var,_Origin_var) class_Progress_bar_trace: 13695, Generating acc routine seq Generating NVIDIA GPU code class_Source_pulsed_trace: 13785, Generating acc routine seq Generating NVIDIA GPU code class_TOF_monitor_trace: 13936, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 14017, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 14090, Generating acc routine seq Generating NVIDIA GPU code raytrace: 14384, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 14610, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 14624, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 14610, Local memory used for .inl_particle_13705,particleN,.inl_.inl_mcneutron_0_13720,.inl_.X2060_13722,.inl_.inl_.X2262_15_13721 14624, Generating implicit firstprivate(seed,_particle) finally: 15327, Generating update self(_HBS_thml_var,_HBS_cold_var,_HBS_bispec_var,_instrument_var,_m0_var,_m1_var,_m2b_var,_m2a_var,_Origin_var) mcenabletrace: 5888, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatgw1HesSdWAeRu.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: ===