17 Dec 2007 21:31
Parallel algorithms in graph-tool
Rui Carvalho <rui.carvalho <at> ucl.ac.uk>
2007-12-17 20:31:34 GMT
2007-12-17 20:31:34 GMT
Hi, I'm trying to compile graph-tool with parallel algorithms enabled, but I must be missing something from the instructions on: http://projects.forked.de/graph-tool/wiki/ParallelAlgorithms Basically, the problem is where it says: $ cd gcc-4.2.0 $ patch -E -p1 < ../gcc-shared-openmp.patch I don't have a folder gcc-4.2.0 on my Ubuntu 64 bit system, although I have gcc-4.2.0 installed. I've tried to save the patch to this directory instead: $cd /usr/lib/gcc/x86_64-linux-gnu/4.2 But when I issue the command I get: Patch: **** Only garbage was found in the patch input. Any help would be much appreciated :) Thanks, Rui
> One more stupid question: can one use the pre-compiled binaries to
> bypass the problem with gcc and have multi-threaded parallel algorithm
> support on graph-tool?
In principle yes, if one links to a static version of libgomp (GCC's
implementation of openmp) that works. But note that there's yet a much
more severe problem with openmp and GCC:
RSS Feed