Linux SMP folding prob

stonedwaldo420

Limp Gawd
Joined
Mar 30, 2005
Messages
505
I am trying to get fah6 SMP installed on a 4 core Lunux server (2 dual-core 3ghz opterons). I tried with red hat 5 and Ubuntu (both 64 bit) and ran into the same problem. Here is the output:

user@host:~$ cd /folding/FAH

user@host:/folding/FAH$ ls -alh
total 476K
drwxrwxrwx 2 root root 4.0K 2008-07-17 14:24 .
drwxrwxrwx 3 root root 4.0K 2008-07-17 14:23 ..
-rwxrwxrwx 1 8372 operator 247K 2008-07-02 11:03 fah6
-rw-r--r-- 1 user user 137K 2008-07-17 14:22 FAH6.02-Linux.tgz
-rwxrwxrwx 1 8372 operator 67K 2007-07-16 13:02 mpiexec

user@host:/folding/FAH$ ./fah6 -smp -configonly
bash: ./fah6: No such file or directory

user@host:/folding/FAH$ sudo ./fah6 -smp -configonly
[sudo] password for user:
sudo: unable to execute ./fah6: No such file or directory

user@host:/folding/FAH$ /folding/FAH/fah6 –smp –configonly
bash: /folding/FAH/fah6: No such file or directory


The tab auto complete works fine, so I know the OS can see the file. Am I missing something here? Most programs I am used to come as a .rpm, or a full source package, so I am not sure what I am supposed to do with this one little fah6 file.

I have a few 8 core Intel boxes that I would love to get folding for the [H], but I need to get it working on this test box first. Any help here would be greatly appreciated.
 
Its a permissions issue. The executable doesn't unpack with execute permissions. While in the directory with the fah6 executable, type:

chmod 755 fah6

I'm not sure if its in the instructions or not, but if it is, it's probably not emphasized enough.


 
I dont know a lot of Linux so I cannot help you with your problem.

But the simplest Linux installer to set the client up as a service is Finstall.
Docs.
If you do use it, make sure you start Finstall with the smp flag otherwise it installs the standard client.

Luck .............. :D
 
I had this issue on a couple of Linux builds. I had to reload the program (sometime as many as 5-6 times) before it would work. I have a cut and paste file to do the load so I know it was nothing I had done.
 
I had this issue on a fresh Arch x64 install, although my machine is a single core. I needed to install 32bit glibc
 
Glibc sounds like a possible solution. I will be sure to check that out tomorrow. I should probably also check to see if there are any other dependencies.

Also, rwxrwxrwx is 777 permissions, so I am sure that it is marked as an executable.
 
Yeah... even though it's 64-bit it still runs 32-bit code. So that could be a culprit with glibc32.

Also the owner seems to be unknown on fah6. Try changing the owner to user.

Haven't run into this before though... And I've run F@H on everything from RHEL to Ubuntu. Could be because I always install the Developer Packages.

 
My first thought was a permissions problem with it not being executable but I saw that it had execute privileges so I figured it wasn't that. Have you installed the 32 bit libraries? That would be the only thing I can think of off hand. Due to running a number of 32 bit programs in Linux, I always install 32 bit libraries at the installation of the distro so I'm not sure what type of error it would have.

Even if 32 bit libraries aren't installed, I would think it would try to run but error out.

Ah, now that I look at it again, try running "./fah6 -configonly". If I remember correctly, it will have that error if you try to use the -smp and -configonly flags at the same time. I don't understand it, but I'm pretty sure that has happened to me before. You can run -configonly to setup the client just fine but remember to use the -smp flag when you start the client so it will run in SMP mode.

 
Ah, now that I look at it again, try running "./fah6 -configonly". If I remember correctly, it will have that error if you try to use the -smp and -configonly flags at the same time. I don't understand it, but I'm pretty sure that has happened to me before. You can run -configonly to setup the client just fine but remember to use the -smp flag when you start the client so it will run in SMP mode.

That may be it. I forgot that I run just the -configonly switch initially then add the -smp later.
 
I didnt even look at the permissions already on the file. But ownership might be it. I would have said its the 32-bit libraries, but I'm pretty sure they're installed by default by RH so I dont know. On Ubuntu and other debian derivatives its

sudo apt-get install ia32-libs

On RH, if its not already installed, it should be on the CD or DVD you installed from.
 
Back
Top