|
Molecular Dynamics Simulation
1.0
|
This repo contains the code for the practical course PSE: Molecular Dynamics by group C in WS 2023/24.
Group Members:
All Contributors:
The simulation is designed in a modular way. The following diagram shows the main components of the simulation and how they interact with each other.
All the submissions for the individual sheets, the presentation slides and the project documentation is automatically deployed to GitHub Pages and can be accessed via the following links:
master branch can be found in docs.presentations branch can be found in submissions.gcc 13.1.0CMake 3.28.0make 4.3sudo apt install doxygen (optional, only needed for documentation)sudo apt install graphviz (optional, only needed for drawing UML diagrams in doxygen)sudo apt install libxerces-c-devsudo apt-get install libboost-program-options-devsudo apt install cmake-format-13 (optional, only needed for formatting cmake files)In this section we describe how to build the project. You can use the following options to configure the build process:
mkdir -p build && cd buildcmake ..cmake .. -D BUILD_DOC_DOXYGEN=ONcmake .. -D PARALLEL_V2_OPT=ON (for more information about parallelization, see Parallelization)make -jmake -j MolSimmake -j testsmake -j benchmarks>Hint: The -j<int> option enables parallel compilation on the given amount of cores, e.g. -j4 for 4 cores, if no number is given the maximum amount of cores is used
build directory after building the project.make doc_doxygen to build the documentation.build/docs/html/index.html.master branch can be found here.build/project directory after building the project../MolSim -f <FILENAME> to run the program. <FILENAME> is the path to the input file. For more information on the possible input file formats see Input File Formats../MolSim --help to get a detailed list of all options, parameters and their default values../MolSim -f ../../body_collision.xml/docs directory.OMP_NUM_THREADS environment variable in front off the program call. For example: OMP_NUM_THREADS=4 ./MolSim -f ../../body_collision.xmlbuild/tests directory after building the tests.ctest or ./tests to run the tests.build/benchmarks directory after building the benchmarks../2DParticleRect