From 5f8225461b51ae27587a7a25685e9c823ee682f6 Mon Sep 17 00:00:00 2001 From: Guido Cossu Date: Fri, 23 Mar 2018 10:37:58 +0000 Subject: [PATCH 1/2] Fencing mixedcg test propagator write. LIME is still optional in Grid --- tests/Test_dwf_mixedcg_prec.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Test_dwf_mixedcg_prec.cc b/tests/Test_dwf_mixedcg_prec.cc index 0a8d6540..84849ff9 100644 --- a/tests/Test_dwf_mixedcg_prec.cc +++ b/tests/Test_dwf_mixedcg_prec.cc @@ -103,6 +103,7 @@ int main (int argc, char ** argv) std::cout << "Diff between mixed and regular CG: " << diff << std::endl; + #ifdef HAVE_LIME std::string file1("./Propagator1"); std::string file2("./Propagator2"); emptyUserRecord record; @@ -124,6 +125,8 @@ int main (int argc, char ** argv) nersc_csum,scidac_csuma,scidac_csumb); std::cout << " CG checksums "< Date: Fri, 23 Mar 2018 11:14:23 +0000 Subject: [PATCH 2/2] Fix to pass CI tests --- tests/Test_dwf_mixedcg_prec.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Test_dwf_mixedcg_prec.cc b/tests/Test_dwf_mixedcg_prec.cc index 84849ff9..a53d8921 100644 --- a/tests/Test_dwf_mixedcg_prec.cc +++ b/tests/Test_dwf_mixedcg_prec.cc @@ -104,6 +104,8 @@ int main (int argc, char ** argv) std::cout << "Diff between mixed and regular CG: " << diff << std::endl; #ifdef HAVE_LIME + if( GridCmdOptionExists(argv,argv+argc,"--checksums") ){ + std::string file1("./Propagator1"); std::string file2("./Propagator2"); emptyUserRecord record; @@ -125,6 +127,7 @@ int main (int argc, char ** argv) nersc_csum,scidac_csuma,scidac_csumb); std::cout << " CG checksums "<