• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

AUGH I'm having problems getting Folding to work in Linux.

muttley

Senior member
I'm new to Linux running Redhat 7.2 and can't get folding to run. I would appreciate any help.

muttley
 
What kind of problems are you experiencing?? Some more info would be appreciated. I have folding running on several Debian/linux boxes @ home, including
a dual P3-550 machine.....
 
got Redhat 7.2 from a forum member.

I have a tar.gz file I know how to unzip/uncompress it. (Does it matter where I uncompress it? can I just cut and paste to a different location?)

I presume that I can make a folder say folding but the folder will not have the right access to files it needs. So where do I need to put files that I want to run.

how do I get the file to run? I have one that in GUI is a gear and when I double click on it it doesn't run. So if I go into superuser privledges or a command prompt or console what do I have to type in in the way of syntax to get it to run.

muttley
 
Ok, slow down.... No need to panic....

First off, Folding under linux is a command line application. Not sure where you got the icon from, but I would not use it.

That being said....

I have my linux boxes configured to run folding at startup via an appropriate script in/etc/init.d/foldingathome & /etc/rd*.d. That's not too tough to set up. Instructions later.


I created a directory /foldingathome, and unzipped everything into that directory.
Then, as root, execute /foldingathome/FAH2Console.exe -config. This will ask you for your name & group id (Use 198, Pppllleeeassseeeeee????)

After the console program downloads the Core_65.exe file, and get's it work unit, kill it.

use top to make sure that FAH & Core_65 are both dead.

Once you are sure all is dead,
still being root, execute your /etc/init.d/foldingathome script with a start command.
then create the following links: (NOTE: the following /etc/init.d & /etc/rc*.d directory structure applies to debian. YOU will need to search your redhat box to figure
out exactly where to do this. It might be /etc/init/rc*.d, or something like that.)
ln -sf /etc/init.d/foldingathome /etc/rc0.d/K09foldingathome
ln -sf /etc/init.d/foldingathome /etc/rc1.d/K09foldingathome
ln -sf /etc/init.d/foldingathome /etc/rc6.d/K09foldingathome
ln -sf /etc/init.d/foldingathome /etc/rc2.d/S91foldingathome
ln -sf /etc/init.d/foldingathome /etc/rc3.d/S91foldingathome
ln -sf /etc/init.d/foldingathome /etc/rc4.d/S91foldingathome
ln -sf /etc/init.d/foldingathome /etc/rc5.d/S91foldingathome


run top again and make sure FAH and/or Core_65 is running.
If they are not, then give back another holler....
If they are, then log off as root, and forget about foldingathome.....

Here is the contents of my /etc/init.d/foldingathome:
#!/bin/sh
# Start/stop the foldingathome process

test -f /foldingathome/FAH2Console.exe || exit 0

case "$1" in
start) echo -n "Starting foldingathome"
umask 011
cd /foldingathome
exec nice -19 ./FAH2Console.exe >/dev/null 2>&1 &
echo "."
;;
stop) echo -n "Stopping foldingathome"
cd /foldingathome
for i in `ps -C FAH2Console.exe -C Core_65.exe | cut -c1-5`
do
kill $i
done
echo "."
;;
*) echo "Usage: /etc/init.d/foldingathome start|stop"; exit 1
;;
esac
exit 0
 
Back
Top