On 12/17/2007 06:31 PM, Rui Carvalho wrote:
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 :)
Hi Rui.
How did you download the patch? Did you get it from the link below?
http://projects.forked.de/graph-tool/attachment/wiki/ParallelAlgorithms/gcc-...
Be careful not do download html...
But notice also that you should try the patch in the _source_ directory of GCC, which is not installed by default on any system (I know of). You have to download the code from the GCC website, unpack it, apply the patch, and follow the compile instructions. Take a look at: http://gcc.gnu.org/install/
It's not a trivial task, I'm afraid... Once they fix the bug mentioned in the page, everything should be very straightforward. Hopefully they'll include this patch (or something equivalent) in GCC 4.3.
Cheers, Tiago
Hi Tiago,
Hummm... building gcc sounds like too much work. I had a look at the bug and at the planned changes in gcc-4.3 and there's no mention of correcting the bug. What a shame!
Anyway, many thanks for getting back on this.
Rui
-----Original Message----- From: graph-tool-bounces@forked.de [mailto:graph-tool-bounces@forked.de] On Behalf Of Tiago de Paula Peixoto Sent: 17 December 2007 22:34 To: Main discussion list for the graph-tool project Subject: Re: [graph-tool] Parallel algorithms in graph-tool
On 12/17/2007 06:31 PM, Rui Carvalho wrote:
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 :)
Hi Rui.
How did you download the patch? Did you get it from the link below?
http://projects.forked.de/graph-tool/attachment/wiki/ParallelAlgorithms/gcc-...
Be careful not do download html...
But notice also that you should try the patch in the _source_ directory of GCC, which is not installed by default on any system (I know of). You have to download the code from the GCC website, unpack it, apply the patch, and follow the compile instructions. Take a look at: http://gcc.gnu.org/install/
It's not a trivial task, I'm afraid... Once they fix the bug mentioned in the page, everything should be very straightforward. Hopefully they'll include this patch (or something equivalent) in GCC 4.3.
Cheers, Tiago
-- Tiago de Paula Peixoto tiago@forked.de
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0