Page 14 of 44 FirstFirst ... 4121314151624 ... LastLast
Results 131 to 140 of 432

Thread: Howto setup Folding@Home

  1. #131
    Join Date
    Apr 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 19.10 Eoan Ermine

    Re: Howto setup Folding@Home

    Has anyone tried this on edgy? If so did it work? Thanks

  2. #132
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Re: Howto setup Folding@Home

    I'm always getting back here. As the winter approaches, I start using folding@home again, since during summer I can't leave the computers on all day. Once again, I just have to follow the howto to have things set up in a instant.

    Thanks.
    Last edited by henriquemaia; October 4th, 2006 at 05:48 PM.

  3. #133
    Join Date
    Jan 2006
    Location
    ~/
    Beans
    168
    Distro
    Ubuntu Development Release

    Re: Howto setup Folding@Home

    Does the script break on Edgy or is it only me? Since I dist-upgraded to Edgy I've been getting errors like these:

    Code:
    $ sudo /etc/init.d/foldingathome start
    /etc/init.d/foldingathome: 23: [[: not found
    /etc/init.d/foldingathome: 33: [[: not found
    /etc/init.d/foldingathome: 147: [[: not found
    /etc/init.d/foldingathome: 147: arith: syntax error: "++num"

  4. #134
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Howto setup Folding@Home

    Quote Originally Posted by robinl View Post
    Does the script break on Edgy or is it only me? Since I dist-upgraded to Edgy I've been getting errors like these:

    Code:
    $ sudo /etc/init.d/foldingathome start
    /etc/init.d/foldingathome: 23: [[: not found
    /etc/init.d/foldingathome: 33: [[: not found
    /etc/init.d/foldingathome: 147: [[: not found
    /etc/init.d/foldingathome: 147: arith: syntax error: "++num"
    That's weird. Try changing the top line to
    Code:
    #!/bin/bash
    I don't run Edgy, so I can't test it right now. I'll make an Edgy chroot or virtual machine or something and test it before it's released. Unfortunately, I don't have time until next week.
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  5. #135
    Join Date
    Jan 2006
    Location
    ~/
    Beans
    168
    Distro
    Ubuntu Development Release

    Re: Howto setup Folding@Home

    Yep that fixed it. Thanks alot.

    PS: why does it work in Dapper but not Edgy? Aren't sh and bash almost the same in syntax?

  6. #136
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Howto setup Folding@Home

    https://wiki.ubuntu.com/EdgyBetaAnnouncement

    * New init system.
    https://wiki.ubuntu.com/DashAsBinSh

    Change the /bin/sh symlink on Ubuntu systems to point to the dash shell instead of the current bash shell.
    That's probably it. I apparently didn't write the init script to be executable by a Bourne shell; I have some Bash assumptions.
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  7. #137
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Howto setup Folding@Home

    I've updated the init script. I think it's not using any Bash extensions now. Also improved the "send" option. So give it a try and post back if there are any troubles. After I install a Edgy chroot and test it there, I'll update the version in the wiki.
    Attached Files Attached Files
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  8. #138
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Howto setup Folding@Home

    Quote Originally Posted by robinl View Post
    Yep that fixed it. Thanks alot.

    PS: why does it work in Dapper but not Edgy? Aren't sh and bash almost the same in syntax?
    Bash has a lot of extensions to sh. Any sh script will work in bash, but not necessarily the other way. I had assumed that by calling bash as /bin/sh, it would act like sh, but apparently, I was wrong.

    I would appreciate Edgy users testing this (attachment in previous post). If a bunch of you test it, and PM me to say if it works, I'll update the wiki version immediately.
    Last edited by jpkotta; October 5th, 2006 at 02:40 AM.
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

  9. #139
    Join Date
    Jan 2006
    Location
    ~/
    Beans
    168
    Distro
    Ubuntu Development Release

    Re: Howto setup Folding@Home

    The new version still requires bash... If it's ran as it is it will output "fail" for everything (start, stop, restart etc.). Once changed to bash it runs fine.

  10. #140
    Join Date
    Aug 2005
    Location
    Fargo, ND, USA
    Beans
    1,499
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Howto setup Folding@Home

    Thanks for the feedback. I'll have to wait to do a real fix until next week then.
    Help yourself: Search the community docs or try other resources.
    Quote Originally Posted by Henry Spencer
    Those who do not understand Unix are condemned to reinvent it, poorly.
    Let science use your computer when you aren't: Folding@Home.

Page 14 of 44 FirstFirst ... 4121314151624 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •