csendlinger 364191d92f Changes to cluster formation;
T2p + T2 -> T3p + T is now considered a tertiary process
and no longer a radiative one (might change again in the future);
tertiary association now conserves (kinetic) energy and momentum
in the center of mass frame (any energy released by the reaction
or transferred into excitations are not accounted for);
radiative association also conserves momentum in the center of mass
frame, where the momentum of the photon is negelected however.
2026-02-16 08:56:40 +01:00
2025-02-05 16:13:00 +01:00
2025-10-30 16:19:18 +01:00
2026-02-16 08:56:40 +01:00
2026-02-16 08:56:40 +01:00
2025-05-28 15:27:00 +02:00

COMPILATION OF THE CODE:

The code requires a C++ compiler (e.g. gcc) and few external libraries (MPI,
HDF5, Jansson, Blitz++). All of them are available in Debian and are
listed with package names in the file REQUIRED. Other distributions might have
slightly different package names. After installing all external dependencies
using the package manager of your distribution the compilation of KARL is
straight forward. First provide the path of the current working directory as an
environment variable, eg. through:

$ export HOMEBASE=$(pwd)

Then simply run

$ make

which should build and link all files to produce the binary file "bin/karl"
in the current working directory. If any library is not available in the system
wide include or library path you might have to edit the settings in
config/config.mk.

START OF A SIMULATION:

The simulation needs a JSON file that describes the physical and numerical
parameters of the simulation. One such file is provided with the source code
(simulation_config/test_parameter.json).
The JSON file also contains the location for the simulation output. The default
directory for this is /tmp which only works for simulations on a single node.
Before running on a cluster you should

     edit the JSON file, adjust "folder" and "filename" in the "Output" section.

You can then start the simulation using

$ mpiexec -n 4 bin/karl --parameter_file=simulation_config/test_parameter.json

You can of course specify some other number of MPI threads or use a different
JSON file. If you have to use some non-standard method to start MPI programs
(such as poe) instead of mpiexec you might need to check the relevant
documentation.
S
Description
No description provided
Readme
121 MiB
Languages
C++ 89.4%
Python 5%
Jupyter Notebook 4.5%
Makefile 1%