Search:

# How to get the source code

The source code is in the process of migrating to a git repository. Currently, only the iDMRG code is available from git. To obtain the git repository, for iDMRG, use

git clone git://git.science.uq.edu.au/mptoolkit


git clone --branch <branch-name> git://git.science.uq.edu.au/mptoolkit


After a git clone, it is necessary to run the script fix-timestamp.sh inside the source directory:

mptoolkit/fix-timestamp.sh


(If you get an error similar to fix-timestamp.sh: Permission denied then for some reason the file permissions haven’t been set properly; try chmod u+x mptoolkit/fix-timestamp.sh to fix it).

You only need to run fix-timestamp.sh once, immediately after a “git clone”. This is because git doesn’t keep track of modification times of files, so after cloning a repository for the first time the modification dates of files will be the time that the repository was cloned, not when they were last modified in the repository. This confuses the build system into thinking that some files are out of date when they are actually OK. Normally, it is only necessary to run fix-timestamp.sh once, immediately after cloning the repository. In exceptional cases it might also be necessary to run fix-timestamp.sh if, for example if some files used in the build system are updated.

How to use git

Some notes on Git

## Old versions, and finite-size tools

The old subversion repository is at svn://svn.physics.uq.edu.au/ianmcc/mptoolkit .

To download the most recent public version of the finite-size tools (which is quite old by now), use

svn co svn://svn.physics.uq.edu.au/ianmcc/mptoolkit/trunk