denispaluca / psemoldyn

Molecular Dynamics Simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MolSim

Group B

Members:

  • Trouvain, Mira
  • Paluca, Denis
  • Höbenreich, Jonas

Code

Build and Run Instructions

Requirements

  • log4cxx

MolSim program

  • Compile with

    cmake -DDISABLE_DOXYGEN=ON -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" {PATH_TO_PROJECT}
    make MolSim -j <1.5 * number of cores>
    
  • run main program with parameters specified in assignment:

    ./MolSim ./inputs/a4_task2_big.xml
    
  • Compile on Cluster (Deactivate log4cxx)

    cmake -DCMAKE_BUILD_TYPE=Release -DCLUSTER=ON -G "CodeBlocks - Unix Makefiles" {PATH_TO_PROJECT}
    module load xerces-c
    cmake --build . --target MolSim -- -j 20
    
  • Activate Parallelisation with -DOPENMP=ON

    cmake -DCMAKE_BUILD_TYPE=Release -DOPENMP=ON -G "CodeBlocks - Unix Makefiles" {PATH_TO_PROJECT}
    cmake --build . --target MolSim -- -j 20
    

General program call

./MolSim <PATH_TO_INPUT_FILE>

or for performance testing:

./MolSim <PATH_TO_INPUT_FILE> -pt

Tests

  • Compile with

    cmake -DDISABLE_DOXYGEN=ON -DCMAKE_BUILD_TYPE=Debug  -G "CodeBlocks - Unix Makefiles" {PATH_TO_PROJECT}
    make Tests_run -j <1.5 * number of cores>
    
  • run

    ctest
    

    or

    cd tests/
    ./Tests_run
    

Doxygen documentation

  • Build with

    cmake -DCMAKE_BUILD_TYPE=Debug  -G "CodeBlocks - Unix Makefiles" {PATH_TO_PROJECT}
    make doc_doxygen
    

Input file format

see XSD file

Media

Performance measurements

*The OS/hardware the measurements were made on Linux Cluster (COOL-MUC 2) *Performance Comparison

Misc

  • Compiler used: gcc 9.3.0
  • CMake version: 3.16.3
  • Google Tests version: 1.10.0
  • modules used on cluster:
  1. admin/1.0 4) spack/staging/20.2.2 7) intel-mpi/2019-intel
  2. tempdir/1.0 5) intel/19.0.5 8) xerces-c/3.2.1
  3. lrz/1.0 6) intel-mkl/2019 9) gcc/8.4.0

About

Molecular Dynamics Simulation


Languages

Language:C++ 54.0%Language:HTML 26.6%Language:TeX 9.5%Language:Python 6.0%Language:JavaScript 0.9%Language:PostScript 0.8%Language:CMake 0.5%Language:Shell 0.4%Language:CSS 0.4%Language:C 0.4%Language:Starlark 0.3%Language:Makefile 0.0%