{"issue":{"title":"Segmentation fault whenever Lattice is imported and impurity model is solved with Time_Accumulation set on","milestone":null,"user":{"id":1186443,"login":"mravlje","url":"https://api.github.com/users/mravlje","avatar_url":"https://secure.gravatar.com/avatar/ae30d9c11b2883c8d224b53a005b5f94?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ae30d9c11b2883c8d224b53a005b5f94"},"created_at":"2011-12-19T14:07:36Z","labels":[],"state":"open","updated_at":"2011-12-19T14:07:36Z","id":2600361,"html_url":"https://github.com/TRIQS/TRIQS/issues/17","pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"body":"The script, which solves an impurity model (short enough that I just put it below) ends with a segmentation fault.\r\n\r\nThe segmentation fault occurs if (as below) Lattice  library is imported *and* Time_Accumulation is used.\r\n\r\nfrom pytriqs.Base.Lattice import *\r\nfrom pytriqs.Base.GF_Local import *\r\nfrom pytriqs.Base.Archive import *\r\n\r\n# Set up a few parameters                                                                                                                                                                            \r\nU = 2.5\r\nBeta = 10\r\ne_f = 1.0\r\nV=1.0\r\nD=1.0\r\n\r\n# Construct a CTQMC solver                                                                                                                                                                           \r\nfrom pytriqs.Solvers.Operators import *\r\nfrom pytriqs.Solvers.HybridizationExpansion import Solver\r\n\r\nS = Solver(Beta = Beta,\r\n           GFstruct = [ ('up',[1]), ('down',[1]) ],\r\n           H_Local = U * N('up',1) * N('down',1),\r\n           Quantum_Numbers = {\r\n               'Nup' : N('up',1),\r\n               'Ndown' : N('down',1) },\r\n           N_Cycles  = 20000,\r\n           N_Frequencies_Accumulated = 300,\r\n           Fitting_Frequency_Start =200,\r\n           Length_Cycle = 200,\r\n           N_Warmup_Cycles = 1000,\r\n           N_Legendre_Coeffs = 50,\r\n           Time_Accumulation = True,\r\n           Legendre_Accumulation = False,\r\n           Random_Generator_Name = 'mt19937',\t\r\n           Use_Segment_Picture = True,\r\n           Measured_Operators = {\t\t\r\n             'Nimp' : N('up',1)+N('down',1) },\r\n           Global_Moves = [\t\t\t\r\n               (0.05, lambda (a,alpha,dag) : ( {'up':'down','down':'up'}[a],alpha,dag ) ) ],\r\n           )\r\n\r\nfor spin, g0 in S.G0 :\r\n    g0 <<= inverse( iOmega_n - e_f - V**2 * SemiCircular(D) )\r\n\r\nS.Solve()","number":17,"url":"https://api.github.com/repos/TRIQS/TRIQS/issues/17","comments":0,"assignee":null},"action":"opened"}