Compiling and running

After downloading you can compile DMRG++ code with:

$ cd dmrgpp/src
$ perl configure.pl < ../TestSuite/inputs/model2.spec
$ make

and run it with

$ cp ../TestSuite/inputs/input2.inp .
$ ./dmrg -f ../TestSuite/inputs/input2.inp 

After it finishes, data will be saved in data2.txt. You can run

grep Energy data2.txt

to obtain the energies for all steps of the algorithm.

Obtaining Static Observables

Observables can be obtained post-processing by compiling and running the observer code:

$ make observe
$ ./observe -f input2.inp -o cc

The output will be a n times n/2 matrix for <c+i cj> in i, and j. Other possibilities include nn for <ni nj> correlations, and szsz for spin-z correlations.

Where to find more documentation

There's plenty of documentation for DMRG++.

Website News

18 Wednesday, May 18, 2001 Open positions available


7 Thursday, April 7, 2011 Website for DMRG++ has been redone using CSS.