Skip to content
C++ Python CMake Other
Branch: develop
Clone or download
schroedtert Merge pull request #473 from Ozaq/fix-470
Fix linkage on macOS when using gcc
Latest commit 082762a Aug 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update feature_request.md Jul 19, 2019
IO Fix some small issues when reading ini file and header section is mis… Aug 5, 2019
JPSfire
Utest Add numpy alias to master_ini.xml (#463) Aug 13, 2019
cmake_modules Cleanup cmake Jul 30, 2019
demos Merge branch '325_header' of https://gitlab.version.fz-juelich.de/jup… Jul 17, 2019
doc Doxygen documentation Nov 15, 2018
events Fix some small issues when reading ini file and header section is mis… Aug 5, 2019
forms add icons for jpscore Jun 6, 2018
general Fixup includes (#452) Aug 4, 2019
geometry Avoid Overwriting Return Value of Geo-Correction Aug 13, 2019
hybrid General cleanup (#447) Aug 1, 2019
inputfiles Update source demo Dec 28, 2017
math Fixup includes (#452) Aug 4, 2019
mpi Fixup includes (#452) Aug 4, 2019
pedestrian setT was missing Aug 6, 2019
routing fix missing include of string Aug 4, 2019
scripts Added script for plotting isovists and some in code documentation for… Dec 11, 2018
third-party General cleanup (#447) Aug 1, 2019
voronoi-boost Fixup includes (#452) Aug 4, 2019
xsd Make caption for waiting areas not required Jul 21, 2019
.gitignore Cleanup cmake Jul 30, 2019
.gitlab-ci.yml change naming of job May 20, 2019
.travis.yml Cleanup cmake Jul 30, 2019
.travis_before_install.bash Travis (#424) Jul 20, 2019
.travis_install.bash Cleanup cmake Jul 30, 2019
CHANGELOG.md Update changelog 0.8.4 Apr 12, 2019
CMakeLists.txt Fix linkage on macOS when using gcc Aug 13, 2019
CONTRIBUTING.md Update CONTRIBUTING.md Mar 27, 2018
Dockerfile remove CGAL installation from docker Nov 8, 2018
LICENSE Refactoring events manager and part merging of the information sharing. Jan 19, 2015
README.md License is LGPL Aug 13, 2019
Simulation.cpp Fixup includes (#452) Aug 4, 2019
Simulation.h Cleanup cmake Jul 30, 2019
main.cpp
packages.config Resolve "Sources" Dec 4, 2018

README.md

JPScore

Build Status GitHub license DOI

The core module for performing simulations. See the online documentation

Building from source

Linux / macOS

The build is tested on Ubuntu 18.04 with gcc-9.1 / clang-8 and on macOS Mojave 10.14.5 with dependencies from Homebrew and Apple LLVM 10.

Requirements

On Linux you will need a C++17 capable compiler and a standard library that supports <filesystem>. On macOS you will need the system compiler with C++17 and filesystem from boost.

Required:

  • boost (>= 1.65)
  • libomp (if you want to use OpenMP with Apple LLVm or Clang on Linux)
  • cgal
  • cmake (>= 3.1)

Recommended:

  • ninja-build

How to build

Once you have installed all dependencies and cloned the repository continue with a ninja based build:

mkdir build
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=Debug <path-to-cmakelists>
ninja

Alternatively you can generate a make based build with:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug <path-to-cmakelists>
make -j$(nproc)

Note: If you do not want to use OpenMP you have to pass -DUSE_OPENMP=OFF to cmake on generation.

cmake -DCMAKE_BUILD_TYPE=Debug -DUSE_OPENMP=OFF <path-to-cmakelists>

The following configuration flags are available:

USE_OPENMP defaults to ON

Build jpscore with OpenMP support, generation will fail if OpenMP cannot be found.

JPSFIRE defaults to OFF

Build jpscore with jpsfire features

AIROUTER defaults to OFF

Build jpscore with an AI based router

BUILD_DOC defaults to OFF

Build internal Doxygen based documentation

BUILD_CPPUNIT_TEST defaults to OFF

Build unit tests and add them to ctest

BUILD_TESTING defaults to OFF

Build full system tests and add them to ctest

BUILD_WITH_ASAN defaults to OFF (Does not support Windows)

Build an additional target jpscore_asan with address and undefined behavior sanitizer enabled. Note there is an approx. 2x slowdown when using jpscore_asan over jpscore

Quick start

See installation and configuration

Showcase and tutorials

To highlight some features of JuPedSim we have uploaded some videos on our YouTube channel.

Support

We are heavily working on this project which means that:

  • It’s not done. We will be releasing new enhancements, bug fixes etc.
  • We love your support. If you find any errors or have suggestions, please write an issue in our issue-tracker. We will try hard to fix it.
  • Be patient. We are scientists and PhD/master students. Therefore, we primarily care about our research and theses.

Enjoy!

You can’t perform that action at this time.