diff --git a/benchmarks/Benchmark_comms.cc b/benchmarks/Benchmark_comms.cc index b8abcc87..6140644f 100644 --- a/benchmarks/Benchmark_comms.cc +++ b/benchmarks/Benchmark_comms.cc @@ -334,7 +334,7 @@ int main (int argc, char ** argv) dbytes=dbytes*ppn; double xbytes = dbytes*0.5; - double rbytes = dbytes*0.5; + // double rbytes = dbytes*0.5; double bidibytes = dbytes; std::cout< & latt4, int Ls, int threads, int report ) } } - RealD mass=0.1; + // RealD mass=0.1; RealD M5 =1.8; typedef WilsonFermion5D WilsonFermion5DR; diff --git a/benchmarks/Benchmark_memory_bandwidth.cc b/benchmarks/Benchmark_memory_bandwidth.cc index 61ce2300..0654ed41 100644 --- a/benchmarks/Benchmark_memory_bandwidth.cc +++ b/benchmarks/Benchmark_memory_bandwidth.cc @@ -177,7 +177,7 @@ int main (int argc, char ** argv) LatticeVec z(&Grid);// random(pRNG,z); LatticeVec x(&Grid);// random(pRNG,x); LatticeVec y(&Grid);// random(pRNG,y); - RealD a=2.0; + // RealD a=2.0; Real nn; double start=usecond(); for(int i=0;i_Nprocessors; + // RealD NP = UGrid->_Nprocessors; if (1) diff --git a/extras/Hadrons/VirtualMachine.cc b/extras/Hadrons/VirtualMachine.cc index 30de8a43..87645eed 100644 --- a/extras/Hadrons/VirtualMachine.cc +++ b/extras/Hadrons/VirtualMachine.cc @@ -516,7 +516,7 @@ VirtualMachine::Program VirtualMachine::schedule(const GeneticPar &par) LOG(Message) << " max. cst. generation= " << par.maxCstGen << std::endl; LOG(Message) << " mutation rate= " << par.mutationRate << std::endl; - unsigned int k = 0, gen, prevPeak, nCstPeak = 0; + unsigned int gen, prevPeak, nCstPeak = 0; std::random_device rd; Scheduler::Parameters gpar; diff --git a/lib/parallelIO/NerscIO.h b/lib/parallelIO/NerscIO.h index c2370223..a329f176 100644 --- a/lib/parallelIO/NerscIO.h +++ b/lib/parallelIO/NerscIO.h @@ -137,7 +137,7 @@ public: typedef Lattice > GaugeField; GridBase *grid = Umu._grid; - int offset = readHeader(file,Umu._grid,header); + int offset = readHeader(file,grid,header); FieldMetaData clone(header); diff --git a/lib/tensors/Tensor_inner.h b/lib/tensors/Tensor_inner.h index 49e7cdd5..4d8b02e1 100644 --- a/lib/tensors/Tensor_inner.h +++ b/lib/tensors/Tensor_inner.h @@ -83,7 +83,6 @@ auto innerProductD (const iMatrix& lhs,const iMatrix& rhs) -> iScalar< { typedef decltype(innerProductD(lhs._internal[0][0],rhs._internal[0][0])) ret_t; iScalar ret; - iScalar tmp; ret=Zero(); for(int c1=0;c1