On 12/03/2013 04:22 PM, Csernai, Eszter wrote:
Thank you! I am trying to compile graph-tool from source, but I don't have much experience in building software from source. The machine is the mentioned Ubuntu 13.10 running in Virtualbox. The Anaconda python version is 2.7.6 (I specified this in the PYTHON environment variable and the configure script seems to understand it). It seems all dependencies are satisfied, and the virtual machine is allocated quite a lot of memory (8GB). I get this error:
make[4]: Entering directory `/.../graph-tool-2.2.27/src/graph/centrality' CXX graph_betweenness.lo CXX graph_closeness.lo CXX graph_eigentrust.lo CXX graph_eigenvector.lo CXX graph_hits.lo CXX graph_katz.lo CXX graph_pagerank.lo virtual memory exhausted: Cannot allocate memory make[4]: *** [graph_pagerank.lo] Error 1
Any ideas how to solve this?
8GB ram should be more than enough to compile it. What GCC version are you using? Are you compiling it in parallel (with the -j option)? Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>