Get the sources

Download the BornAgain sources. You also need the sources of libheinz and libformfactor when compatible installed packages are not available, or when developing these libraries together with BornAgain.

For a release build, download BornAgain from its release page. When building the support libraries from source, select matching releases of libheinz and libformfactor. For development, use the main branches of the support libraries and the develop branch of BornAgain.

Development checkout

Clone the public Git repositories:

git clone https://jugit.fz-juelich.de/mlz/libheinz.git
git clone https://jugit.fz-juelich.de/mlz/libformfactor.git
git clone --branch develop https://jugit.fz-juelich.de/mlz/bornagain.git

Omit the support-library clones when using compatible installed packages.

For library build and installation steps, see Linux and macOS or the Windows library setup.