View Full Version : linux + folding = error
SewerBeing
02-15-04, 12:22 PM
I just installed red hat linux nine on my p2 machine and now I tried to install folding at home, but it gives me an error saying it has no viewer to open the file in, help I really want to fold.
ShadowCat66
02-15-04, 01:17 PM
I'm sure one of our linux gurus will give you a hand,just post all the info you can about the version of linux you are running.Sorry I cant help, my experence with linux ended very quickly with failure.
SewerBeing
02-15-04, 01:33 PM
red hat linux 9, just installed it cant update it because I have the ? some error I cant figure out. its an old pentium 2 system. I installed nothing on it, I just installed linux a few minutes ago.
axlecrusher
02-15-04, 01:46 PM
Um, you need to, in the console do, chmod 755 filename. This makes the owner of the file have full read write and execute permissions, while giving the group and other less permissions. Then to start it in the console do ./filename. Good luck!
Axle
SewerBeing
02-15-04, 02:04 PM
now inorder to fold do I need to keep this window open? will this boot up automatically when I start linux?
anvil82
02-15-04, 02:06 PM
First off make sure you are using the linux client.
Next read this thread :D
http://www.ocforums.com/showthread.php?s=&threadid=269543
Let us know if you have any more questions.
SewerBeing
02-15-04, 02:26 PM
I have more questions, I have the terminal with the FAH4Console-Linux.exe in it, I ran that from the terminal, does this mean its folding now???? I am so lost!!!
anvil82
02-15-04, 02:34 PM
Lets say your folding folder is in
/home/SewerBeing/folding
ok, now create a file in
/home/SewerBeing
and call it
fold.sh
with the following in it
echo Starting Folding
cd /home/SewerBeing/folding
./FAH4Console-Linux.exe > FAHlog.txt &
In the folder
/etc/rc.d
There is a file called rc.local
Open that with a text editor (I use pico)
THen at the end of the file, add
/home/SewerBeing/fold.sh
This will set it to start at boot.
To test the script, run
/home/SewerBeing/fold.sh
It should say "Starting Folding"
Then run "top" and see if it is listed at the top of the list with 99% cpu.
Let us know if there are any additional questions.
SewerBeing
02-15-04, 02:42 PM
yes one, it wont let me edit the rc.local file, it says its read only. Also it wont let me run the fold.sh file from the terminal.
anvil82
02-15-04, 02:56 PM
You have to be root to edit the rc.local file
To run the fold.sh file
run
chmod 755 fold.sh
This will make it executable.
SewerBeing
02-15-04, 03:03 PM
well now it says its folding,but its not using any of the resources.., now to get the rc.local file to work and I will be happy, do I have to keep this terminal window open for it to fold?
anvil82
02-15-04, 03:13 PM
No you don't have to keep the terminal open to fold.
It may not say 99% usage because if its just starting it may be downloading the new core or something.
I don't know why you can't edit the rc.local file.
When you are root, there is no such thing as read only :D
SewerBeing
02-15-04, 03:15 PM
the problem is, it uses 0% of the cpu. I am the root and its still read only, is there something wrong here?
anvil82
02-15-04, 03:17 PM
Post your log file, and your config file.
You have to run it once not through the script, otherwise it's probably sitting there waiting for you to answer the initial questions. Just kill it before you start it without using the script first.
Then run it by itself ./FAH4Console-Linux.exe
Answer the questions, then once it starts, kill it with ctl+c.
Then rerun the script.
SewerBeing
02-15-04, 03:22 PM
ok I did answer the questions, I just restarted and still nothing, ok here are the log files:
Note: Please read the license agreement (FAH4Console-Linux.exe -license). Further
use of this software requires that you have read and accepted this agreement.
--- Opening Log file [Feburary 15 21:08:29]
# Linux Console Edition ################################################## #####
################################################## #############################
Folding@home Client Version 4.00
http://folding.stanford.edu
################################################## #############################
################################################## #############################
[21:08:29] - Ask before connecting: No
[21:08:29] - User name: SewerBeing (Team 32)
[21:08:29] - User ID = 2762312601C60B53
[21:08:29] - Machine ID: 1
[21:08:29]
[21:08:30] Loaded queue successfully.
[21:08:30] + Benchmarking ...
[21:08:37]
[21:08:37] + Processing work unit
[21:08:37] Core required: FahCore_65.exe
[21:08:37] Core found.
[21:08:37] Working on Unit 01 [Feburary 15 21:08:37]
[21:08:37] + Working ...
Warning: Ignoring unknown arg
Warning: Ignoring unknown arg
Warning: Ignoring unknown arg
Warning: Ignoring unknown arg
[21:08:37] Folding@Home Client Core Version 2.50 (August 19, 2002)
[21:08:38]
[21:08:38] Proj: work/wudata_01
[21:08:38] Done: 22953 -> 142973 (decompressed 622.8 percent)
[21:08:38] nsteps: 5000000 dt: 2.000000 dt_dump: 250.000000 temperature: 298.000000
[21:08:38] xyzfile:
[21:08:38] " 393 p639_L939_K12M_nat
[21:08:38] 1 N 85.810387 -13.327227 53.829844 20..."
[21:08:38] keyfile:
[21:08:38] "parameters ./proj639.prm
[21:08:38] NOVERSION
[21:08:38] ARCHIVE
[21:08:38]
[21:08:38] cutoff 16.0
[21:08:38] taper 12...."
[21:08:38]
[21:08:38] - Couldn't get size info for dyn file: work/wudata_01.dyn
[21:08:38] Starting from initial work packet
[21:08:38]
[21:08:38] Protein: p639_L939_K12M_nat
[21:08:38] - Run: 5 (Clone 69, Gen 25)
[21:08:38] - Frames Completed: 0, Remaining: 400
[21:08:38] - Dynamic steps required: 5000000
[21:08:38]
[21:08:38] Writing local files:
[21:08:38]
[21:08:38] parameters work/wudata_01.prm
[21:08:38] - Writing "work/wudata_01.key": (overwrite) successful.
[21:08:40] - Writing "work/wudata_01.xyz": (overwrite) successful.
[21:08:40] - Writing "work/wudata_01.prm": (overwrite) successful.
[21:08:44] - Writing "work/wudata_01.key": (append) successful.
[21:08:44]
[21:08:44] PROJECT="work/wudata_01", NSTEPS=5000000, DT=2.0000, DTDUMP=25.000000, TEMP=298.00
[21:08:44] TINKER: Software Tools for Molecular Design
[21:08:44] Version 3.8 October 2000
[21:08:44] Copyright (c) Jay William Ponder 1990-2000
[21:08:44] portions Copyright (c) Michael Shirts 2001
[21:08:44] portions Copyright (c) Vijay S Pande 2001
ions Copyright (c) Michael Shirts 2001
[21:08:44] portions Copyright (c) Vijay S Pande 2001
Arkaine23
02-16-04, 01:02 PM
Looks like its folding to me.
as root, mv fold.sh to /usr/local/bin
To edit rc.local, become root and then open it with a text editor.
Add the line-
su -c "/usr/local/bin/fold.sh" your_username
save and exit- That should run folding as your regular username at startup, and will do it as a background service. FAH4Console* will not use any CPU, but FAHCore_65.exe should get about 99%.
Make sure that fold.sh is
chmod 755 /usr/local/bin/fold.sh
chown your_username /usr/local/bin/fold.sh
^ do those as root.
axlecrusher
02-16-04, 01:08 PM
Is it forking off in the bakground using the & command? If it is not and you close the window, folding will stop. Also I seem to remember that if you simply close the window using the button, it also stops folding. However if you close the window using the exit command, background process will still run.
Axle
anvil82
02-16-04, 04:42 PM
I walked him through it on aim.
eric0919
02-29-04, 02:50 PM
I just started using linux and went throught the stuff above and it starts folding on start up but how can I set myself as the user and team 32 instead of annoymous.
thanks Eric
It will just be a case of editing the client.cfg file, use a text editor something like nano will do the job nicely. :)
DeathONator
02-29-04, 04:29 PM
Good thread. I'm running Mandrake9.0. I need some help as well. First I ran the FAH4Console-linux.exe file (maybe I shouldn't have), it created the normal files, which I put in the directory I wanted them in. I then created the fold.sh file directory "above the folding one. Added the text I needed. Edited the rc.local. I did most of that logged in as root. When I run fold.sh I get unknown command??
I didn't what what to do w/ any of the following, do I need to do something w/ what Arkaine posted?
mv fold.sh to /usr/local/bin
su -c "/usr/local/bin/fold.sh" your_username
chmod 755 /usr/local/bin/fold.sh
chown your_username /usr/local/bin/fold.sh
Also, can mandrake use FAHCore78? What about the forceSSE flag? How do I set flags?
Thanks for any help sorry fo soo many questions.
EDIT: Ok, I can now get the console and core to be seen in the system monitor, but the core isn't shown as taking up CPU. But IT IS FINISHING FRAMES???
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.