Run the first simulation
This section explains how to run the first simulation.
After the installation is completed, the location of BornAgain libraries needs to be included into
DYLD_LIBRARY_PATH for MacOS) and
PYTHONPATH environment variables. This can be done by running the BornAgain setup script in the terminal session
Conveniently, a given call can be placed in your
profile for MacOS) file.
In your installation directory you will find
|-- bin - Links to executables |-- include | |-- BornAgain-1.10 - C++ headers to dive into the development |-- lib | |-- BornAgain-1.10 - BornAgain libraries |-- share | |-- BornAgain-1.10 | |-- Examples - Directory with examples
Run your first example and enjoy the first BornAgain simulation plot.
BornAgain application can be run by executing following command