I didn't come here to tell you how this is going to end. I came here to tell you how it's going to begin.
HOWTO /
BenchmarkingThis is a work in progress. Currently the format specifiers are only working on the dmrg-ee branch. For long-running calculations such as DMRG, it is possible to write data to a file during the calculation. This can be used for benchmarking or for tracking convergence. To write benchmarking output to a file, you need to set an environment variable prior to running the calculation. For example, in bash, use $ export MP_BENCHFILE="bench.out" $ mp-dmrg [.....] Currently the tools that support this are:
Set the environment variable to the name of the file that you want to write. In addition, the following format specifiers are allowed:
The currently supported date/time format specifiers are:
It is very easy to add additional such format specifiers based on the The output format of the file depends on the specific tool, but in all cases it starts with a comment block containing the command line, the date, and column headings for the remainder of the file. For example, #mp-dmrg -w test -m 10x10 #Date: Thu, 05 Sep 2024 14:27:07 +0800 #Time #SweepNum #Site #States #Energy #Trunc #Fidelity #Iter #Tol 0.04803204536438 1 39 4 -52.02892127476533 0 2.0558672764182e-08 4 1.2454675551909e-15 0.0504150390625 1 38 10 -52.02893019311779 0 1.7461800709273e-05 5 0.00013751235373796 ... |