• 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.

I want to fold - actually my company does.

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.
Ubuntu uses the "sudo" command (similar to how you can take over from the command line in Mac OS X) to let you run commands as root. You shouldn't need to set up any user accounts or special passwords.

Suppose for example, you have the Linux F@H client downloaded onto your Desktop and you want to get started, but Ubuntu won't let you. Ordinarily on other Linux distros I will be logged in as root and will just do:

# cd /home/Desktop
# mkdir /home/FAH
# cp -vf /home/Desktop/FAH504-Linux.exe /home/FAH
# cd /home/FAH
# ./FAH504-Linux.exe

---not all of this will work in Ubuntu!---

You have to do:

$ cd /home/Desktop
$ sudo mkdir /home/FAH
$ sudo cp -vf /home/Desktop/FAH504-Linux.exe /home/FAH
$ cd /home/FAH
$ sudo ./FAH504-Linux.exe

Sorry to read about your problems installing Ubuntu, by the way. I failed installing it on my first try but that was when I was trying to make it a dual boot (Windows and Linux on separate hard disk partitions). When I made it a dedicated install it was a lot easier.

Don't let Ubuntu pi$$ you off too much, it's still a baby in terms of distros. If I was you I'd burn some Mandrake or Fedora Core install CDs to fall back on for that next "problem child" install. Those are more beefy multi-CD distros so I was recommending Ubuntu because it's just one CD (downloads fast, installs fast) but when it fails well then, that just negated your time savings 🙁

Anyway cheers, good luck, and thanks again for supporting TeAm AnandTech F@H :thumbsup:
 
Originally posted by: kb3edk
Ubuntu uses the "sudo" command (similar to how you can take over from the command line in Mac OS X) to let you run commands as root. You shouldn't need to set up any user accounts or special passwords.

Suppose for example, you have the Linux F@H client downloaded onto your Desktop and you want to get started, but Ubuntu won't let you. Ordinarily on other Linux distros I will be logged in as root and will just do:

# cd /home/Desktop
# mkdir /home/FAH
# cp -vf /home/Desktop/FAH504-Linux.exe /home/FAH
# cd /home/FAH
# ./FAH504-Linux.exe

---not all of this will work in Ubuntu!---

You have to do:

$ cd /home/Desktop
$ sudo mkdir /home/FAH
$ sudo cp -vf /home/Desktop/FAH504-Linux.exe /home/FAH
$ cd /home/FAH
$ sudo ./FAH504-Linux.exe

Sorry to read about your problems installing Ubuntu, by the way. I failed installing it on my first try but that was when I was trying to make it a dual boot (Windows and Linux on separate hard disk partitions). When I made it a dedicated install it was a lot easier.

Don't let Ubuntu pi$$ you off too much, it's still a baby in terms of distros. If I was you I'd burn some Mandrake or Fedora Core install CDs to fall back on for that next "problem child" install. Those are more beefy multi-CD distros so I was recommending Ubuntu because it's just one CD (downloads fast, installs fast) but when it fails well then, that just negated your time savings 🙁

Anyway cheers, good luck, and thanks again for supporting TeAm AnandTech F@H :thumbsup:

well in that case maybe I shouldn't be starting out with ubuntu. I need something more graphical like Windows but more stable than Win 98.

I can use Win98 because the school has a ton of extra licenses, but I figured Linux would take less memory to run and be more efficient.
 
Well it's graphical in the sense that bascially all mainstream Linux distros these days start you out on a GUI desktop, but there is no graphical Linux F@H client - just a command-line version. So you need to open a Terminal shell on the desktop and run F@H from inside there - just like using the "MS-DOS" prompt in Win 98 or "cmd" in Windows NT/2K/XP.

I don't mean to discourage you by putting up complicated long-winded explanations of how to run F@H on Linux, I'm just trying to be thorough. I've been dabbling in Linux off and on for six years now and there's still so much I don't even know! The only reason I can get by are the many long years of my youth spent in front of the DOS prompt and its cryptic similarity to shells in Linux.
 
Originally posted by: kb3edk
... The only reason I can get by are the many long years of my youth spent in front of the DOS prompt and its cryptic similarity to shells in Linux.

Thats how it feels ... I also learned the little Linux I know that way ... Suse, Redhat etc. But it works. The guts of linux are not graphical, only the shell is ... and it is not very hard either.

I'll have to look at Ubuntu ... 🙂
 
I haven't even gotten to the graphical part of ubuntu, all I've seen is the login screen.

Is there a huge advantage to using linux over Win98 for folding? is this even worth the effort?
 
Originally posted by: Fraggable
I haven't even gotten to the graphical part of ubuntu, all I've seen is the login screen.

Is there a huge advantage to using linux over Win98 for folding? is this even worth the effort?

Windows 98 is unstable and needs to be rebooted every week (at least) and the latest client may not run on 98 (I can't really remember), Linux could probably run forever. If you can swing it, Windows NT\2000\XP would work just as well as Linux and would be easier to set up.
 
Well we have a ton of 98 licenses through some microsoft program where donated PCs get free licenses, but we don't have many spare XP licenses. Not sure if there's anything we can do about getting newer licenses.
 
I have to agree with MDE that Win98 would need babysitting.

Are the students helping with the install? Give each a computer or teams of two a computer and see who can get F@H running first.

Just some ideas here, as I don't know much *nix:

Google - Knoppix folding

wine is a windows emulator for linux - you could run the windows version of F@H on linux

finstall is a utility/script to install F@H on linux once you get linux installed 🙂

Our main linux F@H guru is away at college and not posting much anymore 🙁
 
Well I'm folding. I gave up on the first machine after finding out it's a P66 - Yes, a 66HMz system and it couldn't even run the GUI for Ubuntu...

The next system is much better. It's a P350MHz and it's up and running. I had a little trouble executing the .EXE file for the folding program because the permissions on it were set not to let me executer it, but I was able to change it. I ran the .EXE and it made a bunch more files, like .DAT files and a core .EXE file and started running. It didn't even ask for my username or team number. I found a client.CFG file and put my username and team number in the appropriate spaces, but that's all I have time for right now. More updates to come tomorrow.
 
I've got one machine up and folding, but can't tell if i've got the team number and username set right so I (or we) get credit for it and can tell how much work i've done. I've edited the client.cfg file with my username and team #198, but when I open the MyFolding.html file it takes me to a page where my username is 'Anonymous' and i'm not in a team. I guess this may be because the first time I ran it I hadn't set my username and team, and I haven't completed a WU yet. Should this change to the right username and team when I turn in my first WU?
 
I know for the Windows version it is recommended to NOT edit the client.cfg file, but to run the client with the -config or -configonly flag. This way the file is the way it has to be to work right, if the .cfg file is not right things get messed up.

Did you restart the client after editing the file?
 
Yeah I restarted the system after changing the config file. I tried to run the folding core from the terminal but I must have been doing it wrong because it keps saying it couldn't find the file, even if I was in the right directory.
 
You cannnot run the core. You start the client - it takes care of everything, running the core, sending in results, getting new work units (WUs).

You can configure the client from the terminal by typing in the clients name, then add a space and then "-configonly" without the quotes. It will step you through the configuration by asking questions.

If the computer is slower than about 500Mhz you should probably do the work units without deadlines. And definately not do WUs greater than 5 MB download.
 
Back
Top