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: "McStas_Single_crystal_20221201_013743" INFO: Regenerating c-file: McStas_Single_crystal.c DEBUG: CMD: mcstas -t -o ./McStas_Single_crystal.c /home/nexmap/pkwi/TESTS/2022-12-01/McStas_CPU_PGCC_MULTICORE_KISS_1e7/McStas_Single_crystal/McStas_Single_crystal.instr CFLAGS= -Wl,-rpath,CMD(mcpl-config --show libdir) -LCMD(mcpl-config --show libdir) -lmcpl -ICMD(mcpl-config --show includedir) -Wl,-rpath,CMD(mcpl-config --show libdir) -LCMD(mcpl-config --show libdir) -lmcpl -ICMD(mcpl-config --show includedir) WARNING: The parameter mosaic_AB of SX 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: ./McStas_Single_crystal.out --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show includedir --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show libdir --> launching cmd: mcpl-config --show includedir DEBUG: CMD: nvc -o ./McStas_Single_crystal.out ./McStas_Single_crystal.c -lm -ta=multicore -Minfo=accel -DOPENACC -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/lib -lmcpl -I/u/data/pkwi/McStas/mcstas/3.x-dev/include -Wl,-rpath,/u/data/pkwi/McStas/mcstas/3.x-dev/lib -L/u/data/pkwi/McStas/mcstas/3.x-dev/lib -lmcpl -I/u/data/pkwi/McStas/mcstas/3.x-dev/include "./McStas_Single_crystal.c", line 9847: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./McStas_Single_crystal.c", line 9848: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./McStas_Single_crystal.c", line 9848: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./McStas_Single_crystal.c", line 10248: warning: variable "tc2" was set but never used Coords tc1, tc2; ^ "./McStas_Single_crystal.c", line 10330: warning: variable "tc2" was set but never used Coords tc1, tc2; ^ "./McStas_Single_crystal.c", line 10383: warning: variable "tc2" was set but never used Coords tc1, tc2; ^ "./McStas_Single_crystal.c", line 10442: warning: variable "line" was declared but never referenced char line[256]; ^ "./McStas_Single_crystal.c", line 10443: warning: variable "ncount" was declared but never referenced long long ncount; ^ "./McStas_Single_crystal.c", line 10659: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./McStas_Single_crystal.c", line 10659: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./McStas_Single_crystal.c", line 10659: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./McStas_Single_crystal.c", line 10660: warning: variable "i" was declared but never referenced int i=0; ^ "./McStas_Single_crystal.c", line 10861: warning: argument of type "unsigned char *" is incompatible with parameter of type "const char *" mcpl_hdr_add_data(outputfile, "mccode_instr_file", size, buffer); ^ "./McStas_Single_crystal.c", line 10852: warning: variable "status" was declared but never referenced int size,status; ^ "./McStas_Single_crystal.c", line 11245: warning: variable "tmpx" was declared but never referenced double tmpx,tmpy,tmpz; ^ "./McStas_Single_crystal.c", line 11245: warning: variable "tmpy" was declared but never referenced double tmpx,tmpy,tmpz; ^ "./McStas_Single_crystal.c", line 11245: warning: variable "tmpz" was declared but never referenced double tmpx,tmpy,tmpz; ^ "./McStas_Single_crystal.c", line 11116: warning: variable "ncount" was set but never used long long ncount; ^ "./McStas_Single_crystal.c", line 11382: warning: variable "rho_x" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./McStas_Single_crystal.c", line 11382: warning: variable "rho_y" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./McStas_Single_crystal.c", line 11382: warning: variable "rho_z" was declared but never referenced double rho_x, rho_y, rho_z; /* the vector ki - tau */ ^ "./McStas_Single_crystal.c", line 11383: warning: variable "rho" was declared but never referenced double rho; ^ "./McStas_Single_crystal.c", line 11384: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./McStas_Single_crystal.c", line 11385: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./McStas_Single_crystal.c", line 11385: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./McStas_Single_crystal.c", line 11385: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./McStas_Single_crystal.c", line 11386: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11386: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11386: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11387: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11387: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11387: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11388: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./McStas_Single_crystal.c", line 11388: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./McStas_Single_crystal.c", line 11388: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./McStas_Single_crystal.c", line 11389: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./McStas_Single_crystal.c", line 11390: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./McStas_Single_crystal.c", line 11390: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./McStas_Single_crystal.c", line 11390: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./McStas_Single_crystal.c", line 11391: warning: variable "l11" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./McStas_Single_crystal.c", line 11391: warning: variable "l12" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./McStas_Single_crystal.c", line 11391: warning: variable "l22" was declared but never referenced double l11, l12, l22; /* Cholesky decomposition L of 1/2*inv(N) */ ^ "./McStas_Single_crystal.c", line 11392: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./McStas_Single_crystal.c", line 11393: warning: variable "Bt_D_O_x" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./McStas_Single_crystal.c", line 11393: warning: variable "Bt_D_O_y" was declared but never referenced double Bt_D_O_x, Bt_D_O_y; /* Temporaries */ ^ "./McStas_Single_crystal.c", line 11394: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./McStas_Single_crystal.c", line 11394: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./McStas_Single_crystal.c", line 11395: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./McStas_Single_crystal.c", line 11402: warning: variable "tot_xsect" was declared but never referenced double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./McStas_Single_crystal.c", line 11409: warning: variable "theta" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./McStas_Single_crystal.c", line 11409: warning: variable "phi" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./McStas_Single_crystal.c", line 11418: warning: variable "type" was set but never used char type; /* type of last event: t=transmit,c=coherent or i=incoherent */ ^ "./McStas_Single_crystal.c", line 13207: warning: variable "t" was declared but never referenced time_t t; ^ "./McStas_Single_crystal.c", line 13208: warning: variable "ct" was set but never used clock_t ct; ^ "./McStas_Single_crystal.c", line 1357: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./McStas_Single_crystal.c", line 2707: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ raytrace_all: 12131, Generating Multicore code 12142, #pragma acc loop gang INFO: ===