INFO: No output directory specified (--dir) INFO: Using directory: "Test_Guides_Curved_20220201_015555" INFO: Regenerating c-file: Test_Guides_Curved.c DEBUG: CMD: mcstas -t -o ./Test_Guides_Curved.c /zhome/89/0/38697/TESTS/2022-02-01/McStas_GPU_PGCC_TESLA_KISS_5e7/Test_Guides_Curved/Test_Guides_Curved.instr Info: 'Guide_curved' is a contributed component. CFLAGS= WARNING: The parameter rTopUpPar of GuideB is intitalized 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 GuideB is intitalized 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 GuideB is intitalized 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 GuideB is intitalized 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 GuideB is intitalized 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 GuideB is intitalized 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 GuideB is intitalized 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 GuideB is intitalized 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_Guides_Curved.out DEBUG: CMD: nvc -o ./Test_Guides_Curved.out ./Test_Guides_Curved.c -lm -ta:tesla,managed -DOPENACC "./Test_Guides_Curved.c", line 11049: warning: variable "numerator" was declared but never referenced double numerator; ^ "./Test_Guides_Curved.c", line 11050: warning: variable "denominator" was declared but never referenced double denominator; ^ "./Test_Guides_Curved.c", line 12249: warning: variable "count" was declared but never referenced long count=0; ^ "./Test_Guides_Curved.c", line 12340: warning: missing return statement at end of non-void function "interpolator_interpolate" } // interpolator_interpolate ^ "./Test_Guides_Curved.c", line 13325: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Guides_Curved.c", line 13326: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./Test_Guides_Curved.c", line 14279: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./Test_Guides_Curved.c", line 16011: warning: incompatible redefinition of macro "strcmp" (declared at line 12297) #define strcmp(a,b) str_comp(a,b) ^ "./Test_Guides_Curved.c", line 16613: warning: variable "ii" was set but never used int ii, i_bounce; ^ "./Test_Guides_Curved.c", line 16755: warning: enumerated type mixed with another type latestParticleCollision.side=0; ^ "./Test_Guides_Curved.c", line 16757: warning: enumerated type mixed with another type latestParticleCollision.collisionType=0; ^ "./Test_Guides_Curved.c", line 17176: warning: statement is unreachable break; ^ "./Test_Guides_Curved.c", line 16999: warning: variable "tMirror" was declared but never referenced double tLeft, tRight, tTop, tBot, tIn, tOut, tMirror; ^ "./Test_Guides_Curved.c", line 16955: warning: variable "endtime" was declared but never referenced double t11, t12, t21, t22, theta, alpha, endtime, phi; ^ "./Test_Guides_Curved.c", line 16956: warning: variable "i_bounce" was declared but never referenced int i_bounce; ^ "./Test_Guides_Curved.c", line 19117: warning: variable "Length" was declared but never referenced double Length; ^ "./Test_Guides_Curved.c", line 19118: warning: variable "entranceHorizontalWidth" was declared but never referenced double entranceHorizontalWidth; ^ "./Test_Guides_Curved.c", line 19119: warning: variable "entranceVerticalWidth" was declared but never referenced double entranceVerticalWidth; ^ "./Test_Guides_Curved.c", line 19122: warning: variable "ellipseMajorAxis" was declared but never referenced double ellipseMajorAxis[4], ellipseMinorAxis[4]; ^ "./Test_Guides_Curved.c", line 19122: warning: variable "ellipseMinorAxis" was declared but never referenced double ellipseMajorAxis[4], ellipseMinorAxis[4]; ^ "./Test_Guides_Curved.c", line 19123: warning: variable "ellipseMajorOffset" was declared but never referenced double ellipseMajorOffset[4], ellipseMinorOffset[4]; ^ "./Test_Guides_Curved.c", line 19123: warning: variable "ellipseMinorOffset" was declared but never referenced double ellipseMajorOffset[4], ellipseMinorOffset[4]; ^ "./Test_Guides_Curved.c", line 19129: warning: variable "tempz" was declared but never referenced double tempz = 0; ^ "./Test_Guides_Curved.c", line 19368: warning: use of a const variable in a constant expression is nonstandard in C double xplot[n], zplot[n]; ^ "./Test_Guides_Curved.c", line 19368: warning: use of a const variable in a constant expression is nonstandard in C double xplot[n], zplot[n]; ^ "./Test_Guides_Curved.c", line 19749: 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_Curved.c", line 19689: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./Test_Guides_Curved.c", line 1250: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./Test_Guides_Curved.c", line 2491: 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: par (./Test_Guides_Curved.c: 16630) 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_Guides_Curved.c: 16630) 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_Guides_Curved.c: 16997) NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: === loading system configuration loading override configuration from /zhome/89/0/38697/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_PGCC_TESLA_KISS/mccode_config.json