g1257 / dmrgpp

A free and open source implementation of the DMRG Algorithm
https://g1257.github.io/dmrgPlusPlus/
Other
41 stars 22 forks source link

observe code segfaults if sweeps that save do not end at corner #6

Open g1257 opened 12 years ago

g1257 commented 12 years ago

This should not be a problem because all previous data must have already being processed and printed by observe. Some have noticed, however, that because the printing is probably buffered, sometimes the segfault precludes the printing from happening at all, particularly when running observe in a batch job. WORKAROUND: Have the sweeps that save() to disk end at one of the corners. () Sweeps that save are those that have the first bit of the 3rd number of the finite loop triplet set.