Claude build fixeds

This commit is contained in:
Peter Boyle
2026-08-23 21:16:56 -04:00
parent 6be8b478c3
commit 5a70066e5b
2 changed files with 8 additions and 4 deletions
+3 -2
View File
@@ -36,8 +36,9 @@ Author: Peter Boyle <paboyle@ph.ed.ac.uk>
using namespace std;
using namespace Grid;
gridblasHandle_t GridBLAS::gridblasHandle;
int GridBLAS::gridblasInit;
// GridBLAS statics are defined ONCE, in Grid/algorithms/blas/BatchedBlas.cc;
// a second definition here is a duplicate-symbol link error the moment the
// archive member is pulled in.
///////////////////////
// Tells little dirac op to use MdagM as the .Op()
+5 -2
View File
@@ -262,8 +262,11 @@ int main (int argc, char ** argv)
setenv("DENSE_PANEL_BYTES","65536",1);
unsetenv("SLAB_FILE");
typedef DenseCoarseMatrix<vSpinColourVector,vTComplex,nbasis> DenseCC;
DenseCC dcm(LittleDiracOp, Coarse5d);
// Restructured interface: DenseCoarseMatrix<CComplex,nbasis>, constructed
// on the grid and fed by Import (which runs the certificate chain).
typedef DenseCoarseMatrix<vTComplex,nbasis> DenseCC;
DenseCC dcm(Coarse5d);
dcm.Import(LittleDiracOp);
std::cout << GridLogMessage << "T6 audit relative slab difference (schur vs single) = "
<< dcm.schurAuditRel << std::endl;