F@H linux smp

Uppsala9496

Diamond Member
Nov 2, 2001
5,272
19
81
First things first: I am a complete linux noob. No idea what I am doing.

So, I'm trying to install the SMP client in Ubuntu (x64 - still can't get my wireless card running, but that will be addressed later).

I followed (copy/pasted) the Stanford code until I got stuck.


tim@cassandra:~$ mkdir -p ~/folding/FAH
tim@cassandra:~$ cd ~/folding/FAH
tim@cassandra:~/folding/FAH$ wget http://www.stanford.edu/group/...FAH6.00beta1-Linux.tgz
--15:10:13-- http://www.stanford.edu/group/...FAH6.00beta1-Linux.tgz
=> `FAH6.00beta1-Linux.tgz.2'
Resolving www.stanford.edu... 171.67.22.48
Connecting to www.stanford.edu|171.67.22.48|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139,922 (137K) [application/x-gzip]

100%[====================================>] 139,922 74.71K/s

15:10:15 (74.45 KB/s) - `FAH6.00beta1-Linux.tgz.2' saved [139922/139922]

tim@cassandra:~/folding/FAH$
tim@cassandra:~/folding/FAH$ tar xzf FAH6.00beta1-Linux.tgz
tim@cassandra:~/folding/FAH$ ls -la
total 764
drwxr-xr-x 2 tim tim 4096 2008-03-14 15:10 .
drwxr-xr-x 3 tim tim 4096 2008-03-14 15:02 ..
-rwx------ 1 tim tim 252196 2008-01-31 13:35 fah6
-rw-r--r-- 1 tim tim 139922 2008-01-31 13:41 FAH6.00beta1-Linux.tgz
-rw-r--r-- 1 tim tim 139922 2008-01-31 13:41 FAH6.00beta1-Linux.tgz.1
-rw-r--r-- 1 tim tim 139922 2008-01-31 13:41 FAH6.00beta1-Linux.tgz.2
-rwx------ 1 tim tim 68492 2007-07-16 13:02 mpiexec
tim@cassandra:~/folding/FAH$ ./fah6 -smp -configonly
bash: ./fah6: No such file or directory




An idea what I am messing up?

Here is the stanford code:

Example:

user@box ~ $ mkdir -p ~/folding/FAH
user@box ~ $ cd ~/folding/FAH
user@box FAH $ curl -O
http://www.stanford.edu/group/...FAH6.00beta1-Linux.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 138k 100 138k 0 0 34461 0 0:00:04 0:00:04 --:--:-- 39789
user@box FAH $ tar xzf FAH6.00beta1-Linux.tgz
user@box FAH $ ls -la
total 960
drwxr-xr-x 5 user guest 170 Nov 6 23:58 .
drwx------ 18 user guest 612 Nov 6 23:55 ..
-rw-r--r-- 1 user guest 138145 Nov 6 23:56 FAH6.00beta1-Linux.tgz
-rwxr-xr-x 1 user guest 282796 Nov 4 07:04 fah6
-rwxr-xr-x 1 user guest 60156 Oct 27 16:52 mpiexec
user@box FAH $ ./fah6 -smp -configonly
...
user@box FAH $ echo "./fah6 -smp -verbosity 9" > FaH
user@box FAH $ chmod +x FaH
user@box FAH $ ./FaH
 

biodoc

Diamond Member
Dec 29, 2005
6,350
2,243
136
Quite some time back I posted a tutorial for installing ubuntu 64 linux here.

You are almost there!!:thumbsup:

You need to install the 32 bit libraries. I can't remember which app is 32 bit and which are 64 bit (fah6, mpiexec, cores) but here is the 32 bit library excerpt from that post.

"-you'll need the 32libs to run the 64bit fah client so let's install them: go back to your terminal window and type sudo apt-get install ia32-libs & hit return. You'll get a password request so type in your login password and click ok. "

hope this helps!:)

How's the little one doing? Is she sleeping through the night?
 

Uppsala9496

Diamond Member
Nov 2, 2001
5,272
19
81
I'm getting the following error when I paste sudo apt-get install ia32-libs

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ia32-libs



The little one is sleeping much better. Went 5 hours straight last night. Silly me, but I was putting the linux computer together so I didn't go to bed until 11 and she decided she was hungry at 2. At least she is on a good sleep schedule.
 

biodoc

Diamond Member
Dec 29, 2005
6,350
2,243
136
Is the computer connected to the internet?

If so, I'll look for a solution....I seem to remember this problem from somewhere.
 

Uppsala9496

Diamond Member
Nov 2, 2001
5,272
19
81
I'm posting from it.

Well, dinner time, so if you find an answer, I;ll be checking later.

Thanks biodoc!!
 

biodoc

Diamond Member
Dec 29, 2005
6,350
2,243
136
Glad the little one is doing great. :)

This thread was what I was thinking about.

Make sure the "main" and "universe" boxes are checked.

You could also run sudo get-apt updates and then run sudo apt-get install ia32-libs

This is 64 bit ubuntu gutsy right?

 

Uppsala9496

Diamond Member
Nov 2, 2001
5,272
19
81
Thanks biodoc!!!!!
The "main" and "universe" were not checked. Now things are happening!!

(yes, it is the 64bit gutsy)
my connection is slow, so I'm only at 23%.
 

biodoc

Diamond Member
Dec 29, 2005
6,350
2,243
136
It seems that the latest distribution does not have those boxes checked by default. I wonder why? It certainly makes it much more difficult for new users to get things going.

Glad to hear thing are working...let me know if any more issues pop up.

Cheers!:beer:

PS: Try to get a little more sleep tonight!;)


Edit: spelling mistakes!
 

Uppsala9496

Diamond Member
Nov 2, 2001
5,272
19
81
Seriously biodoc, you KICK ASS!!!!

I am now happily folding away. Cassandra is happy that her computer is folding away!
It finally works!!


This may be a stupid question, but what is the easiest way to start F@H after a restart now?

go into the terminal and type ./fah

Any way to just "double click" an icon? I used the code I previously posted and everything went off without a hitch. Once again, thanks!
 

biodoc

Diamond Member
Dec 29, 2005
6,350
2,243
136
I just open a terminal, cd into my fah directory and then ./fah6 -smp -verbosity 9

The -smp switch is required to run fah smp.

If your fah directory is called fah :) then

~/fah/fah6 -smp -verbosity 9

If you need to reboot (rare in linux) then open a terminal and use the "up arrow" to access your command history. Linux "remembers" your terminal commands between reboots.

You can install fah as a service (a script referred to in the fah wiki) but it's complicated to "uninstall" so I don't use it.

I'm not a hard core linux guru so maybe others can suggest an easier way to start fah in linux.