INFO: No output directory specified (--dir) INFO: Using directory: "Test_Pol_Bender_20220401_012406" INFO: Regenerating c-file: Test_Pol_Bender.c DEBUG: CMD: mcstas -t -o ./Test_Pol_Bender.c /home/nexmap/pkwi/TESTS/2022-04-01/McStas_8GPU_5e7/Test_Pol_Bender/Test_Pol_Bender.instr CFLAGS= WARNING: The parameter rTopUpPar of bender 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. WARNING: The parameter rTopDownPar of bender 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. WARNING: The parameter rBotUpPar of bender 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. WARNING: The parameter rBotDownPar of bender 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. WARNING: The parameter rLeftUpPar of bender 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. WARNING: The parameter rLeftDownPar of bender 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. WARNING: The parameter rRightUpPar of bender 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. WARNING: The parameter rRightDownPar of bender 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: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- INFO: Recompiling: ./Test_Pol_Bender.out DEBUG: CMD: nvc -o ./Test_Pol_Bender.out ./Test_Pol_Bender.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 -ta:tesla,managed -DOPENACC "./Test_Pol_Bender.c", line 1442: 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_Pol_Bender.c", line 1469: warning: arithmetic on pointer to void or function type if (MPI_Recv((void*)(sbuf+offset*dsize), length, dtype, source, tag++, ^ "./Test_Pol_Bender.c", line 3188: warning: missing return statement at end of non-void function "siminfo_init" } /* siminfo_init */ ^ "./Test_Pol_Bender.c", line 8204: warning: variable "count" was declared but never referenced long count=0; ^ "./Test_Pol_Bender.c", line 8295: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./Test_Pol_Bender.c", line 9306: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Pol_Bender.c", line 9307: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Pol_Bender.c", line 10270: warning: variable "i" was declared but never referenced int i, j; ^ "./Test_Pol_Bender.c", line 10270: warning: variable "j" was declared but never referenced int i, j; ^ "./Test_Pol_Bender.c", line 10480: warning: incompatible redefinition of macro "exit" (declared at line 411) #define exit(...) noprintf() ^ "./Test_Pol_Bender.c", line 10481: warning: incompatible redefinition of macro "strcmp" (declared at line 8252) #define strcmp(a,b) str_comp(a,b) ^ "./Test_Pol_Bender.c", line 11128: warning: statement is unreachable break; ^ "./Test_Pol_Bender.c", line 10951: warning: variable "tMirror" was declared but never referenced double tLeft, tRight, tTop, tBot, tIn, tOut, tMirror; ^ "./Test_Pol_Bender.c", line 10907: warning: variable "endtime" was declared but never referenced double t11, t12, t21, t22, theta, alpha, endtime, phi; ^ "./Test_Pol_Bender.c", line 10908: warning: variable "i_bounce" was declared but never referenced int i_bounce; ^ "./Test_Pol_Bender.c", line 12617: warning: use of a const variable in a constant expression is nonstandard in C double xplot[n], zplot[n]; ^ "./Test_Pol_Bender.c", line 12617: warning: use of a const variable in a constant expression is nonstandard in C double xplot[n], zplot[n]; ^ "./Test_Pol_Bender.c", line 12964: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./Test_Pol_Bender.c", line 12904: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Pol_Bender.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Pol_Bender.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ NVC++-W-0155-Upcoming behavior change: array reference in data/update clause with no triplet notation will be treated as an array element in a future release: rotLM (./Test_Pol_Bender.c: 10949) NVC++/x86-64 Linux 21.7-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_8GPU/mccode_config.json