INFO: No output directory specified (--dir) INFO: Using directory: "ILL_D2B_20240919_002418" INFO: Regenerating c-file: ILL_D2B.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas -t -o ./ILL_D2B.c ILL_D2B.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 Container_in 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.out DEBUG: CMD: nvc -o ./ILL_D2B.out ./ILL_D2B.c -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_D2B.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.c", line 10959: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B.c", line 10959: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_D2B.c", line 10986: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B.c", line 10986: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_D2B.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.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.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.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.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.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.c", line 11671: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_D2B.c", line 13628: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_D2B.c", line 13616: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 1; ^ "./ILL_D2B.c", line 13669: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 2; ^ "./ILL_D2B.c", line 13759: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 3; ^ "./ILL_D2B.c", line 13817: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 4; ^ "./ILL_D2B.c", line 13875: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 5; ^ "./ILL_D2B.c", line 13933: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 6; ^ "./ILL_D2B.c", line 13991: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 7; ^ "./ILL_D2B.c", line 14049: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 8; ^ "./ILL_D2B.c", line 14107: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 9; ^ "./ILL_D2B.c", line 14165: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 10; ^ "./ILL_D2B.c", line 14223: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 11; ^ "./ILL_D2B.c", line 14281: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 12; ^ "./ILL_D2B.c", line 14343: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 13; ^ "./ILL_D2B.c", line 14404: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 14; ^ "./ILL_D2B.c", line 14462: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 15; ^ "./ILL_D2B.c", line 14564: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 16; ^ "./ILL_D2B.c", line 14666: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 17; ^ "./ILL_D2B.c", line 14768: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 18; ^ "./ILL_D2B.c", line 14817: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 19; ^ "./ILL_D2B.c", line 14894: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 20; ^ "./ILL_D2B.c", line 14954: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 21; ^ "./ILL_D2B.c", line 15003: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 22; ^ "./ILL_D2B.c", line 15074: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 23; ^ "./ILL_D2B.c", line 15135: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 24; ^ "./ILL_D2B.c", line 15193: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 25; ^ "./ILL_D2B.c", line 15295: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 26; ^ "./ILL_D2B.c", line 15397: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 27; ^ "./ILL_D2B.c", line 15446: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 28; ^ "./ILL_D2B.c", line 15539: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 29; ^ "./ILL_D2B.c", line 15632: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 30; ^ "./ILL_D2B.c", line 15725: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 31; ^ "./ILL_D2B.c", line 15791: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 32; ^ "./ILL_D2B.c", line 15893: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 33; ^ "./ILL_D2B.c", line 15995: warning: variable "current_setpos_index" was declared but never referenced [declared_but_not_referenced] int current_setpos_index = 34; ^ "./ILL_D2B.c", line 19408: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_D2B.c", line 19409: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_D2B.c", line 19412: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_D2B.c", line 19415: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_D2B.c", line 19419: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_D2B.c", line 19421: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_D2B.c", line 19422: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_D2B.c", line 19423: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_D2B.c", line 19425: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_D2B.c", line 23358: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_D2B.c", line 23359: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_D2B.c", line 1508: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_D2B.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: 17791, 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,_Container_out_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,_Arm_Sample_var,_SMguide_var,_Container_in_var,_Win6_var,_D2B_BananaThetaCenter_var,_D2B_BananaPSD_var,_D2B_ALPHA2_Div_var,_collimador_radial_var) class_Progress_bar_trace: 17836, Generating acc routine seq Generating NVIDIA GPU code class_Source_gen_trace: 17926, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 18135, Generating acc routine seq Generating NVIDIA GPU code class_Guide_trace: 18179, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_linear_trace: 18332, Generating acc routine seq Generating NVIDIA GPU code class_Monitor_nD_trace: 18406, Generating acc routine seq Generating NVIDIA GPU code class_Monochromator_curved_trace: 18696, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_4PI_trace: 19041, Generating acc routine seq Generating NVIDIA GPU code class_Guide_channeled_trace: 19119, Generating acc routine seq Generating NVIDIA GPU code class_PowderN_trace: 19360, Generating acc routine seq Generating NVIDIA GPU code class_Collimator_radial_trace: 19822, Generating acc routine seq Generating NVIDIA GPU code raytrace: 19974, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 20734, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 20745, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 20734, Local memory used for .inl_particle_26552,particleN,.inl_.inl_mcneutron_0_26567,.inl_.X2354_26569,.inl_.inl_.X2562_15_26568 20745, Generating implicit firstprivate(seed,_particle) finally: 21984, 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,_Container_out_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,_Arm_Sample_var,_SMguide_var,_Container_in_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/nvcflfppWiNN0r7.o: in function `cif2hkl': /u/data/pkwi/TESTS/2024-09-19/McStas_8GPU_openacc_5e6_Linux_5e6/ILL_D2B/./ILL_D2B.c:12635: warning: the use of `tmpnam' is dangerous, better use `mkstemp' DEBUG: CMD: nvc finished INFO: ===