In order to run the numerical simulations in Linux, the following previous steps should be followed:
- Clone the NumSim repository: git clone https://github.com/CarlosGascon/NumSim.git
- Clone the REBOUND repository: git clone https://github.com/hannorein/rebound.git
- Enter REBOUND directory: cd rebound
- Compile REBOUND: make
- Exit REBOUND directory: cd ..
- Create symbolic link: ln -s ./rebound/librebound.so ./NumSim/librebound.so
- Export library Path: export LD_LIBRARY_PATH=
pwd
'/rebound/src' - Enter NumSim directory: cd NumSim
- Run matlab from same terminal: matlab &
- Generate Matlab executable file by running GenerateMex.m
- Configure simulation parameters and run Main.m