Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

platform 'powerpc64-unknown-linux-gnu' not found

log in

Advanced search

Message boards : Pirate Applications : platform 'powerpc64-unknown-linux-gnu' not found

Author Message
Profile 7ri9991 [MM]
Volunteer tester
Avatar
Send message
Joined: 3 Feb 09
United States
SETI.USA
Credit: 2,934.2
RAC: 0.00
Joined: Feb 3, 2009
Verified: Jan 16, 2010
Dubloons: 3
Pieces of Eight: 10
Punishment: Canon Fodder
Message 8336 - Posted: 4 Feb 2009 | 3:44:36 UTC

What are the chances of either getting powerpc64 added or source code to compile it myself?

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 8337 - Posted: 4 Feb 2009 | 8:43:03 UTC - in response to Message 8336.

trigggl wrote:
What are the chances of either getting powerpc64 added or source code to compile it myself?

If the PPC version will run on PPC64 then I could simply add the platform, the way I've done with x86.

You can also get the source code for all our apps and compile them yourself. See the notes for the Hello, World app to get started, there is a section there on how to get the source code, either as a tarball or via CVS.

For a Mac you'll also want to read Building BOINC and BOINC Applications on MacOS X , which I am now in the process of transfering to the wiki. I have just gotten an Intel Mac, so I need to go through this myself to set it up (and revise the notes in the process), and then we'll have native Intel apps for Mac, not PPC emulation. Not what you asked for, but it's one thing I'm working on now, so our interests may overlap.

If you build an app yourself from source code then you will also want to study up on the Anonymous platform
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile 7ri9991 [MM]
Volunteer tester
Avatar
Send message
Joined: 3 Feb 09
United States
SETI.USA
Credit: 2,934.2
RAC: 0.00
Joined: Feb 3, 2009
Verified: Jan 16, 2010
Dubloons: 3
Pieces of Eight: 10
Punishment: Canon Fodder
Message 8354 - Posted: 6 Feb 2009 | 15:41:22 UTC

Thanks for the reply.

I doubt that the PPC version would run on mine because I'm using a 64-bit kernel.

This is an IBM Power, so, since Mac is usually compiled with altivec, I probably wouldn't be able to use anything geared toward Mac hardware. Most likely I'll have to compile it myself.

I am using anonymous for setiathome_enhanced, so that's probably what I'll try to do with this.

Profile 7ri9991 [MM]
Volunteer tester
Avatar
Send message
Joined: 3 Feb 09
United States
SETI.USA
Credit: 2,934.2
RAC: 0.00
Joined: Feb 3, 2009
Verified: Jan 16, 2010
Dubloons: 3
Pieces of Eight: 10
Punishment: Canon Fodder
Message 8355 - Posted: 6 Feb 2009 | 16:33:12 UTC

I just compiled from source. I compiled using:
-g -O3 -pipe -mcpu=power3 -mtune=power3 -fmodulo-sched

Oddly the resulting binary was still "hello_6.04_i686-pc-linux-gnu". At least it got the 'linux' part right. Hopefully, it will still work and I'll just rename it. Stay tuned...

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 8356 - Posted: 6 Feb 2009 | 18:15:49 UTC - in response to Message 8355.

trigggl wrote:
I just compiled from source. I compiled using:
-g -O3 -pipe -mcpu=power3 -mtune=power3 -fmodulo-sched

Oddly the resulting binary was still "hello_6.04_i686-pc-linux-gnu". At least it got the 'linux' part right. Hopefully, it will still work and I'll just rename it. Stay tuned...

Ah, I saw PPC and thought Mac. I have an old clamshell running Yellow Dog, but building on that would not be 64 bit, so I think what you are doing now is the best bet.
____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile 7ri9991 [MM]
Volunteer tester
Avatar
Send message
Joined: 3 Feb 09
United States
SETI.USA
Credit: 2,934.2
RAC: 0.00
Joined: Feb 3, 2009
Verified: Jan 16, 2010
Dubloons: 3
Pieces of Eight: 10
Punishment: Canon Fodder
Message 8358 - Posted: 6 Feb 2009 | 19:45:07 UTC

I think it's working, but it's hard to tell with the absence of available work. I figured out what changes to make in the Makefile for the correct name and, of course, the CXXFLAGS.

I'm also trying to compile 'cube' and 'starboard', but they keep looking for "../buffon.h/buffon.h". I have managed to get 'yello' compiled, but haven't tried it yet.

Profile 7ri9991 [MM]
Volunteer tester
Avatar
Send message
Joined: 3 Feb 09
United States
SETI.USA
Credit: 2,934.2
RAC: 0.00
Joined: Feb 3, 2009
Verified: Jan 16, 2010
Dubloons: 3
Pieces of Eight: 10
Punishment: Canon Fodder
Message 8359 - Posted: 6 Feb 2009 | 20:33:21 UTC

'hello' is working.

Thanks!

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 8360 - Posted: 6 Feb 2009 | 21:24:32 UTC - in response to Message 8359.

trigggl wrote:
'hello' is working.
Thanks!

Welcome aboard. We should have 'yello' up next.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Profile 7ri9991 [MM]
Volunteer tester
Avatar
Send message
Joined: 3 Feb 09
United States
SETI.USA
Credit: 2,934.2
RAC: 0.00
Joined: Feb 3, 2009
Verified: Jan 16, 2010
Dubloons: 3
Pieces of Eight: 10
Punishment: Canon Fodder
Message 8438 - Posted: 16 Feb 2009 | 16:02:09 UTC

I don't know if this is helpful to anyone, but I figure I might as well post what edits I typically make to the Makefile's to compile on my ppc64. There's nothing really complicated about it.

BUILD_ARCH=powerpc64-unknown-linux-gnu BOINC_BUILD= /home/user/boinc #this is where I put the boinc source BOINC_PREFIX=/usr #where gentoo installs boinc CFLAGS = -O3 -pipe -mcpu=power3 -mtune=power3 #when used CXXFLAGS = -O3 -pipe -mcpu=power3 -mtune=power3


Really the only thing that needs to be done is to change BOINC_BUILD and BOINC_PREFIX. I think changing BUILD_ARCH just gives the apps the proper name. I use '-mcpu=power3 -mtune=power3' because that's the processor my IBM Power uses. I'm using gcc-4.2 because support for power3 is broken in 4.1. 4.1 would work. I just couldn't specify the mcpu and mtune. '-O3' is just personal preference and I don't know if it helps or hurts. '-pipe' is just something Gentoo advises.

I could really just get by with
BUILD_ARCH=powerpc64-unknown-linux-gnu BOINC_BUILD= /home/user/boinc #this is where I put the boinc source BOINC_PREFIX=/usr #where gentoo installs boinc CFLAGS = CXXFLAGS =

Someday I hope that Boinc projects will support ppc and ppc64 the way they support i686. After all, there are a lot of people who still have old Macs running Linux and a few like me that are determined to run Linux on IBM Power. There are also quite a few people running Linux on PS3. A generic ppc64 build should work on all of them, I would think.

Post to thread

Message boards : Pirate Applications : platform 'powerpc64-unknown-linux-gnu' not found

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2017 Capt. Jack Sparrow