Quantcast

Forums | MacLife

You are not logged in.

#1 2006-04-25 8:06 am

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Folding on PowerPC Macs: Team installer

I put together a little applescript that makes installing the folding@home command-line client easy. It gives the option for a dual-client or a single-client install. If you break it, let me know.

Quick Fold

QuickFold also works on Intel Macs, BUT --->> Intel team members should use the SMP installer.

Last edited by ArtemisG3 (2007-09-13 9:35 am)

Offline

 

#2 2006-04-26 6:15 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

There were some bugfixes. Let me know if there is anything that should be changed.

Also, Nefarious alluded to having the team number hardcoded into the script. What are your thoughts on this? It would be one less step in the setup process, and if anyone ever wants to change the team number, they can easily edit the client.cfg file. Or, should I leave it as it is, with the team number a variable, and a note mentioning that Team MacAddict4Life is number 18?

Offline

 

#3 2006-05-08 7:52 pm

Nefarious
Tuning Fork
Moderator
From: 45°22"N 84°57"W
Registered: 2002-09-30
Posts: 7998

Re: Folding on PowerPC Macs: Team installer

Artemis and I have reviewed the latest installer and should have a final version soon.

Offline

 

#4 2006-05-09 2:48 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

Here is the revised installer:
Quick Fold

It now checks for a previous installation of folding@home.

Last edited by ArtemisG3 (2007-09-13 9:35 am)

Offline

 

#5 2006-05-12 1:10 pm

Nefarious
Tuning Fork
Moderator
From: 45°22"N 84°57"W
Registered: 2002-09-30
Posts: 7998

Re: Folding on PowerPC Macs: Team installer

4 screenshots of the QuickFold installer

http://macaddict4life.mafmods.com/Folding1Username.gif
http://macaddict4life.mafmods.com/Folding2TeamN.gif
http://macaddict4life.mafmods.com/Folding3Bigpackets.gif
http://macaddict4life.mafmods.com/Folding4SingleDual.gif

editing ........

Offline

 

#6 2006-05-12 2:42 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

I added an uninstaller to the disk image.

Offline

 

#7 2006-05-13 9:40 am

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

v1.7

Moved the fah1/ and fah2/ directories into the user's Library/

Offline

 

#8 2006-05-13 10:07 am

Nefarious
Tuning Fork
Moderator
From: 45°22"N 84°57"W
Registered: 2002-09-30
Posts: 7998

Re: Folding on PowerPC Macs: Team installer

Looking good with version 1.7

I foresee a new stickie to announce the QuickFold installer.

Offline

 

#9 2006-05-15 7:11 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

Anyone tried this on an Intel Mac?

Offline

 

#10 2006-06-12 4:11 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

And for those of you who might be interested in remotely (ssh) installing folding on your Mac(s), you may try this one-line command. Just edit the username.

Code:

mkdir ~/Library/fah1/; cd ~/Library/fah1/; hdid http://www.stanford.edu/group/pandegroup/release/FAH5.02-CLI.dmg; cp /Volumes/FAH5-CLI/fah5 ~/Library/fah1/; chmod +x ~/Library/fah1/fah5; cd ~/Library/fah1/; echo '[settings]' > ~/Library/fah1/client.cfg; echo 'username=MA4Lfolder' >> ~/Library/fah1/client.cfg; echo 'team=18' >> ~/Library/fah1/client.cfg; echo 'asknet=no' >> ~/Library/fah1/client.cfg; echo 'bigpackets=yes' >> ~/Library/fah1/client.cfg; echo 'machineid=1' >> ~/Library/fah1/client.cfg; echo '' >> ~/Library/fah1/client.cfg; echo '[http]' >> ~/Library/fah1/client.cfg; echo 'active=no' >> ~/Library/fah1/client.cfg; echo 'host=localhost' >> ~/Library/fah1/client.cfg; echo 'port=8080' >> ~/Library/fah1/client.cfg; echo '' >> ~/Library/fah1/client.cfg; echo "@reboot cd ~/Library/fah1/; nohup ./fah5 -local -advmethods -forceasm &" > tmpcron; echo "" >> tmpcron; crontab tmpcron; rm tmpcron; hdiutil unmount -force /Volumes/FAH5-CLI/; nohup ./fah5 -local -advmethods -forceasm &

Offline

 

#11 2006-07-06 5:53 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

Works fine on my new MacBook too.

Offline

 

#12 2006-07-30 9:54 am

Jeffois
Decidedly Amateur MacBook Pro User
From: Long Island, NY, USA
Registered: 2001-07-08
Posts: 366
Website

Re: Folding on PowerPC Macs: Team installer

I just installed on my MBP.   Anything else I need to do to run folding?


"It's a pond.  My God.  IT'S JUST A POND!!! WHAT AM I DOING WITH MY LIFE??!!!???!??
--Thoreau, in a sudden moment of realization

Offline

 

#13 2006-07-30 12:45 pm

Nefarious
Tuning Fork
Moderator
From: 45°22"N 84°57"W
Registered: 2002-09-30
Posts: 7998

Re: Folding on PowerPC Macs: Team installer

You should be operational.     Look for a file called "unitinfo.txt" in your  [ home ] / Library in a new folder called "fah1".   

The unitinfo file will show you the name of the protein you are working on and the deadline.   If the file is there, then the protein WU (work unit) was downloaded successfully.

In Activity Monitior, you should see 2 processes running:  fah5 and FAH_CORE .

Welcome to TeamMacAddict4Life.   There are 415 CPU's on the team.

To my knowledge, you are the first MacBook user on the team, so I am curious to see how it goes.    On average, your protein will take about 10 days to finish, depending on time crunched, cpu speed and WU size.  Some proteins are small and some are not.

Offline

 

#14 2006-07-30 12:52 pm

Jeffois
Decidedly Amateur MacBook Pro User
From: Long Island, NY, USA
Registered: 2001-07-08
Posts: 366
Website

Re: Folding on PowerPC Macs: Team installer

Do I need to download something new when the initial protein is done? 

If I take my MBP with me away from my internet connection, does that do bad things to the process?

Sorry, I'm very new at this, but I've read about the idea, and I have no idea why I waited so long to do it.  Thanks for your time and patience.


"It's a pond.  My God.  IT'S JUST A POND!!! WHAT AM I DOING WITH MY LIFE??!!!???!??
--Thoreau, in a sudden moment of realization

Offline

 

#15 2006-07-30 1:12 pm

Nefarious
Tuning Fork
Moderator
From: 45°22"N 84°57"W
Registered: 2002-09-30
Posts: 7998

Re: Folding on PowerPC Macs: Team installer

Nothing bad happens if you're away from an internet connection.   Proteins are big enough that you rarely need to connect.   Folding is extremely stable, even after a logout, reboot or an overall system crash.

Folding will automatically download new proteins.    http://fah-web.stanford.edu/psummary.html   These are the undescriptive "codewords" (ha) for our current proteins. 

Once in a great while, a large protein may not complete.   Don't worry about it.   Folding might just restart the protein;  else it will download a new protein.



EDIT 


The older you get, the more you need Folding.  Try out our installer QuickFold for Macs. download and install.

Last edited by Nefarious Bidding (2006-11-14 11:07 pm)

Offline

 

#16 2007-08-16 11:49 am

jeff-o
Artist's Rendition:
From: Waterloo, Ontario
Registered: 1999-04-10
Posts: 10020
Website

Re: Folding on PowerPC Macs: Team installer

I think I'm still running version 4.  Will this installer replace it with version 5?  Is version 5 faster on a G5 than version 4?


"I'd rather be told, 'Have a nice day.' by someone who doesn't mean it, than 'F*** you!' by someone who does." - Lewis Black

Offline

 

#17 2007-08-16 2:37 pm

ArtemisG3
Imaginary Friend
Royal Wombat
From: between here and there
Registered: 2001-08-13
Posts: 2079
Website

Re: Folding on PowerPC Macs: Team installer

It depends on how v4 is installed. You are probably best served if you manually delete the old version yourself (along with any related crontab entry) before running the installer.

Offline

 

#18 2007-08-17 6:57 am

jeff-o
Artist's Rendition:
From: Waterloo, Ontario
Registered: 1999-04-10
Posts: 10020
Website

Re: Folding on PowerPC Macs: Team installer

ArtemisG3 wrote:

It depends on how v4 is installed. You are probably best served if you manually delete the old version yourself (along with any related crontab entry) before running the installer.

OK.  Someday, I'll find the time to do that.  smile


"I'd rather be told, 'Have a nice day.' by someone who doesn't mean it, than 'F*** you!' by someone who does." - Lewis Black

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson