ls-cwi / heinz

Single species module discovery
MIT License
13 stars 8 forks source link

Segmentation Fault(core dumped) and make check error #6

Open BuKyungBuKyung opened 7 years ago

BuKyungBuKyung commented 7 years ago

Hi, I installed heinz and all the other dependencies and I tested it with the test files. And most of them are failed. The only succeeded ones are $ ./heinz -e ../data/test/EdgesShort2.txt -n ../data/test/NodesShort2.txt and $ ./heinz -e ../data/test/EdgesShort.txt -n ../data/test/NodesShort.txt

test files of Nodes/EdgesPCST.txt, Nodes/Edges.txt, HCMV.stp and K100.2.stp are all failed.

$ ./heinz -n ../data/test/NodesPCST.txt -e ../data/test/EdgesPCST.txt // Successfully parsed '../data/test/NodesPCST.txt': contains 8 nodes, 10 edges and 1 component(s)

// Considering component 1/1: contains 8 nodes and 10 edges // Preprocessing successfully applied: 4 nodes, 5 edges and 1 component(s) remaining

// Considering block 1/1: contains 4 nodes and 5 edges // Preprocessing successfully applied: 4 nodes, 5 edges and 1 component(s) remaining Segmentation fault (core dumped)

$./heinz -stp ../data/DIMACS/mwcs/ACTMOD/HCMV.stp . . . // Replaced tricomponent of 8 nodes by a gadget of 3 nodes // Preprocessing successfully applied: 1285 nodes, 7947 edges and 1 component(s) remaining // Preprocessing successfully applied: 1285 nodes, 7947 edges and 1 component(s) remaining Segmentation fault (core dumped)

$ ./heinz -stp-pcst ../data/DIMACS/pcst/PCSPG-JMP/K100.2.stp . . . // Replaced tricomponent of 19 nodes by a gadget of 4 nodes // Preprocessing successfully applied: 343 nodes, 540 edges and 2 component(s) remaining // Preprocessing successfully applied: 343 nodes, 540 edges and 2 component(s) remaining Segmentation fault (core dumped)

Also the make check function was failed, 5 tests failed out of 11.

~/heinz/build$ make check [ 7%] Built target heinz_pcst_no_pre [ 15%] Built target check_mwcs_solution [ 23%] Built target heinz_rpcst_no_pre [ 30%] Built target heinz_mwcs_mc [ 38%] Built target heinz_mwcs_no_dc [ 46%] Built target check_pcst_solution [ 53%] Built target heinz_rpcst_no_dc [ 61%] Built target heinz_pcst_no_dc [ 69%] Built target heinz_rpcst_mc [ 76%] Built target heinz_mwcs_no_pre [ 84%] Built target heinz_pcst_mc [ 92%] Built target heinz_pcst_dc [100%] Built target heinz_mwcs_dc Test project /home/node03/heinz/build Start 1: heinz_mwcs_no_dc 1/11 Test #1: heinz_mwcs_no_dc .................Failed 1.26 sec Start 2: heinz_mwcs_dc 2/11 Test #2: heinz_mwcs_dc ....................Failed 0.90 sec Start 3: heinz_mwcs_no_pre 3/11 Test #3: heinz_mwcs_no_pre ................ Passed 3.90 sec Start 4: heinz_mwcs_mc 4/11 Test #4: heinz_mwcs_mc .................... Passed 9.46 sec Start 5: heinz_pcst_no_dc 5/11 Test #5: heinz_pcst_no_dc .................Failed 0.73 sec Start 6: heinz_pcst_dc 6/11 Test #6: heinz_pcst_dc ....................Failed 0.82 sec Start 7: heinz_pcst_no_pre 7/11 Test #7: heinz_pcst_no_pre ................ Passed 9.46 sec Start 8: heinz_pcst_mc 8/11 Test #8: heinz_pcst_mc .................... Passed 9.32 sec Start 9: heinz_rpcst_no_dc 9/11 Test #9: heinz_rpcst_no_dc ................***Failed 0.52 sec Start 10: heinz_rpcst_no_pre 10/11 Test #10: heinz_rpcst_no_pre ............... Passed 10.05 sec Start 11: heinz_rpcst_mc 11/11 Test #11: heinz_rpcst_mc ................... Passed 9.13 sec

55% tests passed, 5 tests failed out of 11

Total Test time (real) = 55.55 sec

The following tests FAILED: 1 - heinz_mwcs_no_dc (Failed) 2 - heinz_mwcs_dc (Failed) 5 - heinz_pcst_no_dc (Failed) 6 - heinz_pcst_dc (Failed) 9 - heinz_rpcst_no_dc (Failed) Errors while running CTest

shaaaarpy commented 4 years ago

Hi I am also getting segmentation fault while running heinz2. Did you find a solution for this? Thank you