importing graph_tool

Hi guys,

when I import graph_tool I get an error.
It complains graph filtering was disabled at compile time.
Well, I can't set it enable because for some reason compiling with flag
enabled drains out my memory.
I have 4GB RAM and I am using Arch. I get package from AUR repository and
made makepkg on it(I had to modify it slightly to get rid of openmp and
graph-filtering).

My stack trace from ipython:

In [1]: from graph_tool.all import *

attachment.html (2.8 KB)

Hi there,

Hi guys,

when I import graph_tool I get an error.
It complains graph filtering was disabled at compile time.

This is a bug... It should be to import the module with graph filtering
disabled. I'll submit a fix to it.

Well, I can't set it enable because for some reason compiling with flag enabled drains out my memory.
I have 4GB RAM and I am using Arch. I get package from AUR repository and made makepkg on it(I had to modify it slightly to get rid of openmp and graph-filtering).

It should be possible to compile graph-tool under 4GB RAM... Did you
make sure no other process was using significant amount of memory, such
as the browser and such?

Optionally, you can use the clang compiler. It uses significantly less
memory than GCC (around half or so).

Cheers,
Tiago

Thanks Tiago for response.

When I compile there is not other significant processes in background.
Before compilation there is no more than 700MB used by other processes.

Just in case I attach my configure.log.

In free time I will try to compile it with clang.

Kris

attachment.html (1.75 KB)