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: "Test_Guides_20221001_015629" INFO: Regenerating c-file: Test_Guides.c DEBUG: CMD: mcstas -t -o ./Test_Guides.c /home/nexmap/pkwi/TESTS/2022-10-01/McStas_8GPU_5e7/Test_Guides/Test_Guides.instr Info: 'Guide_curved' is a contributed component. Info: 'Guide_honeycomb' is a contributed component. Info: 'Guide_anyshape_r' is a contributed component. CFLAGS= -DUSE_OFF -DUSE_OFF -DUSE_OFF ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_Guides.out DEBUG: CMD: nvc -o ./Test_Guides.out ./Test_Guides.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 -DUSE_OFF -DUSE_OFF -DUSE_OFF "./Test_Guides.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) ^ "./Test_Guides.c", line 1547: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./Test_Guides.c", line 3266: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./Test_Guides.c", line 11351: warning: variable "numerator" was declared but never referenced double numerator; ^ "./Test_Guides.c", line 11352: warning: variable "denominator" was declared but never referenced double denominator; ^ "./Test_Guides.c", line 13002: warning: argument of type "r_intersection *" is incompatible with parameter of type "intersection *" int t_size=off_clip_3D_mod(intersect4, A, B, ^ "./Test_Guides.c", line 13838: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Guides.c", line 13839: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Guides.c", line 16847: warning: incompatible redefinition of macro "exit" (declared at line 487) #define exit(...) noprintf() ^ "./Test_Guides.c", line 18181: warning: variable "d" was declared but never referenced double av,ah,bv,bh,cv1,cv2,ch1,ch2,d; /* Intermediate values */ ^ "./Test_Guides.c", line 18189: warning: variable "vlen2" was declared but never referenced double vlen2,nlen2, norm_n2; /* Vector lengths squared */ ^ "./Test_Guides.c", line 18189: warning: variable "nlen2" was declared but never referenced double vlen2,nlen2, norm_n2; /* Vector lengths squared */ ^ "./Test_Guides.c", line 18190: warning: variable "nperp" was declared but never referenced double nperp,pz,nxy; /* for dot products */ ^ "./Test_Guides.c", line 18190: warning: variable "pz" was declared but never referenced double nperp,pz,nxy; /* for dot products */ ^ "./Test_Guides.c", line 18190: warning: variable "nxy" was declared but never referenced double nperp,pz,nxy; /* for dot products */ ^ "./Test_Guides.c", line 18426: warning: variable "ii" was set but never used int ii, i_bounce; ^ "./Test_Guides.c", line 18577: warning: enumerated type mixed with another type latestParticleCollision.side=0; ^ "./Test_Guides.c", line 18579: warning: enumerated type mixed with another type latestParticleCollision.collisionType=0; ^ "./Test_Guides.c", line 18958: warning: variable "nv" was set but never used float n,m1,nv,mv; ^ "./Test_Guides.c", line 18958: warning: variable "mv" was set but never used float n,m1,nv,mv; ^ "./Test_Guides.c", line 18963: warning: variable "w_edge" was declared but never referenced double w_edge, w_adj; /* Channel displacement */ ^ "./Test_Guides.c", line 18964: warning: variable "h_edge" was declared but never referenced double h_edge, h_adj; ^ "./Test_Guides.c", line 21238: warning: variable "x" was declared but never referenced double x; ^ "./Test_Guides.c", line 21239: warning: variable "i" was declared but never referenced int i; ^ "./Test_Guides.c", line 21434: warning: variable "Length" was declared but never referenced double Length; ^ "./Test_Guides.c", line 21435: warning: variable "entranceHorizontalWidth" was declared but never referenced double entranceHorizontalWidth; ^ "./Test_Guides.c", line 21436: warning: variable "entranceVerticalWidth" was declared but never referenced double entranceVerticalWidth; ^ "./Test_Guides.c", line 21439: warning: variable "ellipseMajorAxis" was declared but never referenced double ellipseMajorAxis[4], ellipseMinorAxis[4]; ^ "./Test_Guides.c", line 21439: warning: variable "ellipseMinorAxis" was declared but never referenced double ellipseMajorAxis[4], ellipseMinorAxis[4]; ^ "./Test_Guides.c", line 21440: warning: variable "ellipseMajorOffset" was declared but never referenced double ellipseMajorOffset[4], ellipseMinorOffset[4]; ^ "./Test_Guides.c", line 21440: warning: variable "ellipseMinorOffset" was declared but never referenced double ellipseMajorOffset[4], ellipseMinorOffset[4]; ^ "./Test_Guides.c", line 21446: warning: variable "tempz" was declared but never referenced double tempz = 0; ^ "./Test_Guides.c", line 22085: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_Guides.c", line 22025: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Guides.c", line 1338: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Guides.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: 6855, Generating acc routine seq Generating Tesla code Table_Value: 6923, Generating acc routine seq Generating Tesla code Table_Value2d: 7002, Generating acc routine seq Generating Tesla code Table_Interp1d: 7440, Generating acc routine seq Generating Tesla code Table_Interp1d_nearest: 7456, Generating acc routine seq Generating Tesla code Table_Interp2d: 7474, Generating acc routine seq Generating Tesla code SG_Maxwell: 7521, 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 ./Test_Guides.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 ./Test_Guides.c -il /tmp/nvc0TGcCVONMZBV.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/nvc0TGcCVONMZBV.il -o ./Test_Guides.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 -DUSE_OFF -DUSE_OFF -DUSE_OFF' -asm /tmp/nvc0TGcCcK_HbmG.ll