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).
  <INHOMOGENEOUS><VERTEX/></INHOMOGENEOUS>
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.


Best,
Michele


On 30 Mar 2017, at 04:02, xiaofanlaohu <xiaofanlaohu@163.com> wrote:

Dear all,
 
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)". 
 
I want to know how to solve the problem. All files are attached.
 
Thanks!
Best,
Xiaofan
 
2017-03-30

xiaofanlaohu
<0lattices.xml><0models.xml><test_trap>

----
Comp-phys-alps-users Mailing List for the ALPS Project
http://alps.comp-phys.org/

List info: https://lists.phys.ethz.ch//listinfo/comp-phys-alps-users
Archive: https://lists.phys.ethz.ch//pipermail/comp-phys-alps-users

Unsubscribe by writing a mail to comp-phys-alps-users-leave@lists.phys.ethz.ch.