GithubHelp home page GithubHelp logo

Comments (7)

mferrero avatar mferrero commented on August 16, 2024

Can you show us the files pytriqs/Solvers/HybridizationExpansion/test/SingleSiteBethe_output and pytriqs/Solvers/HybridizationExpansion/test/SingleSiteBethe_output.err in your build directory?

from triqs_0.x.

parcollet avatar parcollet commented on August 16, 2024

Is it the same issue as #35 ?
What is your version of hdf5 ?

from triqs_0.x.

kozike avatar kozike commented on August 16, 2024

It is not the same as #35 -- different tests failed. The hdf5 I have is 1.8.8, but I don't think it's the problem...
let me see if I can copy the error output here...

from triqs_0.x.

kozike avatar kozike commented on August 16, 2024

OK, here is SingleSiteBethe_output.err:

Starting on 1 Nodes at : 2012-02-29 16:05:50.483864
/Users/kozik/Projects/triqs/build/pytriqs/Base/DMFT/Loop_Generic.py:62: DeprecationWarning: The class myloop is deprecated and scheduled for removal in later version of TRIQS. Please upgrade your code (write your own loop)
warnings.warn("The class %s is deprecated and scheduled for removal in later version of TRIQS. Please upgrade your code (write your own loop)"%(self.class.name), DeprecationWarning)
Traceback (most recent call last):
File "", line 83, in
File "/Users/kozik/Projects/triqs/build/pytriqs/Base/DMFT/Loop_Generic.py", line 134, in run
sol.Solve()
File "/Users/kozik/Projects/triqs/build/pytriqs/Solvers/HybridizationExpansion/init.py", line 296, in Solve
C_Module.MC_solve(self.dict ) # C++ solver
RuntimeError: Triqs runtime error at /Users/kozik/Projects/triqs/sourse/pytriqs/Solvers/HybridizationExpansion/C++/util.hpp :

Trace is :

1 _pytriqs_Solver_HybridizationExpansion.so 0x000000010370a080 triqs::mc_tools::histogram_binned& OP_Tools::map_insert_check<std::string, triqs::mc_tools::histogram_binned, std::map<std::string, triqs::mc_tools::histogram_binned, std::lessstd::string, std::allocator<std::pair<std::string const, triqs::mc_tools::histogram_binned> > > >(std::map<std::string, triqs::mc_tools::histogram_binned, std::lessstd::string, std::allocator<std::pair<std::string const, triqs::mc_tools::histogram_binned> > >&, std::string const&, triqs::mc_tools::histogram_binned const&) 1088
2 _pytriqs_Solver_HybridizationExpansion.so 0x000000010370a9fd Insert_Cdag_C_Delta_SegmentPicture::Insert_Cdag_C_Delta_SegmentPicture(int, Configuration&, std::map<std::string, triqs::mc_tools::histogram_binned, std::lessstd::string, std::allocator<std::pair<std::string const, triqs::mc_tools::histogram_binned> > >&, triqs::mc_tools::polymorphic_random_generator&) 493
3 _pytriqs_Solver_HybridizationExpansion.so 0x00000001036fce87 MC_Hybridization_Matsubara::MC_Hybridization_Matsubara(triqs::python_tools::improved_python_dict const&, unsigned long) 3175
4 _pytriqs_Solver_HybridizationExpansion.so 0x0000000103700604 MC_Hybridization_Matsu::solve(boost::python::api::object) 260
5 _pytriqs_Solver_HybridizationExpansion.so 0x000000010371dad2 boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void ()(boost::python::api::object), boost::python::default_call_policies, boost::mpl::vector2<void, boost::python::api::object> > >::operator()(object, object) 34
6 libboost_for_triqs.dylib 0x000000010296861c boost::python::objects::function::call(object, object) const 668
7 libboost_for_triqs.dylib 0x00000001029688e0 boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return>::invoke(boost::detail::function::function_buffer&) 32
8 libboost_for_triqs.dylib 0x0000000102951963 boost::python::detail::exception_handler::operator()(boost::function0 const&) const 83
9 _pytriqs_Solver_HybridizationExpansion.so 0x000000010371da6b boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<H5::Exception (
)(H5::Exception const&)>, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::value<void ()(H5::Exception const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&) 27
10 libboost_for_triqs.dylib 0x000000010295193f boost::python::detail::exception_handler::operator()(boost::function0 const&) const 47
11 mpi.so 0x0000000103055ffe boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<boost::mpi::python::object_without_skeleton, boost::mpi::python::translate_exceptionboost::mpi::python::object_without_skeleton >, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::valueboost::mpi::python::translate_exception<boost::mpi::python::object_without_skeleton > > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&) 30
12 libboost_for_triqs.dylib 0x000000010295193f boost::python::detail::exception_handler::operator()(boost::function0 const&) const 47
13 mpi.so 0x000000010304e2ee boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<boost::mpi::exception, boost::mpi::python::translate_exceptionboost::mpi::exception >, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::valueboost::mpi::python::translate_exception<boost::mpi::exception > > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&) 30
14 libboost_for_triqs.dylib 0x000000010295193f boost::python::detail::exception_handler::operator()(boost::function0 const&) const 47
15 _pytriqs_GF.so 0x000000010250a55b boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<std::string (
)(std::string const&)>, boost::_bi::list3boost::arg<1, boost::arg<2>, boost::_bi::value<void (*)(std::string const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0 const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0 const&) 27
16 libboost_for_triqs.dylib 0x0000000102951752 boost::python::handle_exception_impl(boost::function0) 50
17 libboost_for_triqs.dylib 0x0000000102966520 function_call 80
18 Python 0x000000010000b902 PyObject_Call 98
19 Python 0x00000001000b4fee PyEval_EvalFrameEx 12990
20 Python 0x00000001000b9af5 PyEval_EvalCodeEx 2197
21 Python 0x00000001000b7a8d PyEval_EvalFrameEx 23901
22 Python 0x00000001000b9af5 PyEval_EvalCodeEx 2197
23 Python 0x00000001000b7a8d PyEval_EvalFrameEx 23901
24 Python 0x00000001000b9af5 PyEval_EvalCodeEx 2197
25 Python 0x00000001000b9c16 PyEval_EvalCode 54
26 Python 0x00000001000dea6e PyRun_FileExFlags 174
27 Python 0x00000001000ded29 PyRun_SimpleFileExFlags 489
28 Python 0x00000001000ee40c Py_Main 2764
29 Python 0x0000000100000f14 0x0 4294971156
30 ??? 0x0000000000000001 0x0 1

map_insert_check : key 'Insert_Cdagger_C_SegmentPicture___histo_proposed' is already present

from triqs_0.x.

kozike avatar kozike commented on August 16, 2024

SingleSiteBethe_output:

------ Node : 0 -------- Iteration Number = 1

Optional parameters defined to their default values:
*Global_Moves -> []
Description :
A list of global moves

*Fitting_Frequency_Start -> 50
Description :
Frequency at which the fit starts

*Record_Statistics_Configurations -> False
Description :
(Expert only) Get the kink length statistics

*Quantum_Numbers_Selection -> <function at 0x1036220c8>
Description :
(Prototype) A function to select quantum numbers

*Use_F -> False
Description :
(Expert only) Compute F

*Nmax_Matrix -> 100
Description :
Initial size of the determinant matrices

*Keep_Full_MC_Series -> False
Description :
(Expert only) Store the Green's function for later analysis

*Measured_Operators -> {}
Description :
A dict of operators that will be averaged

*N_Frequencies_Accumulated -> 100
Description :
Number of frequencies to accumulate

*Time_Accumulation -> False
Description :
Do we accumulate in imaginary-time?

*Random_Seed -> 34788
Description :
Seed for the random generator

*Eta -> 0.0
Description :
(Expert only) Value of eta, the minimum value of the det

*Legendre_Accumulation -> True
Description :
Do we accumulate in legendre?

*Proba_Move -> 1.0
Description :
Probability to move operators

*Proba_Insert_Remove -> 1.0
Description :
Probability to insert/remove operators

*Measured_Time_Correlators -> {}
Description :
A dict of operators, whose time correlations are to be measured


Hamiltonian with Eps0 term :
2.5 C^(up,1)C(up,1)C^(down,1)C(down,1) - 1.25 C^(up,1)C(up,1) - 1.25 C^(down,1)C(down,1)
Inv Fourier done

from triqs_0.x.

parcollet avatar parcollet commented on August 16, 2024

Cf #7 ...
typically you have linked against 2 different glibc

from triqs_0.x.

kozike avatar kozike commented on August 16, 2024

Indeed, I had a handful of compilers and most things were linked against the old glibc.
It took Michel to sit down with the machine to straighten things out. Many thanks again Michel!
In the end, enabling the old compiler and telling cmake to use the latest version of python by
-DPYTHON_INTERPRETER=path_to_python_directory
cured the problem.

Thanks for the support guys!

from triqs_0.x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.