INFO: No output directory specified (--dir) INFO: Using directory: "McStas_Single_crystal_20220401_010718" INFO: Regenerating c-file: McStas_Single_crystal.c DEBUG: CMD: mcstas -t -o ./McStas_Single_crystal.c /zhome/89/0/38697/TESTS/2022-04-01/McStas_GPU_A100_PGCC_TESLA_KISS_5e7/McStas_Single_crystal/McStas_Single_crystal.instr CFLAGS= -I@MCCODE_LIB@/libs/mcpl -L@MCCODE_LIB@/libs/mcpl -lmcpl -I@MCCODE_LIB@/libs/mcpl -L@MCCODE_LIB@/libs/mcpl -lmcpl 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 DEBUG: CMD: nvc -o ./McStas_Single_crystal.out ./McStas_Single_crystal.c -lm -ta:tesla,managed -DOPENACC -I/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs/mcpl -L/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs/mcpl -lmcpl -I/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs/mcpl -L/zhome/89/0/38697/McStas/mcstas/3.x-dev/tools/Python/mcrun/../mccodelib/../../../libs/mcpl -lmcpl "./McStas_Single_crystal.c", line 9642: warning: variable "jglobal" was declared but never referenced int jglobal=-1; ^ "./McStas_Single_crystal.c", line 9643: warning: variable "coherent_refl" was set but never used double coherent_refl,coherent_xsect; ^ "./McStas_Single_crystal.c", line 9643: warning: variable "coherent_xsect" was set but never used double coherent_refl,coherent_xsect; ^ "./McStas_Single_crystal.c", line 10037: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./McStas_Single_crystal.c", line 10038: warning: variable "tr1" was declared but never referenced Rotation tr1; ^ "./McStas_Single_crystal.c", line 10116: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./McStas_Single_crystal.c", line 10166: warning: variable "tc2" was declared but never referenced Coords tc1, tc2; ^ "./McStas_Single_crystal.c", line 10218: warning: variable "line" was declared but never referenced char line[256]; ^ "./McStas_Single_crystal.c", line 10423: warning: variable "as" was declared but never referenced double as, bs, cs; ^ "./McStas_Single_crystal.c", line 10423: warning: variable "bs" was declared but never referenced double as, bs, cs; ^ "./McStas_Single_crystal.c", line 10423: warning: variable "cs" was declared but never referenced double as, bs, cs; ^ "./McStas_Single_crystal.c", line 10424: warning: variable "i" was declared but never referenced int i=0; ^ "./McStas_Single_crystal.c", line 10625: 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 10616: warning: variable "status" was declared but never referenced int size,status; ^ "./McStas_Single_crystal.c", line 11137: 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 11137: 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 11137: 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 11138: warning: variable "rho" was declared but never referenced double rho; ^ "./McStas_Single_crystal.c", line 11139: warning: variable "diff" was declared but never referenced double diff; /* Deviation from Bragg condition */ ^ "./McStas_Single_crystal.c", line 11140: warning: variable "ox" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./McStas_Single_crystal.c", line 11140: warning: variable "oy" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./McStas_Single_crystal.c", line 11140: warning: variable "oz" was declared but never referenced double ox, oy, oz; /* Origin of Ewald sphere tangent plane */ ^ "./McStas_Single_crystal.c", line 11141: warning: variable "b1x" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11141: warning: variable "b1y" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11141: warning: variable "b1z" was declared but never referenced double b1x, b1y, b1z; /* First vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11142: warning: variable "b2x" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11142: warning: variable "b2y" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11142: warning: variable "b2z" was declared but never referenced double b2x, b2y, b2z; /* Second vector spanning tangent plane */ ^ "./McStas_Single_crystal.c", line 11143: warning: variable "n11" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./McStas_Single_crystal.c", line 11143: warning: variable "n12" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./McStas_Single_crystal.c", line 11143: warning: variable "n22" was declared but never referenced double n11, n12, n22; /* 2D Gauss description matrix N */ ^ "./McStas_Single_crystal.c", line 11144: warning: variable "det_N" was declared but never referenced double det_N; /* Determinant of N */ ^ "./McStas_Single_crystal.c", line 11145: warning: variable "inv_n11" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./McStas_Single_crystal.c", line 11145: warning: variable "inv_n12" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./McStas_Single_crystal.c", line 11145: warning: variable "inv_n22" was declared but never referenced double inv_n11, inv_n12, inv_n22; /* Inverse of N */ ^ "./McStas_Single_crystal.c", line 11146: 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 11146: 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 11146: 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 11147: warning: variable "det_L" was declared but never referenced double det_L; /* Determinant of L */ ^ "./McStas_Single_crystal.c", line 11148: 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 11148: 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 11149: warning: variable "y0x" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./McStas_Single_crystal.c", line 11149: warning: variable "y0y" was declared but never referenced double y0x, y0y; /* Center of 2D Gauss in plane coordinates */ ^ "./McStas_Single_crystal.c", line 11150: warning: variable "alpha" was declared but never referenced double alpha; /* Offset of 2D Gauss center from 3D center */ ^ "./McStas_Single_crystal.c", line 11157: warning: variable "tot_xsect" was declared but never referenced double tot_xsect, tot_xlen; /* Total cross section and length */ ^ "./McStas_Single_crystal.c", line 11164: warning: variable "theta" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./McStas_Single_crystal.c", line 11164: warning: variable "phi" was declared but never referenced double theta, phi; /* rotation angles for curved lattice option */ ^ "./McStas_Single_crystal.c", line 11173: 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 12986: warning: variable "t" is used before its value is set mcstartdate = (long)t; /* set start date before parsing options and creating sim file */ ^ "./McStas_Single_crystal.c", line 12926: warning: variable "ct" was declared but never referenced clock_t ct; ^ "./McStas_Single_crystal.c", line 1260: warning: variable "mcstartdate" was set but never used static long mcstartdate = 0; /* start simulation time */ ^ "./McStas_Single_crystal.c", line 2501: warning: function "strcpy_valid" was declared but never referenced static char *strcpy_valid(char *valid, char *original) ^ INFO: === loading system configuration loading override configuration from /zhome/89/0/38697/McCode/tools/Python/mctest/../mccodelib/mcstas-test/McStas_GPU_A100_PGCC_TESLA_KISS/mccode_config.json