loading system configuration loading override configuration from /home/nexmap/pkwi/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_CPU_PGCC_MULTICORE_KISS/mccode_config.json INFO: No output directory specified (--dir) INFO: Using directory: "ILL_H22_VIVALDI_20230201_014847" INFO: Regenerating c-file: ILL_H22_VIVALDI.c DEBUG: CMD: mcstas -t -o ./ILL_H22_VIVALDI.c /home/nexmap/pkwi/TESTS/2023-02-01/McStas_CPU_PGCC_MULTICORE_KISS_1e7/ILL_H22_VIVALDI/ILL_H22_VIVALDI.instr Info: 'Al_window' is a contributed component. CFLAGS= WARNING: The parameter format of Environment_in 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 mosaic_AB 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 SamplePos ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: -> SPLIT within buffer at component SamplePos ----------------------------------------------------------- INFO: Recompiling: ./ILL_H22_VIVALDI.out DEBUG: CMD: nvc -o ./ILL_H22_VIVALDI.out ./ILL_H22_VIVALDI.c -lm -ta=multicore -Minfo=accel -DOPENACC "./ILL_H22_VIVALDI.c", line 10201: warning: variable "dt" was set but never used double dt, dy; ^ "./ILL_H22_VIVALDI.c", line 10201: warning: variable "dy" was set but never used double dt, dy; ^ "./ILL_H22_VIVALDI.c", line 10228: warning: variable "dx" was set but never used double dx, dy; ^ "./ILL_H22_VIVALDI.c", line 10228: warning: variable "dy" was set but never used double dx, dy; ^ "./ILL_H22_VIVALDI.c", line 10556: warning: variable "minx" was declared but never referenced MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_VIVALDI.c", line 10556: warning: variable "maxx" was declared but never referenced MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_VIVALDI.c", line 10556: warning: variable "miny" was declared but never referenced MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_VIVALDI.c", line 10556: warning: variable "maxy" was declared but never referenced MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_VIVALDI.c", line 10556: warning: variable "minz" was declared but never referenced MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_VIVALDI.c", line 10556: warning: variable "maxz" was declared but never referenced MCNUM minx=FLT_MAX,maxx=-FLT_MAX,miny=FLT_MAX,maxy=-FLT_MAX,minz=FLT_MAX,maxz=-FLT_MAX; ^ "./ILL_H22_VIVALDI.c", line 10912: warning: variable "plane_Eq" was declared but never referenced double plane_Eq [4]; ^ "./ILL_H22_VIVALDI.c", line 13026: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./ILL_H22_VIVALDI.c", line 13027: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./ILL_H22_VIVALDI.c", line 13027: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./ILL_H22_VIVALDI.c", line 13987: warning: variable "tc2" was set but never used Coords tc1, tc2; ^ "./ILL_H22_VIVALDI.c", line 23649: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 23649: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 23649: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./ILL_H22_VIVALDI.c", line 23650: warning: variable "i" was declared but never referenced int i=0; ^ "./ILL_H22_VIVALDI.c", line 24960: 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_VIVALDI.c", line 25348: warning: variable "type" was set but never used char type = '\0'; ^ "./ILL_H22_VIVALDI.c", line 25349: warning: variable "itype" was set but never used int itype = 0; ^ "./ILL_H22_VIVALDI.c", line 25352: warning: variable "nb_reuses" was declared but never referenced int nb_reuses = line_info.nb_reuses; ^ "./ILL_H22_VIVALDI.c", line 25355: warning: variable "vcache" was set but never used double vcache = line_info.v; ^ "./ILL_H22_VIVALDI.c", line 25359: warning: variable "lfree" was set but never used double lfree = line_info.lfree; ^ "./ILL_H22_VIVALDI.c", line 25361: warning: variable "xs_compute" was declared but never referenced long xs_compute = line_info.xs_compute; ^ "./ILL_H22_VIVALDI.c", line 25362: warning: variable "xs_reuse" was declared but never referenced long xs_reuse = line_info.xs_reuse; ^ "./ILL_H22_VIVALDI.c", line 25363: warning: variable "xs_calls" was declared but never referenced long xs_calls = line_info.xs_calls; ^ "./ILL_H22_VIVALDI.c", line 25365: warning: variable "dq" was set but never used double dq = line_info.dq; ^ "./ILL_H22_VIVALDI.c", line 25845: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 25845: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 25845: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./ILL_H22_VIVALDI.c", line 25846: warning: variable "rho" was declared but never referenced double rho; ^ "./ILL_H22_VIVALDI.c", line 25847: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./ILL_H22_VIVALDI.c", line 25848: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25848: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25848: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25849: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25849: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25849: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25850: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25850: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25850: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./ILL_H22_VIVALDI.c", line 25851: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 25851: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 25851: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./ILL_H22_VIVALDI.c", line 25852: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./ILL_H22_VIVALDI.c", line 25853: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 25853: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 25853: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./ILL_H22_VIVALDI.c", line 25854: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 25854: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 25854: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./ILL_H22_VIVALDI.c", line 25855: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./ILL_H22_VIVALDI.c", line 25856: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./ILL_H22_VIVALDI.c", line 25856: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./ILL_H22_VIVALDI.c", line 25857: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./ILL_H22_VIVALDI.c", line 25857: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./ILL_H22_VIVALDI.c", line 25858: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./ILL_H22_VIVALDI.c", line 25865: warning: variable "tot_xsect" was declared but never referenced double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./ILL_H22_VIVALDI.c", line 25872: warning: variable "theta" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./ILL_H22_VIVALDI.c", line 25872: warning: variable "phi" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./ILL_H22_VIVALDI.c", line 25881: warning: variable "type" was set but never used char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./ILL_H22_VIVALDI.c", line 32837: warning: variable "t" was declared but never referenced time_t t; ^ "./ILL_H22_VIVALDI.c", line 32838: warning: variable "ct" was set but never used clock_t ct; ^ "./ILL_H22_VIVALDI.c", line 1372: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./ILL_H22_VIVALDI.c", line 2726: 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 (./ILL_H22_VIVALDI.c: 24763) raytrace_all: 28825, Generating Multicore code 28836, #pragma acc loop gang NVC++/x86-64 Linux 21.9-0: compilation completed with warnings INFO: ===