I guess you tried a 32bit chroot for your work and didn't work?
For the seti part:
-256.44 is the latest nvidia driver. Get it.
- If you don't run a x server make sure that you initialize your card properly. This is from the cuda release notes:
o In order to run CUDA applications, the CUDA module must be
loaded and the entries in /dev created. This may be achieved
by initializing X Windows, or by creating a script to load the
kernel module and create the entries.
An example script (to be run at boot time):
#!/bin/bash
/sbin/modprobe nvidia
if [ "$?" -eq 0 ]; then
# Count the number of NVIDIA controllers found.
N3D=`/sbin/lspci | grep -i NVIDIA | grep "3D controller" | wc -l`
NVGA=`/sbin/lspci | grep -i NVIDIA | grep "VGA compatible controller" | wc -l`
N=`expr $N3D + $NVGA - 1`
for i in `seq 0 $N`; do
mknod -m 666 /dev/nvidia$i c 195 $i;
done
mknod -m 666 /dev/nvidiactl c 195 255
else
exit 1
fi
- Latest boinc is 6.10.56. Get it.
Let's try to reinstall the whole thing:
- Close boinc and delete everything in projects/setiathome.berkeley.edu directory. Delete client_state.xml and client_state_prev.xml in your boinc directory. Delete everything in the slots directory.
- Get
http://calbe.dw70.de/AKV8/REL/V4/AK_V8_SSSE3_LX32.tar.bz2 and put the executable in projects/setiathome.berkeley.edu directory
- Get
http://calbe.dw70.de/cuda/rel/setiathome-CUDA_2.2_6.08.x86_vlarkill.tar.bz2 and put the executable in projects/setiathome.berkeley.edu directory.
- Get
http://lunatics.kwsn.net/index.php?module=Downloads;sa=dlview;id=258 and put the executable in projects/setiathome.berkeley.edu
- Get the 2.3 toolkit (delete everything from the 3.1 you have) and put
libcudart.so
libcudart.so.2
libcudart.so.2.3
libcufft.so
libcufft.so.2
libcufft.so.2.3
in the projects/setiathome.berkeley.edu directory.
- Edit accordingly your ld.so.conf or the corresponding ld-something file of your distro with the above location of the cuda libs. Do a ldconfig to update the cache.
- Do a ldd... to the cuda app to see if all dependencies are met.
-Make a file named app_info.xml in the projects/setiathome.berkeley.edu directory and put the following:
<app_info>
<app>
<name>astropulse_v505</name>
</app>
<file_info>
<name>
ap_5.06r411_sse3_x86_64-beta4</name>
<executable/>
</file_info>
<app_version>
<app_name>astropulse_v505</app_name>
<version_num>506</version_num>
<flops>41430637443.0638666</flops>
<avg_ncpus>1.0000</avg_ncpus>
<max_ncpus>1.0000</max_ncpus>
<file_ref>
<file_name>
ap_5.06r411_sse3_x86_64-beta4</file_name>
<main_program/>
</file_ref>
</app_version>
<app>
<name>setiathome_enhanced</name>
</app>
<file_info>
<name>
AK_V8_linux64_ssse3</name>
<executable/>
</file_info>
<file_info>
<name>
setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>
<file_info>
<name>libcudart.so.2</name>
<executable/>
</file_info>
<file_info>
<name>libcufft.so.2</name>
<executable/>
</file_info>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>603</version_num>
<flops>24463044489.9277371</flops>
<avg_ncpus>1.0000</avg_ncpus>
<max_ncpus>1.0000</max_ncpus>
<file_ref>
<file_name>
AK_V8_linux64_ssse3</file_name>
<main_program/>
</file_ref>
</app_version>
<app_version>
<app_name>setiathome_enhanced</app_name>
<version_num>608</version_num>
<plan_class>cuda</plan_class>
<flops>
244630444899.2773714</flops>
<avg_ncpus>0.1400</avg_ncpus>
<max_ncpus>0.1400</max_ncpus>
<coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<file_ref>
<file_name>
setiathome-6.08.CUDA_2.2_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>libcudart.so.2</file_name>
</file_ref>
<file_ref>
<file_name>libcufft.so.2</file_name>
</file_ref>
</app_version>
</app_info>
-Change the yellow filenames with the ones you've got.
- Change the red number with something much lower, I don't know what a proper number for your card will be, maybe half of it.
- You have to make the cuda app run at 0 priority. I use the following script that runs in infinite loop:
#!/bin/sh
while true
do
for arg in `ps -Lo lwp --no-headers -p $(pgrep setiathome-6)`
do
renice 0 -p ${arg}
done
sleep 5
done
for that script to work you'll need the procps and bsdutils packages installed.
- Fire up boinc and see what we've done