Download

From Csg wiki

Jump to: navigation, search

This page is outdated see http://code.google.com/p/votca/wiki/downloading for the new version

Contents

For the impatient

Let the buildutil do all the work. At first time:

prefix=YOUR_VOTCA_PATH_HERE 
mkdir -p $prefix/src
cd $prefix/src
wget http://votca.googlecode.com/hg/build.sh
chmod +x build.sh
./build.sh --prefix $prefix tools csg

Later on:

cd $prefix/src
./build.sh -u tools csg

Download options

There are two possibilities to download the code. As tarballs or using the hg repositories. We encourage you to use the buildutil since it simplifies updating your copy of VOTCA in case of bug fixes.

Downloading source tarballs

Tarballs can be found at: http://votca.org/downloads

Changelog can be found here.

Using the buildutil

The buildutil can also download the tarballs for you. For example to download and build of tools version 1.0_rc2 is done by:

build.sh --release 1.0_rc2 tools

Downloading source files from mercurial

The developer repository differs from the release repository. If you are a VOTCA Developer, please go to Download the development version

To upload source files from the repository first create a folder where the files will be

 mkdir votca_src

Then checkout the following libraries, depending on your needs:

  • tools - code shared by the rest of the programs and libraries
 hg clone http://hg.votca.org/tools
  • csg - coarse-graining engine
 hg clone http://hg.votca.org/csg
  • votca tutorials
 hg clone http://hg.votca.org/tutorials

Now you are ready to compile and install the code. Please check the dependencies.

Using buildutil

The buildutil can also checkout all sources for you. For example to just checkout (and not build) tools and csg, you do:

build.sh --no-configure tools csg

Votca buildutil

The buildutil helps to setup all flags for compiling the code and keeping it up to date. This is the easiest way to build VOTCA.

Get the latest version of votca build util Download. The build.sh should be placed in the source folder of votca.

For details refer to the help of this script

 ./build.sh --help


Getting buildutil

Getting the buildutil for hg

 mkdir votca_src
 cd votca_src
 hg clone http://hg.votca.org/buildutil
 ln -s buildutil/build.sh build.sh

Normal compile with update from repositories

./build.sh -u tools csg
Personal tools