<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">If this is still relevant, I think you might be missing a parameter in the latticegraph definition (look at similar lattices in the lattices.xml).</div><div class="">  <INHOMOGENEOUS><VERTEX/></INHOMOGENEOUS><br class="">If this doesn’t help, I would try to generate the graph manually listing all sites with different site types and then manually input the local potential for every site in the parameters.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Best,</div><div class="">Michele</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 30 Mar 2017, at 04:02, xiaofanlaohu <<a href="mailto:xiaofanlaohu@163.com" class="">xiaofanlaohu@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><stationery style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><span style="font-size: 12px;" class="">Dear all,</span></div><div class=""><span style="font-size: 12px;" class=""></span> </div><div class=""><span style="font-size: 12px;" class="">I define a lattice with harmonic trap. In the lattice one cell has two subsite A and B. When I use the mps_optim to calculate a lattice. There exist error "Segmentation fault (core dumped)".<span class="Apple-converted-space"> </span></span></div><div class=""><span style="font-size: 12px;" class=""></span> </div><div class=""><span style="font-size: 12px;" class="">I want to know how to solve the problem. All files are attached.</span></div><div class=""><span style="font-size: 12px;" class=""></span> </div><div class=""><span style="font-size: 12px;" class="">Thanks!</span></div><div class=""><span style="font-size: 12px;" class="">Best,</span></div><div class=""><span style="font-size: 12px;" class="">Xiaofan</span></div><div class=""> </div><div style="font-family: Verdana; color: rgb(192, 192, 192); font-size: 10pt;" class=""><div align="left" class="">2017-03-30</div><hr id="SignNameHR" align="left" style="border-width: 1px 0px 0px; width: 122px; height: 1px; border-top-color: rgb(192, 192, 192); border-top-style: solid;" class=""><span id="_FlashSignName" class="">xiaofanlaohu</span></div></stationery><span id="cid:15B2E65C-48DC-4AB4-9188-A59C1CB2FF96"><0lattices.xml></span><span id="cid:591B556E-2A2F-4B5B-B693-669B8F01C496"><0models.xml></span><span id="cid:BD97C96F-E376-4707-AC0D-B2BD34D9CCAA"><test_trap></span><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">----</span><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Comp-phys-alps-users Mailing List for the ALPS Project</span><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://alps.comp-phys.org/" style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://alps.comp-phys.org/</a><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">List info:<span class="Apple-converted-space"> </span></span><a href="https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users" style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users</a><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Archive:<span class="Apple-converted-space"> </span></span><a href="https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users" style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users</a><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Unsubscribe by writing a mail to<span class="Apple-converted-space"> </span></span><a href="mailto:comp-phys-alps-users-leave@lists.phys.ethz.ch" style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">comp-phys-alps-users-leave@lists.phys.ethz.ch</a><span style="font-family: 微软雅黑; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">.</span></div></blockquote></div><br class=""></body></html>