Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Quick Start

Kengo TOMIDA edited this page Nov 23, 2016 · 9 revisions

Download the Code

You can download the latest public version on the Github repository. You can download the code from the repository using any Git client.

Testing that the code runs

A quick way of testing that the code works is to run the regression test suite. From within the athena/ directory, go to the regression directory and run the tests:

> cd tst/regression
> python run_tests.py

This may take several minutes, at the end of which a summary will be printed.

Configuring and compiling

Athena++ is compiled from an automatically generated Makefile. From the top-level directory, the code can be configured and compiled as follows:

> python configure.py <options>
> make clean
> make

This places the executable athena in the bin/ directory. Available configuration options are covered in Configuring.

Running

The code is easily run by specifying an input file:

> cd bin
> ./athena -i <path/filename>

Additional command line options are covered in Running the Code.

Clone this wiki locally