JuPedSim / jpsreport

Analysis tool
https://www.jupedsim.org/jpsreport_introduction.html
Other
3 stars 9 forks source link

Resolve "Use Boost Directory Functionality" #82

Closed chraibi closed 5 years ago

chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 4, 2018, 18:31 [origin]

Closes #80

chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 4, 2018, 20:29

added 2 commits

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 5, 2018, 10:41

added 3 commits

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 5, 2018, 11:24

can someone check this branch? Just run some inifile on some trajectory file. Thanks!

git fetch origin
git checkout -b 80-use-boost-directory-functionality origin/80-use-boost-directory-functionality
chraibi commented 5 years ago

In Gitlab by @gjaeger on Oct 5, 2018, 11:41

Do you have a inifile and a trajectory file?

I get:

$ jpsreport_dev ini_UNI_CORR_500_08_exp_10.xml
----
JuPedSim - JPSreport

Current date   : Fri Oct 05 11:39:18 2018
Version        : 0.8.3
Compiler       : Compiler not identified ()
Commit hash    : v0.8.3-38-g151dbb8
Commit date    : Fri Oct 5 10:40:16 2018
Branch         : 80-use-boost-directory-functionality
Python         : /opt/local/bin/python3.6 (3.6.6)
----

INFO:   Parsing the ini file <ini_UNI_CORR_500_08_exp_10.xml>
INFO:   logfile <./log_UNI_CORR_500_08_exp_10.txt>
Segmentation fault: 11

my logfile:

----
JuPedSim - JPSreport

Current date   : Oct  5 2018 11:36:47
Version        : 0.8.3
Compiler       : Compiler not identified ()
Commit hash    : v0.8.3-38-g151dbb8
Commit date    : Fri Oct 5 10:40:16 2018
Branch         : 80-use-boost-directory-functionality
----

INFO:   Geometry File is: <./geo_UNI_CORR_500_08.xml>
INFO:   Format of the trajectory file is: <.txt>
INFO:   Input trajectory file is    <traj_UNI_CORR_500_08_exp.txt>
chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 5, 2018, 12:06

Thanks, @gjaeger. No, I don't want to specify any files.

It should work for all cases. But, apparently,​ it does not yet.

chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 14, 2018, 18:59

added 3 commits

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 14, 2018, 19:03

@gjaeger if you have time, please check again. :+1:

chraibi commented 5 years ago

In Gitlab by @gjaeger on Oct 15, 2018, 07:47

$ jpsreport_dev ini_UNI_CORR_500_08_exp_10.xml
----
JuPedSim - JPSreport

Current date   : Mon Oct 15 07:46:22 2018
Version        : 0.8.3
Compiler       : Compiler not identified ()
Commit hash    : v0.8.3-41-ge393027
Commit date    : Sun Oct 14 18:43:41 2018
Branch         : 80-use-boost-directory-functionality
Python         : /opt/local/bin/python3.6 (3.6.6)
----

INFO:   Parsing the ini file <ini_UNI_CORR_500_08_exp_10.xml>
jpsreport(46446,0x7fff9adef380) malloc: *** error for object 0x41: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
chraibi commented 5 years ago

In Gitlab by @chraibi on Oct 15, 2018, 10:09

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 9, 2018, 19:03

mentioned in merge request !13

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 11, 2018, 07:26

added 27 commits

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 11, 2018, 08:13

assigned to @chraibi

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 12, 2018, 11:45

added 2 commits

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 12, 2018, 11:57

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @gjaeger on Nov 12, 2018, 13:06

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 12, 2018, 20:41

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @gjaeger on Nov 12, 2018, 21:00

looks like it's running:

cmake ..
-- JPSREPORT_VERSION: 0.8.4
-- The CXX compiler identification is GNU 8.2.0
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Check for working CXX compiler: /opt/local/bin/c++
-- Check for working CXX compiler: /opt/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /opt/local/bin/git (found version "2.18.0") 
-- CMAKE_SOURCE_DIR: /Users/gjaeger/Documents/hubs/JuPedSim_dev/jpsreport
-- CMAKE_CURRENT_SOURCE_DIR: /Users/gjaeger/Documents/hubs/JuPedSim_dev/jpsreport
-- CMAKE_BUILD_TYPE: Release
-- CMAKE_RUNTIME_OUTPUT_DIRECTORY: /Users/gjaeger/Documents/hubs/JuPedSim_dev/jpsreport/bin
-- EXECUTABLE_OUTPUT_PATH: /Users/gjaeger/Documents/hubs/JuPedSim_dev/jpsreport/bin
-- CMAKE_VERBOSE_MAKEFILE: FALSE
-- BUILD_TESTING: OFF
-- PROCESSOR_COUNT 1
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- Using g++ 8.2.0
-- Set compiler flags (g++)
-- Release flags: -O3 -DNDEBUG -Wall -Wno-unused-local-typedefs  -std=c++17 -lstdc++fs-static
-- Boost version: 1.66.0
-- BOOST FOUND: 1_66
-- Boost_LIBRARY_DIRS: /opt/local/lib
-- Boost_INCLUDE_DIR: /opt/local/include
-- Boost_LIB_VERSION: 1_66
-- Boost_libraries: 
-- Found PythonInterp: /opt/local/bin/python3.6 (found version "3.6.6") 
-- Found Python: /opt/local/bin/python3.6  (version: 3.6.6)
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/gjaeger/Documents/hubs/JuPedSim_dev/jpsreport/build

After make:

$ jpsreport_dev ini_UNI_CORR_500_08_smo.xml
----
JuPedSim - JPSreport

Current date   : Mon Nov 12 20:59:05 2018
Version        : 0.8.4
Compiler       : g++ (8.2.0)
Commit hash    : v0.8.3-74-g79e27ea
Commit date    : Mon Nov 12 20:41:28 2018
Branch         : 80-use-boost-directory-functionality
Python         : /opt/local/bin/python3.6 (3.6.6)
----

INFO:   Parsing the ini file <ini_UNI_CORR_500_08_smo.xml>
INFO:   logfile </Users/gjaeger/Documents/hubs/PhD/07_experiments/uni_corr_500_08/export/log_UNI_CORR_500_08_smo.txt>
lineNr 100000
lineNr 200000
lineNr 300000
INFO:   Success with Method D using measurement area id 1
INFO:   End Analysis for the file: traj_UNI_CORR_500_08_smo.txt
Time elapsed:    23.5397 [s]
chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 13, 2018, 08:22

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 13, 2018, 08:33

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 15, 2018, 09:21

unmarked as a Work In Progress

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 15, 2018, 09:47

added 1 commit

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 15, 2018, 09:49

added 4 commits

Compare with previous version

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 15, 2018, 09:49

mentioned in commit 3895e194aa3761f58dd068d44286c0dbc89f8c53

chraibi commented 5 years ago

In Gitlab by @chraibi on Nov 15, 2018, 09:49

merged