Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.28 KB

README.md

File metadata and controls

34 lines (29 loc) · 1.28 KB

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.