INFO: No output directory specified (--dir) INFO: Using directory: "ILL_D2B_noenv_20241124_002528" INFO: Regenerating c-file: ILL_D2B_noenv.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_D2B_noenv.c ILL_D2B_noenv.instr CFLAGS= --> Added COMPONENT Monok USERVAR ncol_19 with type int --> Added COMPONENT Monok USERVAR nrow_19 with type int WARNING: The parameter format of Sample is initialized using a static {,,,} vector. -> Such static vectors support literal numbers ONLY. -> Any vector use of variables or defines must happen via a DECLARE/INITIALIZE pointer. ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT N at component Monok -> SPLIT N at component Arm_Sample ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component Monok -> SPLIT within buffer at component Arm_Sample ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas finished INFO: Recompiling: ./ILL_D2B_noenv.out DEBUG: CMD: nvc -o ./ILL_D2B_noenv.out ./ILL_D2B_noenv.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_D2B_noenv.c", line 4499: 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_D2B_noenv.c", line 10959: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B_noenv.c", line 10959: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B_noenv.c", line 10986: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B_noenv.c", line 10986: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B_noenv.c", line 11314: 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_D2B_noenv.c", line 11314: 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_D2B_noenv.c", line 11314: 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_D2B_noenv.c", line 11314: 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_D2B_noenv.c", line 11314: 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_D2B_noenv.c", line 11314: 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_D2B_noenv.c", line 11671: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_D2B_noenv.c", line 13622: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_D2B_noenv.c", line 13610: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_D2B_noenv.c", line 13663: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_D2B_noenv.c", line 13753: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_D2B_noenv.c", line 13811: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_D2B_noenv.c", line 13869: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_D2B_noenv.c", line 13927: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_D2B_noenv.c", line 13985: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_D2B_noenv.c", line 14043: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_D2B_noenv.c", line 14101: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_D2B_noenv.c", line 14159: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_D2B_noenv.c", line 14217: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_D2B_noenv.c", line 14275: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_D2B_noenv.c", line 14337: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_D2B_noenv.c", line 14398: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_D2B_noenv.c", line 14456: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_D2B_noenv.c", line 14558: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_D2B_noenv.c", line 14660: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_D2B_noenv.c", line 14762: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_D2B_noenv.c", line 14811: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_D2B_noenv.c", line 14888: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_D2B_noenv.c", line 14948: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_D2B_noenv.c", line 14997: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_D2B_noenv.c", line 15068: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_D2B_noenv.c", line 15129: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_D2B_noenv.c", line 15187: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_D2B_noenv.c", line 15289: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ILL_D2B_noenv.c", line 15391: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ILL_D2B_noenv.c", line 15440: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ILL_D2B_noenv.c", line 15533: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ILL_D2B_noenv.c", line 15599: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ILL_D2B_noenv.c", line 15701: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./ILL_D2B_noenv.c", line 15803: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./ILL_D2B_noenv.c", line 19206: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_D2B_noenv.c", line 19207: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_D2B_noenv.c", line 19210: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_D2B_noenv.c", line 19213: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_D2B_noenv.c", line 19217: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_D2B_noenv.c", line 19219: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_D2B_noenv.c", line 19220: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_D2B_noenv.c", line 19221: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_D2B_noenv.c", line 19223: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_D2B_noenv.c", line 23140: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_D2B_noenv.c", line 23141: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_D2B_noenv.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_D2B_noenv.c", line 2911: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 91, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 105, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 139, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 165, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 189, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 200, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 209, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 221, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1555, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1559, Generating acc routine seq Generating NVIDIA GPU code str_len: 1568, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4120, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4551, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4562, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4571, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4583, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4595, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4605, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4615, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4623, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4633, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4655, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4662, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4708, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4743, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4754, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4771, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4782, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4798, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4827, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4838, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4842, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5019, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5050, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5067, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5166, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5250, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5316, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5393, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5665, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5675, Generating acc routine seq Generating NVIDIA GPU code _hash: 5701, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5742, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5753, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5758, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5766, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5774, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5781, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6440, Generating acc routine seq Generating NVIDIA GPU code mcgetstate: 6476, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6536, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6553, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6668, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6723, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7768, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7836, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7915, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 8383, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 8399, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 8417, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 8464, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 8581, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 8640, Generating acc routine seq Generating NVIDIA GPU code Monitor_nD_Trace: 9955, Generating acc routine seq Generating NVIDIA GPU code off_F: 11271, Generating acc routine seq Generating NVIDIA GPU code off_sign: 11276, Generating acc routine seq Generating NVIDIA GPU code off_normal: 11286, Generating acc routine seq Generating NVIDIA GPU code off_pnpoly: 11312, Generating acc routine seq Generating NVIDIA GPU code off_intersectPoly: 11375, Generating acc routine seq Generating NVIDIA GPU code off_init_planes: 11506, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod: 11551, Generating acc routine seq Generating NVIDIA GPU code off_clip_3D_mod_grav: 11668, Generating acc routine seq Generating NVIDIA GPU code off_compare: 11786, Generating acc routine seq Generating NVIDIA GPU code off_cleanDouble: 11798, Generating acc routine seq Generating NVIDIA GPU code off_cleanInOut: 11833, Generating acc routine seq Generating NVIDIA GPU code Min_int: 12084, Generating acc routine seq Generating NVIDIA GPU code merge: 12091, Generating acc routine seq Generating NVIDIA GPU code p_to_quadratic: 12195, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code quadraticSolve: 12210, Generating implicit acc routine seq Generating acc routine seq Generating NVIDIA GPU code off_intersect_all: 12264, Generating acc routine seq Generating NVIDIA GPU code off_intersect: 12381, Generating acc routine seq Generating NVIDIA GPU code off_x_intersect: 12403, Generating acc routine seq Generating NVIDIA GPU code GAUSS_monocurved: 12532, Generating acc routine seq Generating NVIDIA GPU code calc_xsect: 12910, Generating acc routine seq Generating NVIDIA GPU code init: 17591, Generating update device(_Oct2_var,_Slit_Sample_var,_Source_var,_Monok_var,_Oct1_var,_Win0_var,_Win1_var,_Win2_var,_Win3_var,_Win4_var,_Win5_var,_Origin_var,_Shield_Hole_var,_D2B_Mono_Lambda_var,_Arm_Sample_var,_D2B_BananaTheta_var,_instrument_var,_D2B_Sample_Lambda_var,_sphere_var,_mono_out_var,_mono_cradle_var,_Sample_var,_Alpha_One_var,_Slit_Mono_var,_D2B_ALPHA1_Div_var,_D2B_Mono_XY_var,_Alpha_Two_var,_SMguide_var,_Win6_var,_D2B_BananaThetaCenter_var,_D2B_BananaPSD_var,_D2B_ALPHA2_Div_var,_collimador_radial_var) class_Progress_bar_trace: 17634, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 17724, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 17933, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 17977, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 18130, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18204, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 18494, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 18839, Generating acc routine seq Generating NVIDIA GPU code class_Guide_channeled_trace: 18917, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19158, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_radial_trace: 19625, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19777, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 20494, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 20508, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 20494, Local memory used for .inl_particle_26014,particleN,.inl_.inl_mcneutron_0_26029,.inl_.X2354_26031,.inl_.inl_.X2562_15_26030 20508, Generating implicit firstprivate(seed,_particle) finally: 21778, Generating update self(_Oct2_var,_Slit_Sample_var,_Source_var,_Monok_var,_Oct1_var,_Win0_var,_Win1_var,_Win2_var,_Win3_var,_Win4_var,_Win5_var,_Origin_var,_Shield_Hole_var,_D2B_Mono_Lambda_var,_Arm_Sample_var,_D2B_BananaTheta_var,_instrument_var,_D2B_Sample_Lambda_var,_sphere_var,_mono_out_var,_mono_cradle_var,_Sample_var,_Alpha_One_var,_Slit_Mono_var,_D2B_ALPHA1_Div_var,_D2B_Mono_XY_var,_Alpha_Two_var,_SMguide_var,_Win6_var,_D2B_BananaThetaCenter_var,_D2B_BananaPSD_var,_D2B_ALPHA2_Div_var,_collimador_radial_var) mcenabletrace: 5900, Generating update device(mcdotrace) /usr/bin/ld: /tmp/nvccPrpgg-O_rfMP.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-11-24/McStas_8GPU_openacc_1e7_Linux_1e7/ILL_D2B_noenv/./ILL_D2B_noenv.c:12635: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===