1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Printing improvement

This commit is contained in:
Peter Boyle 2018-07-05 06:59:38 -04:00
parent 2f776d51c6
commit 4b04ae3611

View File

@ -202,8 +202,8 @@ int main (int argc, char ** argv)
std::cout<<GridLogMessage << "mflop/s per node = "<< flops/(t1-t0)/NN<<std::endl;
err = ref-result;
std::cout<<GridLogMessage << "norm diff "<< norm2(err)<<std::endl;
// exit(0);
/*
//exit(0);
if(( norm2(err)>1.0e-4) ) {
std::cout << "RESULT\n " << result<<std::endl;
std::cout << "REF \n " << ref <<std::endl;
@ -211,7 +211,6 @@ int main (int argc, char ** argv)
FGrid->Barrier();
exit(-1);
}
*/
assert (norm2(err)< 1.0e-4 );
Dw.Report();
}