LinHES Forums

Got any spare CPU cycles?
Page 6 of 12

Author:  Greg Frost [ Sun Dec 03, 2006 6:08 am ]
Post subject: 

I have approached cesman about inclusion of a question during knoppmyth installation asking whether the user wants to run folding@home. He responded favourabley, so I have written a startup script that he can include.

When you run
/etc/init.d/folding@home configure
It asks you whether you want your system to run folding@home. Cesman can put a call to the script in the post install configuration script.

If you opt to run it, it creates the directory /myth/folding@home to do the folding in. If there is no client.cfg in that directory, it asks you for a username and creates one for you that has you folding for the knoppmyth team and then starts folding. It sets up links using update-rc.d so that it will be started during boot.

case "$1" in

  su mythtv -c $FOLDING_EXECUTABLE > /dev/null 2>&1 &



  if dialog --yesno "\
Would you like to donate your spare CPU cycles to a good cause by joining \
the KnoppMyth team doing Folding@Home?

Folding@Home is a distributed \
computing project which studies protein folding, misfolding, \
and related diseases." 10 70 ; then
    if [ ! -d $FOLDING_DIR ] ; then
      mkdir $FOLDING_DIR

    chown -R mythtv:mythtv $FOLDING_DIR

    if [ ! -e $FOLDING_CONFIG ] ; then
      dialog --clear --inputbox "\
Please enter the name you wish your folding to be credited to. It would \
be a good idea to use your KnoppMyth forum username." 10 75 "" 2> \
   /tmp/folding@home.username || exit
      FOLDING_USERNAME=$(cat /tmp/folding@home.username)

      echo "[settings]" >  $FOLDING_CONFIG
      echo username=$FOLDING_USERNAME | tr ' ' _ >> $FOLDING_CONFIG
      echo team=50975 >> $FOLDING_CONFIG

    update-rc.d -f folding@home remove
    update-rc.d folding@home defaults 99
    /etc/init.d/folding@home start
    update-rc.d -f folding@home remove
    /etc/init.d/folding@home stop

Author:  chrisj [ Sun Dec 03, 2006 7:13 am ]
Post subject: 

Well done , that might help our numbers.

Author:  Greg Frost [ Tue Dec 05, 2006 3:25 pm ]
Post subject: 

For those that are already folding, before upgrading to the next release of KnoppMyth when it is released (post D1), if you are folding on your myth partition somewhere, rename the directory you are folding in to /myth/folding@home before you auto-upgrade. When you opt in by answering the question during the install, your folding should simply continue where it left off when the upgrade completes (assuming there is no incompatibility between the new version of folding@home 5.04 and the version you are currently running).

Author:  Greg Frost [ Mon Dec 18, 2006 2:47 pm ]
Post subject: 

I see our fearless leader cesman has made it onto our team stats page.

Author:  mjl [ Mon Dec 18, 2006 3:46 pm ]
Post subject: 

Hi Greg Frost,

Just a view point from my direction, however would you consider making the setup question an offering for the "opt in" rather than the current have to "opt out" ?


Author:  Greg Frost [ Mon Dec 18, 2006 4:58 pm ]
Post subject: 

The question is already "Do you want to opt in"? I would hope that most people would. There seems to be little reason not to.

Author:  baishen78 [ Tue Dec 19, 2006 10:01 am ]
Post subject: 

Greg Frost wrote:
The question is already "Do you want to opt in"? I would hope that most people would. There seems to be little reason not to.

Heat. I used to run Folding on all my work machines, but apparently it was too much for my main desktop. As far as I can tell, the heat from the P4 running all the time at 100% baked the hard drive.

Author:  cecil [ Thu Dec 21, 2006 12:53 am ]
Post subject: 

It certainly would be interesting to see if the membership goes up once R5Exy is released. It is amazing to think that such a relatively young team with such few members is in the top 200. It certainly would be nice to break the top 100!

Author:  Dale [ Thu Dec 21, 2006 1:39 am ]
Post subject: 

cecil wrote:
It certainly would be nice to break the top 100!

It certainly would.

Author:  Gnarl [ Thu Dec 21, 2006 7:14 am ]
Post subject: 

I think we'll get there... it's just a matter of time.

The installation script was a great idea BTW.

Author:  khrusher [ Thu Dec 21, 2006 10:41 am ]
Post subject: 

Looks like about January 10th to break 200.

Author:  Girkers [ Tue Jan 02, 2007 5:10 pm ]
Post subject: 

Just an update, have reached 215 as at the 2nd Jan

Author:  chrisj [ Tue Jan 02, 2007 8:00 pm ]
Post subject: 

Its nice to see the number pepole get bigger, I wonder howmich that has to do with the the latest release ?

Author:  cecil [ Tue Jan 02, 2007 8:10 pm ]
Post subject: 

Not much... Since the release, not many people have joined considering the amount of downloads we've had...

Author:  datobin1 [ Tue Jan 02, 2007 9:02 pm ]
Post subject: 

I started a few weeks ago before the new release. I'm hoping we start seeing more people with this release.

I haven't upgraded my knoppmyth boxes yet, busy with the holidays.

From what I have read it ask you to opp in. Does it also let you know what script to run later on if you decline on the install?

Gnarl it may be helpfull to update the original post with that information.

Page 6 of 12 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group