Differences between revisions 2 and 3
Revision 2 as of 2007-10-24 06:58:51
Size: 496
Editor: gibbs
Comment:
Revision 3 as of 2008-02-22 15:13:08
Size: 1903
Editor: MarcinDulak
Comment: releasing dacapo
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:

Releasing a new version of Dacapo
---------------------------------

Here is what you have to do:

* Make a fresh checkout from svn, and run `cd Python/Dacapo/Tests; python test.py`.

For the **Python** code:

* Change the **version number** (e.g. 0.9.3) in ``Python/setup.py``, and commit: ``cd dacapo; svn ci -m"Release Python-0.9.3"``

* Make a tag in svn: ``svn copy -r 450 https://svn.fysik.dtu.dk/projects/dacapo/trunk/Python https://svn.fysik.dtu.dk/projects/dacapo/tags/Python-0.9.3 -m "Release Python-0.9.3"``

* Make a tar file (``cd Python; python setup.py sdist``).

For the Fortran **src** code:

* Make a tag in svn: ``svn copy -r 451 https://svn.fysik.dtu.dk/projects/dacapo/trunk/src https://svn.fysik.dtu.dk/projects/dacapo/tags/src-2.7.13 -m "Release src-2.7.13"``

* Create the tar file: ``cd dacapo; cd ..; cp -rp dacapo campos-dacapo-2.7.13; tar zcvf campos-dacapo-2.7.13.tar.gz campos-dacapo-2.7.13; rpm -rf campos-dacapo-2.7.13``

For the pseudopotentials **psp** code:

* Make a tag in svn: ``svn copy -r 440 https://svn.fysik.dtu.dk/projects/dacapo/trunk/psp https://svn.fysik.dtu.dk/projects/dacapo/tags/psp-1 -m "Release psp-1"``

* Create the tar file: ``cd dacapo; cd ..; cp -rp dacapo/psp campos-dacapo-pseudopotentials-1; tar zcvf campos-dacapo-pseudopotentials-1.tar.gz campos-dacapo-pseudopotentials-1; rpm -rf campos-dacapo-pseudopotentials-1``

Documentation and tips and tricks to Dacapo

The intention with this page is that seasoned users of Dacapo can document their knowledge about the program. By doing so, persons who are not so experienced or are moving to a new subject can learn the caveats and tricks of Dacapo without doing all the mistakes themself.

List of elements

Releasing a new version of Dacapo

Here is what you have to do:

  • Make a fresh checkout from svn, and run cd Python/Dacapo/Tests; python test.py.

For the Python code:

  • Change the version number (e.g. 0.9.3) in Python/setup.py, and commit: cd dacapo; svn ci -m"Release Python-0.9.3"
  • Make a tag in svn: svn copy -r 450 https://svn.fysik.dtu.dk/projects/dacapo/trunk/Python https://svn.fysik.dtu.dk/projects/dacapo/tags/Python-0.9.3 -m "Release Python-0.9.3"
  • Make a tar file (cd Python; python setup.py sdist).

For the Fortran src code:

  • Make a tag in svn: svn copy -r 451 https://svn.fysik.dtu.dk/projects/dacapo/trunk/src https://svn.fysik.dtu.dk/projects/dacapo/tags/src-2.7.13 -m "Release src-2.7.13"
  • Create the tar file: cd dacapo; cd ..; cp -rp dacapo campos-dacapo-2.7.13; tar zcvf campos-dacapo-2.7.13.tar.gz campos-dacapo-2.7.13; rpm -rf campos-dacapo-2.7.13

For the pseudopotentials psp code:

  • Make a tag in svn: svn copy -r 440 https://svn.fysik.dtu.dk/projects/dacapo/trunk/psp https://svn.fysik.dtu.dk/projects/dacapo/tags/psp-1 -m "Release psp-1"
  • Create the tar file: cd dacapo; cd ..; cp -rp dacapo/psp campos-dacapo-pseudopotentials-1; tar zcvf campos-dacapo-pseudopotentials-1.tar.gz campos-dacapo-pseudopotentials-1; rpm -rf campos-dacapo-pseudopotentials-1

Dacapo: Documentation (last edited 2010-10-20 09:11:46 by localhost)