Skip to content

What happens when you launch a run

Justin Ripley edited this page Nov 9, 2020 · 5 revisions

Compiling

To run an example, first you need to compile the fortran code. Typing "make" should be sufficient, although you may need to configure the Makefile for the system you are working with.

The fortran executable is contained under /bin.

Python scripts to launch run

Initial data to launch are a run are configured in the setup.py file. Launching a run should be a simple as typing, e.g. ./setup basic_run

The "setup.py" file makes use of the "sim" class which can be found in the sim_class.py file.

Once you launch a run, the sim class will write a new directory (probably under /output, although this depends on how you configure setup.py and the sim class), and then launch several python scripts (located under /src/tables). These scripts will write tables of spin-weighted spherical harmonics and Legendre points/weights. The sim class will also write the initial data as a parameter file under the new directory.

Teukolsky evolution

Once those tables are written, the fortran executable will be launched. It will read in tables, and (depending on how the setup.py file is configured) then begin solving the first and second order Teukolsky equations and metric reconstruction equations.

At the moment the output of the fortran code is written to .csv files.

Clone this wiki locally