Download Carpet

Available Versions

Carpet is distributed under the GNU General Public License (GPL). It might be released under the GNU Lesser General Public License (LGPL) in the future, to match the distribution terms of Cactus.

There are currently three different versions of Carpet available:

Version 1 has been unchanged for quite some time. There are no plans to make any further changes to this version unless a catastrophic error is detected.

Version 2 is the upcoming next stable version. This version is almost feature complete, but we continue to improve its performance for parallel communication and I/O. This version will probably be released in a few week. After its release, we will only correct errors, so that its users have a stable platform to rely on. We recommend this version for the casual user and for production runs.

The development version will always see changes, some of which might surprise you. You should not use it without keeping close contact to the developers.

Getting Carpet

Carpet is a driver for Cactus. It works as a part of Cactus, and you will need to have the developers' version of Cactus installed before you can use Carpet. Please look at the Cactus web pages for an introduction to Cactus and for installation instructions.

Carpet consists of several arrangements, each living in a directory. The arrangement Carpet contains the basic driver part that everybody needs. The arrangement CarpetExtra contains useful add-ons and some example code. Development of new thorns happens in the CarpetDev arrangement, which means that the code in there is not to be trusted. And finally, there is a graveyard arrangement CarpetAttic of things that only used to be useful and are now in a state of decay.

Version 1

Version 1 of Carpet is available via anonymous CVS:

        cd Cactus/arrangements
        cvs -d :pserver:cvs_anon@cvs.carpetcode.org:/home/cvs/carpet login
        cvs -d :pserver:cvs_anon@cvs.carpetcode.org:/home/cvs/carpet checkout Carpet
        cvs -d :pserver:cvs_anon@cvs.carpetcode.org:/home/cvs/carpet checkout CarpetExtra
        cvs -d :pserver:cvs_anon@cvs.carpetcode.org:/home/cvs/carpet checkout CarpetDev

The password for anonymous CVS access is anon. Instructions for dealing with CVS are available everywhere on the web, e.g. also on the Cactus pages.

Version 2

Version 2 of Carpet is available via anonymous darcs (a CVS mirror is planned):

        cd Cactus
        darcs get http://www.carpetcode.org/~darcs/carpet-stable-2
        cd arrangements
        ln -s ../carpet-stable-2/Carpet* .

(Don't miss the dot after the Carpet* in the last line.) Instructions for using darcs are given below. You can also have a look at Carpet's source tree in your web browser.

Development Version

The development version of Carpet is not available anonymously. Ask me if you would like an account. Once you have an account, you get the development version via

        cd Cactus
        darcs get darcs@cvs.carpetcode.org:/home/darcs/carpet
        cd arrangements
        ln -s ../carpet-stable-2/Carpet* .

(Don't miss the dot after the Carpet* in the last line.) Instructions for using darcs are given below.

We thank the Institut für Astronomie und Astrophysik of the Universität Tübingen for hosting the CVS and darcs server.


Using Darcs

Carpet is managed in a darcs repository instead of a CVS repository. Darcs has a number of advantages over CVS for us developers, such as:

and then some more, as described in the darcs manual.

If darcs is not already installed on your system, you need to do so. This is described on the darcs home page, and some links to binaries are given in the darcs wiki. If you have problems installing or using darcs in general, then you should ask on the darcs mailing list, which I (Erik Schnetter) read regularly. For your convenience, we have also prepared a gzipped, statically linked executable of darcs 1.0.4pre2 for Linux/i386 (2.5 MB), and the gzipped postscript documentation (270 kB) for it.

Updating the Repository from the Master

At some time you will want to update your version of Carpet and incorporate some changes from the main Carpet repository. You do this with the command

cd Cactus/carpet-stable-2
darcs pull

which will look for new changes, and then ask you which of these you want to obtain. Normally, you will want all changes.

Working with Darcs

We also have some instructions on how to develop Carpet with darcs.


Go back to the Carpet home page.


Valid XHTML 1.0!


Erik Schnetter
Last modified: Sat Jul 23 20:57:43 CEST 2005