loading system configuration loading override configuration from /users/willend/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_DUAL_A100_DMSC/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H53_D16_20230601_011710" INFO: Regenerating c-file: ILL_H53_D16.c DEBUG: CMD: mcstas -t -o ./ILL_H53_D16.c /users/willend/TESTS/2023-06-01/McStas_DUAL_A100_DMSC_5e7/ILL_H53_D16/ILL_H53_D16.instr Info: 'Al_window' is a contributed component. Info: 'PSD_Detector' is a contributed component. CFLAGS= WARNING: --> USERVAR flag_al is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: --> USERVAR flag_sample is of type char and may need specific --> per-particle initialisation through an --> EXTEND block! WARNING: The parameter format of SampleP 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 mono -> SPLIT N at component D16_xy ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component mono -> SPLIT within buffer at component D16_xy ----------------------------------------------------------- INFO: Recompiling: ./ILL_H53_D16.out DEBUG: CMD: nvc -o ./ILL_H53_D16.out ./ILL_H53_D16.c -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/23.3/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/23.3/comm_libs/mpi/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H53_D16.c", line 1659: warning: arithmetic on pointer to void or function type [nonobject_pointer_arithmetic] if (MPI_Send((void*)(sbuf+offset*dsize), length, dtype, dest, tag++, MPI_COMM_WORLD) != MPI_SUCCESS) ^ Remark: individual warnings can be suppressed with "--diag_suppress " "./ILL_H53_D16.c", line 1686: warning: arithmetic on pointer to void or function type [nonobject_pointer_arithmetic] if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./ILL_H53_D16.c", line 3404: warning: missing return statement at end of non-void function "siminfo_init" [implicit_return_from_non_void_function] } /* siminfo_init */ ^ "./ILL_H53_D16.c", line 10217: warning: variable "dt" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H53_D16.c", line 10217: warning: variable "dy" was set but never used [set_but_not_used] double dt, dy; ^ "./ILL_H53_D16.c", line 10244: warning: variable "dx" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H53_D16.c", line 10244: warning: variable "dy" was set but never used [set_but_not_used] double dx, dy; ^ "./ILL_H53_D16.c", line 10572: 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_H53_D16.c", line 10572: 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_H53_D16.c", line 10572: 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_H53_D16.c", line 10572: 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_H53_D16.c", line 10572: 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_H53_D16.c", line 10572: 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_H53_D16.c", line 10928: warning: variable "plane_Eq" was declared but never referenced [declared_but_not_referenced] double plane_Eq [4]; ^ "./ILL_H53_D16.c", line 12987: warning: variable "tc2" was set but never used [set_but_not_used] Coords tc1, tc2; ^ "./ILL_H53_D16.c", line 21052: warning: variable "element_size" is used before its value is set [used_before_set] bufsize*element_size/1e6, bufsize*sizeof(double)/1e6); ^ "./ILL_H53_D16.c", line 20703: warning: variable "j" was declared but never referenced [declared_but_not_referenced] long i,j; ^ "./ILL_H53_D16.c", line 21610: warning: incompatible redefinition of macro "exit" (declared at line 475) [bad_macro_redef] #define exit(...) noprintf() ^ "./ILL_H53_D16.c", line 21935: warning: variable "Al_my_tot" was set but never used [set_but_not_used] double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./ILL_H53_D16.c", line 23037: warning: variable "type" was set but never used [set_but_not_used] char type = '\0'; ^ "./ILL_H53_D16.c", line 23038: warning: variable "itype" was set but never used [set_but_not_used] int itype = 0; ^ "./ILL_H53_D16.c", line 23041: warning: variable "nb_reuses" was declared but never referenced [declared_but_not_referenced] int nb_reuses = line_info.nb_reuses; ^ "./ILL_H53_D16.c", line 23044: warning: variable "vcache" was set but never used [set_but_not_used] double vcache = line_info.v; ^ "./ILL_H53_D16.c", line 23048: warning: variable "lfree" was set but never used [set_but_not_used] double lfree = line_info.lfree; ^ "./ILL_H53_D16.c", line 23050: warning: variable "xs_compute" was declared but never referenced [declared_but_not_referenced] long xs_compute = line_info.xs_compute; ^ "./ILL_H53_D16.c", line 23051: warning: variable "xs_reuse" was declared but never referenced [declared_but_not_referenced] long xs_reuse = line_info.xs_reuse; ^ "./ILL_H53_D16.c", line 23052: warning: variable "xs_calls" was declared but never referenced [declared_but_not_referenced] long xs_calls = line_info.xs_calls; ^ "./ILL_H53_D16.c", line 23054: warning: variable "dq" was set but never used [set_but_not_used] double dq = line_info.dq; ^ "./ILL_H53_D16.c", line 23496: warning: variable "d_phi" was declared but never referenced [declared_but_not_referenced] double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s; ^ "./ILL_H53_D16.c", line 23496: warning: variable "theta" was declared but never referenced [declared_but_not_referenced] double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s; ^ "./ILL_H53_D16.c", line 23496: warning: variable "my_s" was declared but never referenced [declared_but_not_referenced] double t0, t1, v, l_full, l, l_1, dt, d_phi, theta, my_s; ^ "./ILL_H53_D16.c", line 23497: warning: variable "axis_x" was declared but never referenced [declared_but_not_referenced] double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z; ^ "./ILL_H53_D16.c", line 23497: warning: variable "axis_y" was declared but never referenced [declared_but_not_referenced] double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z; ^ "./ILL_H53_D16.c", line 23497: warning: variable "axis_z" was declared but never referenced [declared_but_not_referenced] double aim_x=0, aim_y=0, aim_z=1, axis_x, axis_y, axis_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "arg" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "tmp_vx" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "tmp_vy" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "tmp_vz" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "vout_x" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "vout_y" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 23498: warning: variable "vout_z" was declared but never referenced [declared_but_not_referenced] double arg, tmp_vx, tmp_vy, tmp_vz, vout_x, vout_y, vout_z; ^ "./ILL_H53_D16.c", line 24153: warning: variable "pp" was set but never used [set_but_not_used] double pp,P2; ^ "./ILL_H53_D16.c", line 30535: warning: variable "t" was declared but never referenced [declared_but_not_referenced] time_t t; ^ "./ILL_H53_D16.c", line 30536: warning: variable "ct" was set but never used [set_but_not_used] clock_t ct; ^ "./ILL_H53_D16.c", line 1364: warning: variable "mcstartdate" was set but never used [set_but_not_used] static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H53_D16.c", line 2718: warning: function "strcpy_valid" was declared but never referenced [declared_but_not_referenced] static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 69, Generating acc routine seq Generating NVIDIA GPU code particle_getvar: 83, Generating acc routine seq Generating NVIDIA GPU code particle_getvar_void: 114, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void: 140, Generating acc routine seq Generating NVIDIA GPU code particle_setvar_void_array: 164, Generating acc routine seq Generating NVIDIA GPU code particle_restore: 175, Generating acc routine seq Generating NVIDIA GPU code particle_getuservar_byid: 184, Generating acc routine seq Generating NVIDIA GPU code particle_uservar_init: 196, Generating acc routine seq Generating NVIDIA GPU code noprintf: 1404, Generating acc routine seq Generating NVIDIA GPU code str_comp: 1408, Generating acc routine seq Generating NVIDIA GPU code str_len: 1417, Generating acc routine seq Generating NVIDIA GPU code mcget_ncount: 3695, Generating acc routine seq Generating NVIDIA GPU code coords_set: 3932, Generating acc routine seq Generating NVIDIA GPU code coords_get: 3943, Generating acc routine seq Generating NVIDIA GPU code coords_add: 3952, Generating acc routine seq Generating NVIDIA GPU code coords_sub: 3964, Generating acc routine seq Generating NVIDIA GPU code coords_neg: 3976, Generating acc routine seq Generating NVIDIA GPU code coords_scale: 3986, Generating acc routine seq Generating NVIDIA GPU code coords_sp: 3996, Generating acc routine seq Generating NVIDIA GPU code coords_xp: 4004, Generating acc routine seq Generating NVIDIA GPU code coords_len: 4014, Generating acc routine seq Generating NVIDIA GPU code coords_print: 4036, Generating acc routine seq Generating NVIDIA GPU code coords_norm: 4043, Generating acc routine seq Generating NVIDIA GPU code rot_set_rotation: 4089, Generating acc routine seq Generating NVIDIA GPU code rot_test_identity: 4124, Generating acc routine seq Generating NVIDIA GPU code rot_mul: 4135, Generating acc routine seq Generating NVIDIA GPU code rot_copy: 4152, Generating acc routine seq Generating NVIDIA GPU code rot_transpose: 4163, Generating acc routine seq Generating NVIDIA GPU code rot_apply: 4179, Generating acc routine seq Generating NVIDIA GPU code vec_prod_func: 4208, Generating acc routine seq Generating NVIDIA GPU code scalar_prod: 4219, Generating acc routine seq Generating NVIDIA GPU code norm_func: 4223, Generating acc routine seq Generating NVIDIA GPU code mccoordschange: 4400, Generating acc routine seq Generating NVIDIA GPU code mccoordschange_polarisation: 4431, Generating acc routine seq Generating NVIDIA GPU code normal_vec: 4448, Generating acc routine seq Generating NVIDIA GPU code solve_2nd_order: 4547, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_circle: 4631, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_angular: 4697, Generating acc routine seq Generating NVIDIA GPU code _randvec_target_rect_real: 4774, Generating acc routine seq Generating NVIDIA GPU code kiss_srandom: 5046, Generating acc routine seq Generating NVIDIA GPU code kiss_random: 5056, Generating acc routine seq Generating NVIDIA GPU code _hash: 5082, Generating acc routine seq Generating NVIDIA GPU code _randnorm2: 5123, Generating acc routine seq Generating NVIDIA GPU code _randtriangle: 5134, Generating acc routine seq Generating NVIDIA GPU code _rand01: 5139, Generating acc routine seq Generating NVIDIA GPU code _randpm1: 5147, Generating acc routine seq Generating NVIDIA GPU code _rand0max: 5155, Generating acc routine seq Generating NVIDIA GPU code _randminmax: 5162, Generating acc routine seq Generating NVIDIA GPU code mcsetstate: 5779, Generating acc routine seq Generating NVIDIA GPU code inside_rectangle: 5871, Generating acc routine seq Generating NVIDIA GPU code box_intersect: 5888, Generating acc routine seq Generating NVIDIA GPU code cylinder_intersect: 6003, Generating acc routine seq Generating NVIDIA GPU code sphere_intersect: 6058, Generating acc routine seq Generating NVIDIA GPU code Table_Index: 7041, Generating acc routine seq Generating NVIDIA GPU code Table_Value: 7109, Generating acc routine seq Generating NVIDIA GPU code Table_Value2d: 7188, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d: 7626, Generating acc routine seq Generating NVIDIA GPU code Table_Interp1d_nearest: 7642, Generating acc routine seq Generating NVIDIA GPU code Table_Interp2d: 7660, Generating acc routine seq Generating NVIDIA GPU code SG_Maxwell: 7707, Generating acc routine seq Generating NVIDIA GPU code StdReflecFunc: 7831, Generating acc routine seq Generating NVIDIA GPU code TableReflecFunc: 7890, Generating acc routine seq Generating NVIDIA GPU code Gravity_guide_Trace: 8156, Generating acc routine seq Generating NVIDIA GPU code nvc-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/23.3/compilers/bin/tools/cpp2 TERMINATED by signal 11 Arguments to /opt/nvidia/hpc_sdk/Linux_x86_64/23.3/compilers/bin/tools/cpp2 /opt/nvidia/hpc_sdk/Linux_x86_64/23.3/compilers/bin/tools/cpp2 ./ILL_H53_D16.c -opt 2 -terse 1 -inform warn -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -quad -vect 56 -y 34 16 -x 37 0x480000 -x 34 0x8 -x 32 25952256 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 199 10 -x 39 0x80 -x 59 4 -tp skylake-avx512 -x 120 0x1000 -astype 0 -x 121 1 -fn ./ILL_H53_D16.c -il /tmp/nvcmZzvfKC0Mxiv5.il -x 123 0x80000000 -x 123 4 -x 119 0x20 -def __pgnu_vsn=80301 -x 70 0x40000000 -x 183 4 -x 121 0x800 -x 6 0x20000 -x 122 0x400000 -y 125 0x100000 -autoinl 10 -x 168 400 -x 174 128000 -x 14 0x200000 -x 14 0x400000 -autoinl 10 -x 168 400 -x 174 128000 -x 14 0x200000 -x 14 0x400000 -x 249 160 -x 120 0x200000 -x 70 0x40000000 -x 8 0x40000000 -x 164 0x800000 -x 71 0x2000 -x 71 0x4000 -x 34 0x40000000 -x 83 0x1 -x 85 0x1 -x 15 0x1000000 -x 206 0x02 -x 120 0x1000000 -x 73 0x04 -x 68 0x1 -x 39 4 -x 56 0x10 -x 26 0x10 -x 26 1 -x 56 0x4000 -accel tesla -x 197 0 -x 175 0 -x 203 0 -x 204 0 -x 180 0x4000400 -x 121 0xc00 -x 186 0x80 -x 180 0x4000400 -x 121 0xc00 -x 194 0x40000 -x 163 0x1 -x 186 0x80000 -cudaver 12000 -x 176 0x100 -cudacap 80 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/23.3/cuda/12.0 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/23.3/cuda/12.0 -x 176 0x100 -cudacap 80 -x 189 0x8000 -y 163 0xc0000000 -x 189 0x10 -y 189 0x4000000 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/23.3/cuda/12.0 -x 187 0x40000 -x 187 0x8000000 -x 60 512 -x 9 1 -x 42 0x14200000 -x 72 0x1 -x 136 0x11 -x 9 1 -x 42 0x14200000 -x 72 0x1 -x 136 0x11 -x 129 2 -y 129 0x8000 -quad -x 119 0x10000000 -x 129 0x40000000 -x 0 0x1000000 -x 2 0x100000 -x 0 0x2000000 -x 161 16384 -x 162 16384 -x 194 0x20000000 -x 198 0x100 -gnuvsn 80301 -x 69 0x200 -x 123 0x400 -cmdline '+nvc /tmp/nvcmZzvfKC0Mxiv5.il -o ./ILL_H53_D16.out -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/23.3/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/23.3/comm_libs/mpi/include -fast -Mvect=simd -Mflushz -Mcache_align -Mno-signed-zeros -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' -asm /tmp/nvcmZzvfKjyuB4ds.ll