Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Team MacNN > Can someone post BOINC Compile instuctions for Mac OS X

Can someone post BOINC Compile instuctions for Mac OS X
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2004
Status: Offline
Reply With Quote
Dec 12, 2004, 05:36 PM
 
Please could someone post a compile guide for Bonic and the Seti Worker.

I have tried, but failed to compile.

Thanks

Neil
     
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status: Offline
Reply With Quote
Dec 14, 2004, 04:05 AM
 
Instructions are all on the boinc site.
The Project Builder project file has never worker as far as I know, so you use the command line.
Download a tarball, or check out current source from the cvs server, cd into the directory in terminal, set and compile flags you want and type
./configure
when done cd into client and type
make

Seti worker is about the same only the seti directory needs to be in the boinc source directory since it links with liboinc and uses some of the client source.
     
Fresh-Faced Recruit
Join Date: Sep 2004
Status: Offline
Reply With Quote
Dec 17, 2004, 03:07 PM
 
When I tried to compile the BOINC client I get errors at the end of the make, although an exacutable boinc client file is created.

I did try the project builder project, but says there are linked files missing.

Assuming the error in the BOINC compile are not relavant to the client build, how do I get it to do an optimsed compile?

thanks
     
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status: Offline
Reply With Quote
Dec 18, 2004, 03:33 AM
 
If you post the errors I can tell you what they mean.

To do optimized compiles, you set the flags you want or pass them to configure before running it. See configure -help for info.
See this thread for optimization info:
http://forums.macnn.com/showthread.p...hreadid=222728
     
Fresh-Faced Recruit
Join Date: Sep 2004
Status: Offline
Reply With Quote
Dec 18, 2004, 04:06 PM
 
Originally posted by mikkyo:
If you post the errors I can tell you what they mean.

To do optimized compiles, you set the flags you want or pass them to configure before running it. See configure -help for info.
See this thread for optimization info:
http://forums.macnn.com/showthread.p...hreadid=222728
How I complied the BONIC client application

I downloaded the latest nightly build:
http://boinc.berkeley.edu/source/nig...4-12-18.tar.gz

Then in terminal:
$ gnutar -xzf boinc_public-cvs-2004-12-18.tar.gz
$ cd bonic_public
$ ./configure
$ make

Errors given at end of make:
fi
../db/boinc_db.C: In member function `void HOST::fix_nans()':
../db/boinc_db.C:299: error: `isnan' undeclared (first use this function)
../db/boinc_db.C:299: error: (Each undeclared identifier is reported only once
for each function it appears in.)
make[2]: *** [boinc_db.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

BOINC client application not created on this try.

Also adding the -O3 optimisation to the ./configure gives the following error:
unrecognized option: -O3
( Last edited by Mr Zippy; Dec 18, 2004 at 07:18 PM. )
     
Senior User
Join Date: Feb 2002
Location: Silly Valley, Ca
Status: Offline
Reply With Quote
Mar 22, 2005, 01:49 PM
 
Wow.
Some how I missed your followup on this thread and just came across it today.
The error from Make is when trying to make the boinc database, which requires mysql.
You probably just wanted to make the client, so you pass --disable-server to configure and then cd into client and type make.
To add optimization flags, you can either set environment variables with the flags or pass them to configure.
If you don't understand all that then you probably should not mess with optimization.
in tcsh
setenv C_FLAGS "-O3 -mcpu=G4 -mtune=G4 -faltivec"
etc

or to pass to configure
./configure --disable-server C_FLAGS="-O3 -mcpu=G4 -mtune=G4 -faltivec" CPP_FLAGS="-O3 -mcpu=G4 -mtune=G4 -faltivec"

There are many different flags within the Makefiles that can use the optimization stuff.
It is best to look through the one in the client directory to see what they are.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -4. The time now is 10:35 AM.
All contents of these forums © 1995-2015 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2015, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2