FAH-Scripts - Page 2 - Overclock.net

Forum Jump: 
Reply
 
Thread Tools
post #11 of 20 Old 04-02-2008, 05:20 PM - Thread Starter
GameCack
 
GodofGrunts's Avatar
 
Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 4,616
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 254
Hmm, may I remind you I've been bash programming for about... ~2 weeks or so...

So what's a shebang line? Sounds kinky.

Quote:
Originally Posted by MrDeodorant go_quote.gif
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.

GodofGrunts is offline  
Sponsored Links
Advertisement
 
post #12 of 20 Old 04-02-2008, 05:42 PM
Where's my retired staff logo....
 
dangerousHobo's Avatar
 
Join Date: Dec 2005
Location: Los Angeles
Posts: 3,590
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 433
Quote:
Originally Posted by GodofGrunts View Post
Hmm, may I remind you I've been bash programming for about... ~2 weeks or so...

So what's a shebang line? Sounds kinky.
shebang = the characters #!

the shebang line for a shell script is
#!/bin/sh
-or you can do-
#!/bin/bash

"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn


"Beware of idiots working for Red Hat, for a single such obnoxious moron can *cough* up the wider Linux software ecosystem." - Alan Cox (Alan's new OS -> FUZIX OS)

dangerousHobo is offline  
post #13 of 20 Old 04-02-2008, 05:48 PM - Thread Starter
GameCack
 
GodofGrunts's Avatar
 
Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 4,616
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 254
Ah, I've heard it as hash bang before. Thanks for the wiki!

Quote:
Originally Posted by MrDeodorant go_quote.gif
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.

GodofGrunts is offline  
Sponsored Links
Advertisement
 
post #14 of 20 Old 07-17-2009, 12:08 PM
1.3ghz
 
HACKhalo2's Avatar
 
Join Date: Sep 2008
Location: Cheboygan, MI
Posts: 223
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Well, I decided to look over the script and I heavily modified it.

CHANGE LIST:
  1. The script now installs FAH6.02 (from the website, it is both a x64 and x86 installer)
  2. The script checks whether or not it's run in a terminal and is run as a non-root user (both are needed to make sure it works correctly)
  3. Added the shebang

TODO:
  1. Add a check to see if there is a newer, non-beta release

Enjoy!
GodofGrunts likes this.
HACKhalo2 is offline  
post #15 of 20 Old 07-23-2009, 02:35 PM - Thread Starter
GameCack
 
GodofGrunts's Avatar
 
Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 4,616
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 254
Thanks! +rep

Haven't even touched this in over a year!

Quote:
Originally Posted by MrDeodorant go_quote.gif
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.

GodofGrunts is offline  
post #16 of 20 Old 07-23-2009, 02:42 PM
Case Modder
 
Psycho666's Avatar
 
Join Date: Nov 2007
Location: Netherlands!
Posts: 2,946
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 146
isn't there a way you can make this for the GPU client as well?
smp client is pretty easy to install but the GPU client is hell
tried it once, failed hard
that's the only thing that's keeping me from going Linux full-time

Chimp Challenge Participant  15 Million+ Folding at Home points 

Psycho666 is offline  
post #17 of 20 Old 07-23-2009, 03:04 PM - Thread Starter
GameCack
 
GodofGrunts's Avatar
 
Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 4,616
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 254
Quote:
Originally Posted by Psycho666 View Post
isn't there a way you can make this for the GPU client as well?
smp client is pretty easy to install but the GPU client is hell
tried it once, failed hard
that's the only thing that's keeping me from going Linux full-time
I've never tried it. It does sound involved though. Hmm, maybe when I get some free tiem I'll try it.

Quote:
Originally Posted by MrDeodorant go_quote.gif
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.

GodofGrunts is offline  
post #18 of 20 Old 07-23-2009, 04:07 PM
1.3ghz
 
HACKhalo2's Avatar
 
Join Date: Sep 2008
Location: Cheboygan, MI
Posts: 223
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
From what I've seen on the official F@H website, the Linux version only works on the CPU. I don't think it'll be to hard to modify it to work on separate GPU's. I'm going to email the people at F@H to see their input.

EDIT: You can do GPU work on Linux, you just need to use the windows GPU client via wine. Here is the wiki page
HACKhalo2 is offline  
post #19 of 20 Old 07-23-2009, 11:28 PM - Thread Starter
GameCack
 
GodofGrunts's Avatar
 
Join Date: Nov 2007
Location: Hamilton, Ohio
Posts: 4,616
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 254
Quote:
Originally Posted by HACKhalo2 View Post
From what I've seen on the official F@H website, the Linux version only works on the CPU. I don't think it'll be to hard to modify it to work on separate GPU's. I'm going to email the people at F@H to see their input.

EDIT: You can do GPU work on Linux, you just need to use the windows GPU client via wine. Here is the wiki page
Error10 has a "How-To" around here somewhere.

Unfortunately, I believe he has left us forever...

Quote:
Originally Posted by MrDeodorant go_quote.gif
Oh, and the mayonnaise fanboys come out. Go back to your cave, troll. 2mm of mayonnaise is all anyone really needs. You don't have the ketchup bandwidth to support any more.

L2Sammich, noob. Besides, I'm running a Miracle Whip distro.

GodofGrunts is offline  
post #20 of 20 Old 07-26-2009, 02:37 PM
1.3ghz
 
HACKhalo2's Avatar
 
Join Date: Sep 2008
Location: Cheboygan, MI
Posts: 223
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 17
Well, I'm fiddling with the code some more. I've so far idiot-proofed execution (I.E. you don't need to run it in the terminal, it opens one). The only problem with that is I'm not sure what Terminal Emulator Arch uses (currently, the script is using xterm). I'm also working on adding a GTK+ GUI for S&G's (because I would like to start coding GTK+ GUI's). There have been a couple of more tweaks, but I'm working on fixing a bug that I introduced...

Hopefully, I can release qFAH (quickly Fold@Home) 0.3 soon.

Cheers!
HACKhalo2 is offline  
Reply

Quick Reply

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

Posting Rules  
You may post new threads
You may 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 Off
Pingbacks are Off
Refbacks are Off