- The compile instruction is in the DOC directory.
- The input example is test.config
As of 18/09/20, the code is built and tested using :
gcc
(GCC) v9.3.1cmake
version v3.17.4boost
v1.69.0 andboost-devel
v1.69.0 dnf packages- Fedora 31 OS
sudo dnf install gcc cmake boost boost-devel
git clone [email protected]:arn-all/Kinetic_Monte_Carlo_Code.git KMC
cd KMC
mkdir bin
cd bin
CC=gcc
CXX=g++
cmake ../src
make -j 4
Example use case for setting a breakpoint at src/pointdefects/PointDefects.cpp:549 which will be active at the 37th timestep. Requires SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -g -O0 -std=c++11")
in src/CMakeLists.txt
gdb bin/DislocationKMC
b src/pointdefects/PointDefects.cpp:549 if simulation().simulationStep()==37
r --config test.config