[graph-tool] Compiling Graphtool 2.26 on Ubuntu 16.04 32-bit fails with memory error

Evangelos Petsalis epetsalis at gmail.com
Wed Feb 28 20:59:58 CET 2018


Hi,
I am trying to compile GT v2.26 on 32-bit image of Ubuntu 16.04. Everything
works fine until somewhere in the middle of the process I get the following
error, indicating the machine is out of virtual memory.
I have a 4gig swap file and a 32 GB or memory so it's highly unlikely that
this is not enough.

I have successfully compiled GT multiple time on a 64-bit machine, so I was
wondering if there are any compatibility issues with 32-bit architectures.

Thanks in advance,
Vaggelis



Making all in inference
make[4]: Entering directory
'/media/sf_shared/graph-tool-2.26/src/graph/inference'
  CXX      layers/graph_blockmodel_layers_imp.lo
In file included from layers/graph_blockmodel_layers_imp.cc:25:0:
layers/../blockmodel/graph_blockmodel.hh: In lambda function:
layers/../blockmodel/graph_blockmodel.hh:300:29: warning: attributes at the
beginning of statement are ignored [-Wattributes]
                             [[gnu::fallthrough]];
                             ^
layers/../blockmodel/graph_blockmodel.hh: In member function ‘void
graph_tool::BlockState<Ts>::remove_vertices(Vlist&)’:
layers/../blockmodel/graph_blockmodel.hh:666:21: warning: attributes at the
beginning of statement are ignored [-Wattributes]
                     [[gnu::fallthrough]];
                     ^
layers/../blockmodel/graph_blockmodel.hh: In member function ‘void
graph_tool::BlockState<Ts>::add_vertices(Vlist&, Blist&)’:
layers/../blockmodel/graph_blockmodel.hh:759:21: warning: attributes at the
beginning of statement are ignored [-Wattributes]
                     [[gnu::fallthrough]];
                     ^
virtual memory exhausted: Cannot allocate memory
Makefile:793: recipe for target 'layers/graph_blockmodel_layers_imp.lo'
failed
make[4]: *** [layers/graph_blockmodel_layers_imp.lo] Error 1
make[4]: Leaving directory
'/media/sf_shared/graph-tool-2.26/src/graph/inference'
Makefile:751: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/media/sf_shared/graph-tool-2.26/src/graph'
Makefile:422: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/media/sf_shared/graph-tool-2.26/src'
Makefile:603: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/sf_shared/graph-tool-2.26'
Makefile:490: recipe for target 'all' failed
make: *** [all] Error 2




--
Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/



More information about the graph-tool mailing list