F@H on linux?

VileDaRKNiGHTVileDaRKNiGHT Hudson FL
edited May 2004 in Folding@Home
ok. gonna make this quick. im doing a partial boot on my system (windows screwed up so format time and i wanna run linux again) well. i looked at the FAH site and they have a linux version but its an EXE. as most of you know linux doesnt support EXE's so anyone have an idea on how i install it (other than using an emulator) cause if i cant get it to work ill only be folding about 30% of the time. :rant:

Comments

  • JBJB Carlsbad, CA
    edited May 2004
    it will run in linux.... just do the usual "./FAH-Consoleyadayada.exe" obviously minus the double quotes and filling in the yadas :p
  • edited May 2004
    Just hang on and someone who knows how will answer you pretty soon I'm sure. I don't do linux but several people on the team do, so they'll be able to lead you down the pathway to success. :thumbsup:;)
  • JBJB Carlsbad, CA
    edited May 2004
    mud, my way works, i was just a little out of it at 2am while i was programming away, thus, the creative response ;D
  • Straight_ManStraight_Man Geeky, in my own way Naples, FL Icrontian
    edited May 2004
    Copy the .exe to any folder you want.

    I did this:

    I have a user named John, so I made a folder called FAH4 in the /home/John folder.

    Here's how I did that:

    I logged in as John. gave it my user password.

    Now, Linux stuck me in /home/John by itself, so I made the folder

    md FAH4

    Then I went in Konquerer to the folding downloads site page, grabbed the .exe. Then I used Konqueror to move it to /home/John/FAH4 folder.

    I renamed it FAH4Console.exe

    then I had to tell linux it really could run this thing (it will, after this :) )

    chmod +x FAH4Console.exe

    Alternative way, using Octal values (no plus sign):

    chmod 755 FAH4Console.exe

    I used ls -al to check perms for the FAH4 directory, just to make sure things looked decent.

    then I ran the client, since I am still in my FAH4 directory

    ./FAH4Console.exe -configonly

    Alternative command:

    ./FAH4Console.exe -config (this will run client active after confguring, but I do not wan this as I want it running from the get-go with abunch of switches, so I do not use that switch at all when setting up clients or I will get Tinkers until I do what follows more than likely adn my P4 does not run Tinkers well at all, the P4 at 3.2 GHz took 67.9 hours for one Tinker one tume, 48 hours for another, and generally killed my point production.)

    this got me into the scripted config run, and only configures it (see why above and part about making a .bat below)
    I told it my folding ID, jdii1215
    I told my team number, 93
    I let it use defaults for the internet connection, I am on a cable braodband connect.
    I chose Y for answer about going into advanced, set what I wanted set there.

    I then made a file of type .bat in vim with the switches I wanted run at every normal run. It was a file with no ends of lines or returns.

    Here is what is in it:

    ./FAH4Console.exe -advmethods -forcesse -forceasm -verbosity 9

    I saved it as FAH4run.bat

    I then did this:

    chmod +x FAH4run.bat

    now, to start client with same switches every time, I simply login to tty2 (NOTE: to get to tty2 I give Linux this key combo: CTRL-ALT-F2, neither KDe nor Gnome use this combo by default, but Linux knows to use CTRL-ALT plus a Function number key to go to tty's based on function number, F2 through F7 (GUI) are viable entries with CTRL-ALT also held down and then all released) and do this:

    ./FAH4run.bat

    And the client runs. To get out of the client run and have the client save its work, I use CTRL-C (both CTRL and C keys pressed down at once and then released).

    Now, if you want to load the client automatically, that is more complex and partly depends on distro, but you can start it after a reboot with minimal typing this way.

    HTH. Feel free to ask about things you do not know, like using VIM or whatever.
  • VileDaRKNiGHTVileDaRKNiGHT Hudson FL
    edited May 2004
    thanks for the help gentlemen. i just fought with gentoo for 12 hours trying to install it so im going to run on windows for a while. and to tell you the truth.. i probably lost about 500 points because of my comp being down for 12 huors. and as soon as i got XP installed, installed the graphic drivers and my network drivers folding was the first real program on my comp, even before the google tool bar or AIM


    Edit: although this could do some good being stickied so people who are new to linux know how to install folding
  • qparadoxqparadox Vancouver, BC
    edited May 2004
    Gentoo is about the worst choice ever for installing linux if you're even partly unsure about what you're doing. And since everything is compiled from source it takes _forever_ to install. If do you go to try linux again something like Mandrake or Suse or Redhat are easier to install. Debian is great if you want a tiny install just for a server (perfect for folding) but its a similar level of work to gentoo (without the compiling). I use Debian on all my installed linux folding machines and slax (slackware live CD) for those running off of a ramdisk.
  • ThraxThrax 🐌 Austin, TX Icrontian
    edited May 2004
    A good transition is from Redhat -> Slackware -> Debian -> Gentoo.
Sign In or Register to comment.