Hi, thanks for the bug report. We'd like to strive to make all of the sample code on the website compile, so this is helpful. But sometimes the codes on the site skip over a few steps, such as setting elements of tensors when initializing them, which can lead to errors.
I just updated the code on that page and it runs now. What I added was a line
randomize(T);
that sets the elements of the tensor T to be random elements. That allows the rest of the code to run correctly. The reason you were getting that error is that no elements of T had been set, so T had no storage. In the future we'll fix combiners to work even for this case.
One other note is that, if you get an error like a segmentation fault, please try compiling and running your code in "debug mode".
http://itensor.org/docs.cgi?page=formulas/debug_mode
Running your code this way will help to give more informative error messages.
Glad you are trying out ITensor!
Best regards,
Miles