... | ... | @@ -14,34 +14,14 @@ only specific model parameters can still be changed. |
|
|
CORSIKA 8 is released under the GPLv3 license. See [license file](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/LICENSE) which is part of every release and the source code.
|
|
|
|
|
|
When you contribute to CORSIKA check the guidelines outlined here:
|
|
|
[coding guidelines](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/CONTRIBUTING.md). Code that fail the review by the CORSIKA author group must be improved before it can be merged in the official code base. After your code has been accepted and merged you become a contributor of the CORSIKA project and you should include yourself in the [AUTHORS](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/AUTHORS) file.
|
|
|
[coding guidelines](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/CONTRIBUTING.md). Code that fail the review by the CORSIKA author group must be improved before it can be merged in the official code base.
|
|
|
|
|
|
You need to read and agree to the [collaboration agreement](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/COLLABORATION_AGREEMENT.md). The agreement can be discussed, and eventually improved.
|
|
|
You need to read and agree to the [collaboration agreement](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/COLLABORATION_AGREEMENT.md).
|
|
|
|
|
|
We also want to point you to the [MCnet guidelines](https://gitlab.ikp.kit.edu/AirShowerPhysics/corsika/blob/master/MCNET_GUIDELINES), which are very useful also for us.
|
|
|
|
|
|
## Prerequisites
|
|
|
## Prerequisites and Installation
|
|
|
|
|
|
On a fresh ubuntu 18.04 system you would need the following extra packages:
|
|
|
Please check the README of a specific version/branch you are interested in.
|
|
|
|
|
|
```apt-get install cmake libboost-dev libeigen3-dev python3 gfortran```
|
|
|
|
|
|
If you work with FreeBSD, run:
|
|
|
```pkg install git cmake python3 flang boost-libs eigen```
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
Follow these steps to download and build CORSIKA 8 milestone2
|
|
|
```
|
|
|
git clone git@gitlab.ikp.kit.edu:AirShowerPhysics/corsika.git
|
|
|
cd corsika
|
|
|
git checkout milestone2
|
|
|
mkdir ../corsika-build
|
|
|
cd ../corsika-build
|
|
|
cmake ../corsika -DCMAKE_INSTALL_PREFIX=../corsika-install
|
|
|
make -j8
|
|
|
make install
|
|
|
make test
|
|
|
```
|
|
|
and if you want to see how the Heitler model works and is implemented, see `Framework/Cascade/testCascade.cc` for a starting point. |
|
|
\ No newline at end of file |