loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H22_D1B_noenv_20221001_004628" INFO: Regenerating c-file: ILL_H22_D1B_noenv.c DEBUG: CMD: mcstas -t -o ./ILL_H22_D1B_noenv.c /home/nexmap/pkwi/TESTS/2022-10-01/McStas_8GPU_5e7/ILL_H22_D1B_noenv/ILL_H22_D1B_noenv.instr Info: 'Al_window' is a contributed component. Info: 'Filter_graphite' is a contributed component. Info: 'Exact_radial_coll' is a contributed component. CFLAGS= 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 mono_cradle -> SPLIT N at component slit_D1B ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component mono_cradle -> SPLIT within buffer at component slit_D1B ----------------------------------------------------------- INFO: Recompiling: ./ILL_H22_D1B_noenv.out DEBUG: CMD: nvc -o ./ILL_H22_D1B_noenv.out ./ILL_H22_D1B_noenv.c -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/include -fast -Minfo=accel -acc=gpu -gpu=managed -DOPENACC "./ILL_H22_D1B_noenv.c", line 1520: warning: arithmetic on pointer to void or function type if (MPI_Send((void*)(sbuf+offset*dsize), length, dtype, dest, tag++, MPI_COMM_WORLD) != MPI_SUCCESS) ^ "./ILL_H22_D1B_noenv.c", line 1547: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./ILL_H22_D1B_noenv.c", line 3266: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./ILL_H22_D1B_noenv.c", line 12439: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./ILL_H22_D1B_noenv.c", line 12440: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./ILL_H22_D1B_noenv.c", line 22808: warning: incompatible redefinition of macro "exit" (declared at line 487) #define exit(...) noprintf() ^ "./ILL_H22_D1B_noenv.c", line 23402: warning: variable "Al_my_tot" was set but never used double Al_s_tot_lambda,Al_my_tot,Al_my_a ; /* total XS (barn), total scattering length (m-1), absorption scat. length */ ^ "./ILL_H22_D1B_noenv.c", line 24242: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_H22_D1B_noenv.c", line 24243: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_H22_D1B_noenv.c", line 24246: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_H22_D1B_noenv.c", line 24249: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_H22_D1B_noenv.c", line 24253: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_H22_D1B_noenv.c", line 24255: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_H22_D1B_noenv.c", line 24256: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_H22_D1B_noenv.c", line 24257: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_H22_D1B_noenv.c", line 24259: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_H22_D1B_noenv.c", line 31879: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./ILL_H22_D1B_noenv.c", line 31819: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./ILL_H22_D1B_noenv.c", line 1338: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H22_D1B_noenv.c", line 2579: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ mcgenstate: 91, Generating acc routine seq Generating Tesla code particle_getvar: 105, Generating acc routine seq Generating Tesla code particle_getvar_void: 136, Generating acc routine seq Generating Tesla code particle_setvar_void: 162, Generating acc routine seq Generating Tesla code particle_setvar_void_array: 186, Generating acc routine seq Generating Tesla code particle_restore: 197, Generating acc routine seq Generating Tesla code particle_getuservar_byid: 206, Generating acc routine seq Generating Tesla code particle_uservar_init: 218, Generating acc routine seq Generating Tesla code noprintf: 1370, Generating acc routine seq Generating Tesla code str_comp: 1374, Generating acc routine seq Generating Tesla code str_len: 1383, Generating acc routine seq Generating Tesla code mcget_ncount: 3557, Generating acc routine seq Generating Tesla code coords_set: 3794, Generating acc routine seq Generating Tesla code coords_get: 3805, Generating acc routine seq Generating Tesla code coords_add: 3814, Generating acc routine seq Generating Tesla code coords_sub: 3826, Generating acc routine seq Generating Tesla code coords_neg: 3838, Generating acc routine seq Generating Tesla code coords_scale: 3848, Generating acc routine seq Generating Tesla code coords_sp: 3858, Generating acc routine seq Generating Tesla code coords_xp: 3866, Generating acc routine seq Generating Tesla code coords_len: 3876, Generating acc routine seq Generating Tesla code coords_print: 3898, Generating acc routine seq Generating Tesla code coords_norm: 3905, Generating acc routine seq Generating Tesla code rot_set_rotation: 3951, Generating acc routine seq Generating Tesla code rot_test_identity: 3986, Generating acc routine seq Generating Tesla code rot_mul: 3997, Generating acc routine seq Generating Tesla code rot_copy: 4014, Generating acc routine seq Generating Tesla code rot_transpose: 4025, Generating acc routine seq Generating Tesla code rot_apply: 4041, Generating acc routine seq Generating Tesla code vec_prod_func: 4070, Generating acc routine seq Generating Tesla code scalar_prod: 4081, Generating acc routine seq Generating Tesla code norm_func: 4085, Generating acc routine seq Generating Tesla code mccoordschange: 4262, Generating acc routine seq Generating Tesla code mccoordschange_polarisation: 4293, Generating acc routine seq Generating Tesla code normal_vec: 4310, Generating acc routine seq Generating Tesla code solve_2nd_order: 4409, Generating acc routine seq Generating Tesla code _randvec_target_circle: 4493, Generating acc routine seq Generating Tesla code _randvec_target_rect_angular: 4559, Generating acc routine seq Generating Tesla code _randvec_target_rect_real: 4636, Generating acc routine seq Generating Tesla code kiss_srandom: 4908, Generating acc routine seq Generating Tesla code kiss_random: 4918, Generating acc routine seq Generating Tesla code _hash: 4944, Generating acc routine seq Generating Tesla code _randnorm2: 4985, Generating acc routine seq Generating Tesla code _randtriangle: 4996, Generating acc routine seq Generating Tesla code _rand01: 5001, Generating acc routine seq Generating Tesla code _randpm1: 5009, Generating acc routine seq Generating Tesla code _rand0max: 5017, Generating acc routine seq Generating Tesla code _randminmax: 5024, Generating acc routine seq Generating Tesla code mcsetstate: 5636, Generating acc routine seq Generating Tesla code inside_rectangle: 5728, Generating acc routine seq Generating Tesla code box_intersect: 5745, Generating acc routine seq Generating Tesla code cylinder_intersect: 5860, Generating acc routine seq Generating Tesla code sphere_intersect: 5915, Generating acc routine seq Generating Tesla code Table_Index: 6914, Generating acc routine seq Generating Tesla code Table_Value: 6982, Generating acc routine seq Generating Tesla code Table_Value2d: 7061, Generating acc routine seq Generating Tesla code Table_Interp1d: 7499, Generating acc routine seq Generating Tesla code Table_Interp1d_nearest: 7515, Generating acc routine seq Generating Tesla code Table_Interp2d: 7533, Generating acc routine seq Generating Tesla code SG_Maxwell: 7580, Generating acc routine seq Generating Tesla code StdReflecFunc: 7672, Generating acc routine seq Generating Tesla code TableReflecFunc: 7728, Generating acc routine seq Generating Tesla code Gravity_guide_Trace: 7875, Generating acc routine seq Generating Tesla code nvc-Fatal-/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/compilers/bin/tools/cpp2 TERMINATED by signal 11 Arguments to /opt/nvidia/hpc_sdk/Linux_x86_64/21.7/compilers/bin/tools/cpp2 /opt/nvidia/hpc_sdk/Linux_x86_64/21.7/compilers/bin/tools/cpp2 ./ILL_H22_D1B_noenv.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 34 0x8 -x 32 31457280 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 199 10 -x 39 0x80 -x 59 4 -tp haswell -x 120 0x1000 -astype 0 -x 121 1 -fn ./ILL_H22_D1B_noenv.c -il /tmp/nvcBevbrnNmb4h7.il -x 123 0x80000000 -x 123 4 -x 119 0x20 -def __pgnu_vsn=40805 -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 110 -x 120 0x200000 -x 70 0x40000000 -x 8 0x40000000 -x 164 0x800000 -x 85 0x2000 -x 85 0x4000 -x 34 0x40000000 -x 53 0x800000 -x 206 0x02 -x 68 0x1 -x 39 4 -x 56 0x10 -x 26 0x10 -x 26 1 -x 56 0x4000 -accel tesla -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 11000 -x 176 0x100 -cudacap 61 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/21.7/cuda/11.0/ -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/21.7/cuda/11.0/ -x 176 0x100 -cudacap 61 -x 189 0x8000 -y 163 0xc0000000 -x 201 0xf0000000 -x 189 0x10 -y 189 0x4000000 -cudaroot /opt/nvidia/hpc_sdk/Linux_x86_64/21.7/cuda/11.0/ -x 9 1 -x 42 0x14200000 -x 72 0x1 -x 136 0x11 -x 37 0x480000 -x 9 1 -x 42 0x14200000 -x 72 0x1 -x 136 0x11 -x 37 0x480000 -x 129 2 -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 40805 -x 69 0x200 -x 123 0x400 -cmdline '+nvc /tmp/nvcBevbrnNmb4h7.il -o ./ILL_H22_D1B_noenv.out -lm -DUSE_MPI -lmpi -L/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/lib -I/opt/nvidia/hpc_sdk/Linux_x86_64/21.7/comm_libs/mpi/include -fast -Mvect=simd -Mflushz -Mcache_align -Minfo=accel -acc=gpu -gpu=managed -DOPENACC' -asm /tmp/nvclevbHYNiD3fd.ll