Loading src/Engine/Tensor.h +3 −3 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ along with MERA++. If not, see <http://www.gnu.org/licenses/>. #include "ProgramGlobals.h" #include "Matrix.h" #include "RandomForTests.h" #include "../../exatn/src/exatn/exatn.hpp" #include "exatn.hpp" namespace Mera { Loading Loading @@ -204,7 +204,7 @@ public: private: static auto* opFactory_; static exatn::numerics::TensorOpFactory* opFactory_; static PsimagLite::RandomForTests<ComplexOrRealType> rng_; VectorSizeType dimensions_; VectorComplexOrRealType data_; Loading @@ -215,7 +215,7 @@ template<typename ComplexOrRealType> PsimagLite::RandomForTests<ComplexOrRealType> Tensor<ComplexOrRealType>::rng_(1234); template<typename ComplexOrRealType> auto* Tensor<ComplexOrRealType>::opFactory_ = exatn::numerics::TensorOpFactory::get(); exatn::numerics::TensorOpFactory* Tensor<ComplexOrRealType>::opFactory_ = exatn::numerics::TensorOpFactory::get(); } #endif // TENSOR_H src/configure.pl +3 −10 Original line number Diff line number Diff line Loading @@ -44,19 +44,12 @@ my @drivers = (\%driver1, \%driver2, \%driver3, \%driver4, \%driver5); my $absoluteExaTN = $ENV{"HOME"}."/programs/exatn"; my $aInc = "-I $absoluteExaTN/tpls/cppmicroservices/framework/include "; $aInc .= " -I $absoluteExaTN/build/tpls/cppmicroservices/include "; $aInc .= " -I $absoluteExaTN/build/tpls/cppmicroservices/framework/include "; $aInc .= " -I $absoluteExaTN/src/numerics "; $aInc .= " -I $absoluteExaTN/src/exatn "; $aInc .= " -I $absoluteExaTN/tpls/ExaTensor/include "; $aInc .= " -I $absoluteExaTN/src/runtime "; $aInc .= " -I $absoluteExaTN/src/runtime/executor "; $aInc .= " -I $absoluteExaTN/src/runtime/graph "; my $aInc = " -I/home/mera/.exatn/include/exatn -I/home/mera/.exatn/include -I/home/mera/.exatn/include/cppmicroservices4 -std=gnu++11 -fPIC -DPATH_MAX=4096 -Wno-attributes -DNO_GPU -DEXATN_SERVICE "; my $aLibs = " -rdynamic -Wl,-rpath,/home/mera/.exatn/lib -L /home/mera/.exatn/lib -lCppMicroServices -ltalsh -lexatn -lexatn-numerics -lexatn-runtime -lexatn-runtime-graph -ldl -lpthread "; my %args; $args{"CPPFLAGS"} = $lto." $aInc"; $args{"LDFLAGS"} = $lto; $args{"LDFLAGS"} = $lto." $aLibs"; $args{"flavor"} = $flavor; $args{"code"} = "DMRG++"; $args{"configFiles"} = \@configFiles; Loading Loading
src/Engine/Tensor.h +3 −3 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ along with MERA++. If not, see <http://www.gnu.org/licenses/>. #include "ProgramGlobals.h" #include "Matrix.h" #include "RandomForTests.h" #include "../../exatn/src/exatn/exatn.hpp" #include "exatn.hpp" namespace Mera { Loading Loading @@ -204,7 +204,7 @@ public: private: static auto* opFactory_; static exatn::numerics::TensorOpFactory* opFactory_; static PsimagLite::RandomForTests<ComplexOrRealType> rng_; VectorSizeType dimensions_; VectorComplexOrRealType data_; Loading @@ -215,7 +215,7 @@ template<typename ComplexOrRealType> PsimagLite::RandomForTests<ComplexOrRealType> Tensor<ComplexOrRealType>::rng_(1234); template<typename ComplexOrRealType> auto* Tensor<ComplexOrRealType>::opFactory_ = exatn::numerics::TensorOpFactory::get(); exatn::numerics::TensorOpFactory* Tensor<ComplexOrRealType>::opFactory_ = exatn::numerics::TensorOpFactory::get(); } #endif // TENSOR_H
src/configure.pl +3 −10 Original line number Diff line number Diff line Loading @@ -44,19 +44,12 @@ my @drivers = (\%driver1, \%driver2, \%driver3, \%driver4, \%driver5); my $absoluteExaTN = $ENV{"HOME"}."/programs/exatn"; my $aInc = "-I $absoluteExaTN/tpls/cppmicroservices/framework/include "; $aInc .= " -I $absoluteExaTN/build/tpls/cppmicroservices/include "; $aInc .= " -I $absoluteExaTN/build/tpls/cppmicroservices/framework/include "; $aInc .= " -I $absoluteExaTN/src/numerics "; $aInc .= " -I $absoluteExaTN/src/exatn "; $aInc .= " -I $absoluteExaTN/tpls/ExaTensor/include "; $aInc .= " -I $absoluteExaTN/src/runtime "; $aInc .= " -I $absoluteExaTN/src/runtime/executor "; $aInc .= " -I $absoluteExaTN/src/runtime/graph "; my $aInc = " -I/home/mera/.exatn/include/exatn -I/home/mera/.exatn/include -I/home/mera/.exatn/include/cppmicroservices4 -std=gnu++11 -fPIC -DPATH_MAX=4096 -Wno-attributes -DNO_GPU -DEXATN_SERVICE "; my $aLibs = " -rdynamic -Wl,-rpath,/home/mera/.exatn/lib -L /home/mera/.exatn/lib -lCppMicroServices -ltalsh -lexatn -lexatn-numerics -lexatn-runtime -lexatn-runtime-graph -ldl -lpthread "; my %args; $args{"CPPFLAGS"} = $lto." $aInc"; $args{"LDFLAGS"} = $lto; $args{"LDFLAGS"} = $lto." $aLibs"; $args{"flavor"} = $flavor; $args{"code"} = "DMRG++"; $args{"configFiles"} = \@configFiles; Loading