1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

Warning fixes

This commit is contained in:
paboyle 2018-01-25 23:46:47 +00:00
parent 24a4589def
commit f4010023ca
7 changed files with 8 additions and 9 deletions

View File

@ -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<<GridLogMessage << std::setw(4) << lat<<"\t"<<Ls<<"\t"
@ -431,7 +431,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;
@ -519,7 +519,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;

View File

@ -278,7 +278,7 @@ void benchsDw(std::vector<int> & latt4, int Ls, int threads, int report )
}
}
RealD mass=0.1;
// RealD mass=0.1;
RealD M5 =1.8;
typedef WilsonFermion5D<DomainWallVec5dImplR> WilsonFermion5DR;

View File

@ -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<Nloop;i++){

View File

@ -65,7 +65,7 @@ int main (int argc, char ** argv)
RealD mass=0.1;
RealD M5 =1.8;
RealD NP = UGrid->_Nprocessors;
// RealD NP = UGrid->_Nprocessors;
if (1)

View File

@ -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;

View File

@ -137,7 +137,7 @@ public:
typedef Lattice<iLorentzColourMatrix<vsimd> > GaugeField;
GridBase *grid = Umu._grid;
int offset = readHeader(file,Umu._grid,header);
int offset = readHeader(file,grid,header);
FieldMetaData clone(header);

View File

@ -83,7 +83,6 @@ auto innerProductD (const iMatrix<l,N>& lhs,const iMatrix<r,N>& rhs) -> iScalar<
{
typedef decltype(innerProductD(lhs._internal[0][0],rhs._internal[0][0])) ret_t;
iScalar<ret_t> ret;
iScalar<ret_t> tmp;
ret=Zero();
for(int c1=0;c1<N;c1++){
for(int c2=0;c2<N;c2++){