I compiled 1.1.2 on Ubuntu Linux 8.10 64 bit with GCC 4.3.2, Boost version 1.35, and libexpat 2.0.1. I used the option --enable-openmp. When I run graph-tool, I get a segmentation fault when loading graphml files. I can run the program and get the help usage, but I cannot use the --load myfile.xml option without the segmentation fault. The graphml file is the test file from the text on the graph-tool documentation webpage.
My command line: $ graph-tool --load testgraphml.xml --betweenness-centrality=VERTEX_BETWEENNESS --save betweenness_results.xml graph-tool: received signal Segmentation fault
I could not compile the current GIT version, which is why I went with 1.1.2.
Also, I compiled with --disable-visibility and nothing changed.
-Chris
Hi, and sorry for the late response.
On 01/18/2009 10:07 PM, Chris Wj wrote:
I compiled 1.1.2 on Ubuntu Linux 8.10 64 bit with GCC 4.3.2, Boost version 1.35, and libexpat 2.0.1. I used the option --enable-openmp. When I run graph-tool, I get a segmentation fault when loading graphml files. I can run the program and get the help usage, but I cannot use the --load myfile.xml option without the segmentation fault. The graphml file is the test file from the text on the graph-tool documentation webpage.
Please try without --enable-openmp. It is still relatively experimental... In the following weeks I will release a new version of graph-tool with extensive modifications, which should also work fully with openmp.
I could not compile the current GIT version, which is why I went with 1.1.2.
What was the error? You should have been able to compile it...
Cheers, Tiago
Great, I would love to test out the OpenMP algorithms. I have some rather complex graphs that I would like to be able to generate metrics for in a reasonable amount of time!
The error from the GIT version is:
make[3]: Entering directory `/home/offero/Downloads/Dev/graph-tool_git/graph-tool/src/graph' /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I.. -I../boost-workaround -DHAVE_CONFIG_H -Wall -I/usr/include/python2.5 -pthread -I/usr/include -ftemplate-depth-150 -O99 -fvisibility=hidden -fvisibility-inlines-hidden -Wno-unknown-pragmas -MT graph.lo -MD -MP -MF .deps/graph.Tpo -c -o graph.lo graph.cc ../../libtool: line 846: X--tag=CXX: command not found ../../libtool: line 879: libtool: ignoring unknown tag : command not found ../../libtool: line 846: X--mode=compile: command not found ../../libtool: line 1013: *** Warning: inferring the mode of operation is deprecated.: command not found ../../libtool: line 1014: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../../libtool: line 1157: Xg++: command not found ../../libtool: line 1157: X-DHAVE_CONFIG_H: command not found ../../libtool: line 1157: X-I.: command not found ../../libtool: line 1157: X-I../..: No such file or directory ../../libtool: line 1157: X-I.: command not found ../../libtool: line 1157: X-I..: command not found ../../libtool: line 1157: X-I../boost-workaround: No such file or directory ../../libtool: line 1157: X-DHAVE_CONFIG_H: command not found ../../libtool: line 1157: X-Wall: command not found ../../libtool: line 1157: X-I/usr/include/python2.5: No such file or directory ../../libtool: line 1157: X-pthread: command not found ../../libtool: line 1157: X-I/usr/include: No such file or directory ../../libtool: line 1157: X-ftemplate-depth-150: command not found ../../libtool: line 1157: X-O99: command not found ../../libtool: line 1157: X-fvisibility=hidden: command not found ../../libtool: line 1157: X-fvisibility-inlines-hidden: command not found ../../libtool: line 1157: X-Wno-unknown-pragmas: command not found ../../libtool: line 1157: X-MT: command not found ../../libtool: line 1157: Xgraph.lo: command not found ../../libtool: line 1157: X-MD: command not found ../../libtool: line 1157: X-MP: command not found ../../libtool: line 1157: X-MF: command not found ../../libtool: line 1157: X.deps/graph.Tpo: No such file or directory ../../libtool: line 1157: X-c: command not found ../../libtool: line 1209: Xgraph.lo: command not found ../../libtool: line 1214: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [graph.lo] Error 1 make[3]: Leaving directory `/home/offero/Downloads/Dev/graph-tool_git/graph-tool/src/graph' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/offero/Downloads/Dev/graph-tool_git/graph-tool/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/offero/Downloads/Dev/graph-tool_git/graph-tool' make: *** [all] Error 2
On Tue, Jan 20, 2009 at 5:00 PM, Tiago de Paula Peixoto tiago@forked.dewrote:
Hi, and sorry for the late response.
On 01/18/2009 10:07 PM, Chris Wj wrote:
I compiled 1.1.2 on Ubuntu Linux 8.10 64 bit with GCC 4.3.2, Boost version 1.35, and libexpat 2.0.1. I used the option --enable-openmp. When I run graph-tool, I get a segmentation fault when loading graphml files. I can run the program and get the help usage, but I cannot use the --load myfile.xml option without the segmentation fault. The graphml file is the test file from the text on the graph-tool documentation webpage.
Please try without --enable-openmp. It is still relatively experimental... In the following weeks I will release a new version of graph-tool with extensive modifications, which should also work fully with openmp.
I could not compile the current GIT version, which is why I went with
1.1.2.
What was the error? You should have been able to compile it...
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@forked.de
graph-tool mailing list graph-tool@forked.de http://lists.forked.de/mailman/listinfo/graph-tool