Recent Changes - Search:

HomePage

PmWiki

pmwiki.org

MpHistory

The mp-history command displays the history of a wavefunction.

The history contains every command that modified the wavefunction, with the command line and the date. It is also possible to add new entries to the history.

Synopsis

mp-history [options] <wavefunction>

Options

--help

show help message

-r, --reverse

reverse the order of displayed history entries; newest first

-m, --message=message

add a new history entry given by the supplied message.

Examples

  1. To display the history log of a wavefunction:

    $ mp-history psi
    Date: Wed, 06 Apr 2016 18:03:24 +1000
    mp-idmrg-s3e -H "lattice:H_j1" -b -a -u 26 --boundary 0 -q 4 -m 200 -s 100 -w psi
    
    Date: Wed, 06 Apr 2016 18:14:01 +1000
    mp-idmrg-s3e -w psi -m 200..300x100
    

  2. To add a new history entry:

    $ mp-history psi -m "Wavefunction converged and will be used for the paper; see notes/figure2"
    

Notes

  1. It is not possible to undo a history entry.
  2. It is possible that there are some tools that modify the wavefunction but don't add a history entry; this is a bug and please report it.
  3. For keeping track of simple metadata (for example, whether a wavefunction has been post-processed or not), MpAttr might be more appopriate.
Edit - History - Print - Recent Changes - Search
Page last modified on April 20, 2016, at 05:32 PM