Router V5 segfaults only for TRANSIT trips

33 views
Skip to first unread message

pierre fermat

unread,
Dec 12, 2014, 8:37:29 AM12/12/14
to trans...@googlegroups.com
Hello All
We've been playing with Transims V5 with multithreading. 

Platform specs:
OS - Centos 7
Kernel version - 3.10 64 bit
Transims Version 5 Branch revision - 1533
Compiled with Boost threads Library version - 1.53
g++ - 4.8.2
Statically linked
Number of phyisical cores - 2xquad core - total threads 16
Number of threads set in control files - 16 (Changes to this doesn't avoid segfaults).

We modified  to the code to overcome compiler errors:

1.  -lboost_system-mt was added to the $boost_libs variable 
2. File -   Transims50/SysLib/Include/Partition_Files.hpp
this->push_back (file_ptr); (line 53 and 74)

The compile-logs.zip file has two logs - one showing the compile errors, and the other showing successful compile. 


1. Template control files were generated using the -C flag.
2. The control files for alexandria were created using values available from the version 4 files.
3. In each control file the number of threads were set.
4. We reused v4's node/link files etc., to start the process from Transimsnet.

The following ran without errors:
1. Transimsnet
2. intcontrol
3. arcnet.
4. Converttrips
However, they showed the warning that the application was not thread enabled. 

Router always crashed with segmentation fault when the trip type was set to 5 (TRANSIT). For all other trip types, router and microsimulator ran in multithreaded mode successfully. 

The file control-strace.zip has:

1. Strace output for the Router run. 
2. Router.ctl, converttrips.ctl

Any help would be appreciated.

Best
Pierre

compile-logs.zip
control-strace.zip
Reply all
Reply to author
Forward
0 new messages