Please send the complete input files so that we can try to reproduce your problem.




On Mar 13, 2013, at 19:59, Bo-Nan JIANG <bonanjiang@gmail.com> wrote:

Hi, Matthias
this is the custom lattice I am using:
-------------------------------------my_lattices.xml----------------------------------------------------------------------
<LATTICES>

<LATTICE name="chain lattice" dimension="1">
  <PARAMETER name="a" default="1"/>
  <BASIS><VECTOR>a</VECTOR></BASIS>
  <RECIPROCALBASIS><VECTOR>2*pi/a</VECTOR></RECIPROCALBASIS>
</LATTICE>
<UNITCELL name="fermion" dimension="1">
  <VERTEX type="0"/>
  <VERTEX type="1"/>
  <EDGE type="0"><SOURCE vertex="1" offset="0"/><TARGET vertex="1" offset="1"/></EDGE>
  <EDGE type="1"><SOURCE vertex="1" offset="0"/><TARGET vertex="2" offset="0"/></EDGE>
</UNITCELL>
<LATTICEGRAPH name = "chain lattice">
  <FINITELATTICE>
    <LATTICE ref="chain lattice"/>
    <PARAMETER name="L" default="4"/>
    <EXTENT size="L"/>
    <BOUNDARY type="periodic"/>
  </FINITELATTICE>
  <UNITCELL ref="fermion"/>
</LATTICEGRAPH>

</LATTICES>
------------------------------------end of my_lattices.xml-------------------------------------------------------------------

Bo-Nan


2013/3/13 <comp-phys-alps-users-request@lists.phys.ethz.ch>
Send Comp-phys-alps-users mailing list submissions to
        comp-phys-alps-users@lists.phys.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
or, via email, send a message with subject or body 'help' to
        comp-phys-alps-users-request@lists.phys.ethz.ch

You can reach the person managing the list at
        comp-phys-alps-users-owner@lists.phys.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Comp-phys-alps-users digest..."


Today's Topics:

   1. "Kondo Lattice" model in ALPS (Bo-Nan JIANG)
   2. question about fermion model (Bo-Nan JIANG)
   3. Re: question about fermion model (Matthias Troyer)
   4. Re: "Kondo Lattice" model in ALPS (Matthias Troyer)


----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Mar 2013 08:48:42 +0800
From: Bo-Nan JIANG <bonanjiang@gmail.com>
To: "comp-phys-alps-users@lists.phys.ethz.ch"
        <comp-phys-alps-users@lists.phys.ethz.ch>
Subject: [ALPS-users] "Kondo Lattice" model in ALPS
Message-ID:
        <CADqUQBOJNvgOfDGkTY3GUPbu9sAieKzNEJ3xeuDb67v0vDDvZw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi, ALPS developers and users

When I did DMRG with the "Kondo lattice" model in ALPS lib, the computer
returned error:
"Site basis for type 2 not found and no default exists."
I do not know whether it is the problem of my code or the ALPS model
itself, so dear developer, is this "Kondo lattice" model in your lib being
tested by DMRG? If it is not, can you test it and tell my whether it works?
(take you five minutes most) Thus, I can make up my mind whether I should
find other way of coding or continue debuging this code which returns
problem. This is really a big help!

Bo-Nan

--
Stay foolish,Stay hungry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20130313/78278f5f/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 13 Mar 2013 14:39:01 +0800
From: Bo-Nan JIANG <bonanjiang@gmail.com>
To: "comp-phys-alps-users@lists.phys.ethz.ch"
        <comp-phys-alps-users@lists.phys.ethz.ch>
Subject: [ALPS-users] question about fermion model
Message-ID:
        <CADqUQBMYmVddaDXBaY6Q0YrRkWkP6a5JT4ZqpVK9BSQ0UB2xMw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi,all
I am always wondering if I defined the quantum numbers of the fermion site
basis in the following way, would there be a negative Ndown number (for
example, with N=0, Nup=1)?

<QUANTUMNUMBER name="N" min="0" max="2"/>
<QUANTUMNUMBER name="Nup" min="0" max="1"/>
<QUANTUMNUMBER name="Ndown" min="N-Nup" max="N-Nup"/>

Bo-Nan

--
Stay foolish,Stay hungry.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20130313/99a4b562/attachment-0001.html>

------------------------------

Message: 3
Date: Wed, 13 Mar 2013 08:22:55 +0100
From: Matthias Troyer <troyer@phys.ethz.ch>
To: "comp-phys-alps-users@lists.phys.ethz.ch"
        <comp-phys-alps-users@lists.phys.ethz.ch>
Subject: Re: [ALPS-users] question about fermion model
Message-ID: <444AE9EA-405D-4F71-8C9F-E03AB9C50A83@phys.ethz.ch>
Content-Type: text/plain;       charset=us-ascii






On Mar 13, 2013, at 7:39, Bo-Nan JIANG <bonanjiang@gmail.com> wrote:

> Hi,all
> I am always wondering if I defined the quantum numbers of the fermion site basis in the following way, would there be a negative Ndown number (for example, with N=0, Nup=1)?
>
> <QUANTUMNUMBER name="N" min="0" max="2"/>
> <QUANTUMNUMBER name="Nup" min="0" max="1"/>
> <QUANTUMNUMBER name="Ndown" min="N-Nup" max="N-Nup"/>

yes

------------------------------

Message: 4
Date: Wed, 13 Mar 2013 10:35:22 +0100
From: Matthias Troyer <troyer@phys.ethz.ch>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] "Kondo Lattice" model in ALPS
Message-ID: <AA473D55-2023-44D4-9053-7B718856355E@phys.ethz.ch>
Content-Type: text/plain; charset="iso-8859-1"

Which lattice are you using? The error message seems to indicate that your lattice has sites of type 2, for which indeed this model has no basis. The Kondo lattice, as you can see by the model definition, expects two types of sites.

Matthias Troyer

On Mar 13, 2013, at 1:48 AM, Bo-Nan JIANG <bonanjiang@gmail.com> wrote:

> Hi, ALPS developers and users
>
> When I did DMRG with the "Kondo lattice" model in ALPS lib, the computer returned error:
> "Site basis for type 2 not found and no default exists."
> I do not know whether it is the problem of my code or the ALPS model itself, so dear developer, is this "Kondo lattice" model in your lib being tested by DMRG? If it is not, can you test it and tell my whether it works? (take you five minutes most) Thus, I can make up my mind whether I should find other way of coding or continue debuging this code which returns problem. This is really a big help!
>
> Bo-Nan
>
> --
> Stay foolish,Stay hungry.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phys.ethz.ch/pipermail/comp-phys-alps-users/attachments/20130313/21ac905d/attachment-0001.html>

End of Comp-phys-alps-users Digest, Vol 84, Issue 11
****************************************************



--
Stay foolish,Stay hungry.