From a7682b00607533de494dc8f6cb5190e6a4fe5c30 Mon Sep 17 00:00:00 2001 From: paboyle Date: Mon, 6 Jun 2016 23:48:21 +0100 Subject: [PATCH] Only instantiate the one routine to avoid duplicate symbol under g++5/MacOS --- lib/qcd/action/fermion/WilsonKernelsAsm.cc | 25 ++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/lib/qcd/action/fermion/WilsonKernelsAsm.cc b/lib/qcd/action/fermion/WilsonKernelsAsm.cc index 8d821b81..6c79821b 100644 --- a/lib/qcd/action/fermion/WilsonKernelsAsm.cc +++ b/lib/qcd/action/fermion/WilsonKernelsAsm.cc @@ -92,11 +92,24 @@ void WilsonKernels::DiracOptAsmDhopSite(StencilImpl & #endif -template class WilsonKernels; -template class WilsonKernels; -template class WilsonKernels; -template class WilsonKernels; -template class WilsonKernels; -template class WilsonKernels; +template class WilsonKernels::DiracOptAsmDhopSite(StencilImpl &st,DoubledGaugeField &U, + std::vector > &buf, + int ss,int sU,const FermionField &in, FermionField &out); + +template class WilsonKernels::DiracOptAsmDhopSite(StencilImpl &st,DoubledGaugeField &U, + std::vector > &buf, + int ss,int sU,const FermionField &in, FermionField &out); +template class WilsonKernels::DiracOptAsmDhopSite(StencilImpl &st,DoubledGaugeField &U, + std::vector > &buf, + int ss,int sU,const FermionField &in, FermionField &out); +template class WilsonKernels::DiracOptAsmDhopSite(StencilImpl &st,DoubledGaugeField &U, + std::vector > &buf, + int ss,int sU,const FermionField &in, FermionField &out); +template class WilsonKernels::DiracOptAsmDhopSite(StencilImpl &st,DoubledGaugeField &U, + std::vector > &buf, + int ss,int sU,const FermionField &in, FermionField &out); +template class WilsonKernels::DiracOptAsmDhopSite(StencilImpl &st,DoubledGaugeField &U, + std::vector > &buf, + int ss,int sU,const FermionField &in, FermionField &out); }}