PyORBIT-Collaboration / PTC

PTC extension

Repository from Github https://github.comPyORBIT-Collaboration/PTCRepository from Github https://github.comPyORBIT-Collaboration/PTC

Build Status

PTC extension for pyORBIT code

Installation procedure requires building from source. All installation steps happen in command line (terminal). This procedure has been tested on Linux so far.

1. Build pyORBIT as described here

2. Clone the source code

git clone https://github.com/PyORBIT-Collaboration/PTC.git

Put the cloned repository somewhere outside of pyORBIT directory. So your source is now in PTC directory.

3. Setup environment variables

If you built pyORBIT environment from source, use customEnvironment.sh instead.

source <path-to-pyORBIT-installation>/setupEnvironment.sh

4. Build the code

make clean
make

This will put a dynamic library into <path-to-pyORBIT-installation>/lib. If make failed, it usually means that some of the libraries aren't set up properly.

Running Examples

cd examples/ptc_test_1
./START.sh run1.py 2

This will launch ptc_test_1 example on two MPI nodes. Other PTC related examples are availabale in Examples repository.

About

PTC extension


Languages

Language:Fortran 99.3%Language:C++ 0.5%Language:Makefile 0.2%