INFO: No output directory specified (--dir) INFO: Using directory: "templateSANS2_20241222_094807" INFO: Regenerating c-file: templateSANS2.c DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS -t -o ./templateSANS2.c templateSANS2.instr No initialization present? ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: -> SPLIT 10 at component sample_conventional ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> GPU kernel from component a1 -> GPU kernel from component arm -> GPU kernel from component source -> GPU kernel from component coll1 -> GPU kernel from component coll2 -> GPU kernel from component sample_position -> GPU kernel from component Sample_in -> SPLIT within buffer at component sample_conventional -> GPU kernel from component detector -> GPU kernel from component detectorSANS -> GPU kernel from component detectorDB -> GPU kernel from component Ldetector -> GPU kernel from component PSDrad -> GPU kernel from component PSDrad_full ----------------------------------------------------------- DEBUG: CMD: /u/data/pkwi/McStas/mcstas/3.x-dev/bin/mcstas-antlr -I$MCSTAS finished INFO: Recompiling: ./templateSANS2.out DEBUG: CMD: nvc -o ./templateSANS2.out ./templateSANS2.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 "./templateSANS2.c", line 4492: warning: variable "num" was declared but never referenced [declared_but_not_referenced] int num = 3; ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./templateSANS2.c", line 7235: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./templateSANS2.c", line 7266: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./templateSANS2.c", line 8670: warning: variable "thmax" was set but never used [set_but_not_used] double qmax,qmaxl,Ymax,Xmax,thmax; ^ "./templateSANS2.c", line 10298: warning: variable "radius" was declared but never referenced [declared_but_not_referenced] double radius = 0; ^ "./templateSANS2.c", line 10299: warning: variable "h" was declared but never referenced [declared_but_not_referenced] double h = 0; ^ "./templateSANS2.c", line 10674: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./templateSANS2.c", line 10675: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./templateSANS2.c", line 1500: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./templateSANS2.c", line 2903: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 90, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 104, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 137, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 162, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 185, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 197, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 206, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 217, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1547, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1551, Generating acc routine seq Generating NVIDIA GPU code str_len: 1560, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 4113, Generating acc routine seq Generating NVIDIA GPU code coords_set: 4544, Generating acc routine seq Generating NVIDIA GPU code coords_get: 4555, Generating acc routine seq Generating NVIDIA GPU code coords_add: 4564, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 4576, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 4588, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 4598, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 4608, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4616, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4626, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4648, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4655, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4701, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4736, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4747, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4764, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4775, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4791, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4820, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4831, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4835, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 5012, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 5043, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 5060, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 5159, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 5243, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 5309, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 5386, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5658, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5668, Generating acc routine seq Generating NVIDIA GPU code _hash: 5694, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5735, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5746, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5751, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5759, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5767, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5774, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 6431, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 6527, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 6544, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6659, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6714, Generating acc routine seq Generating NVIDIA GPU code Min: 6838, Generating acc routine seq Generating NVIDIA GPU code Max: 6843, Generating acc routine seq Generating NVIDIA GPU code IMin: 6848, Generating acc routine seq Generating NVIDIA GPU code IMax: 6853, Generating acc routine seq Generating NVIDIA GPU code dSigdW: 6858, Generating acc routine seq Generating NVIDIA GPU code init: 8297, Generating update device(_Sample_in_var,_a1_var,_source_var,_sample_position_var,_arm_var,_coll1_var,_sample_conventional_var,_PSDrad_var,_instrument_var,_detectorSANS_var,_detectorDB_var,_coll2_var,_PSDrad_full_var,_Ldetector_var,_detector_var) class_Progress_bar_trace: 8338, Generating acc routine seq Generating NVIDIA GPU code class_Source_simple_trace: 8429, Generating acc routine seq Generating NVIDIA GPU code class_Slit_trace: 8532, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_trace: 8576, Generating acc routine seq Generating NVIDIA GPU code class_SANS_spheres2_trace: 8647, Generating acc routine seq Generating NVIDIA GPU code class_L_monitor_trace: 8892, Generating acc routine seq Generating NVIDIA GPU code class_PSD_monitor_rad_trace: 8965, Generating acc routine seq Generating NVIDIA GPU code raytrace: 9030, Generating acc routine seq Generating NVIDIA GPU code raytrace_all: 9366, Generating implicit firstprivate(gpu_innerloop) Generating NVIDIA GPU code 9380, #pragma acc loop gang(numgangs), vector(vecsize) /* blockIdx.x threadIdx.x */ 9366, Local memory used for .inl_particle_12760,particleN,.inl_.inl_mcneutron_0_12775,.inl_.X1893_12777,.inl_.inl_.X2085_15_12776 9380, Generating implicit firstprivate(seed,_particle) finally: 10081, Generating update self(_Sample_in_var,_a1_var,_sample_position_var,_source_var,_arm_var,_coll1_var,_sample_conventional_var,_PSDrad_var,_instrument_var,_detectorSANS_var,_detectorDB_var,_coll2_var,_PSDrad_full_var,_Ldetector_var,_detector_var) mcenabletrace: 5893, Generating update device(mcdotrace) /u/data/pkwi/McStas/mcstas/3.x-dev/tools/../miniconda3/bin//ld: warning: /tmp/pgcudafatqhrmhWdr08lZy.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: ===