How does FAH "Detect" CUDA?
Posted: Fri May 01, 2015 11:31 pm
System:
i5-4590
8GB RAM
GTX 760 GPU
OpenSUSE 13.2
I have loaded the 346.46 drivers and the CUDA Devlopment package from the nvidia website and the example programs work so I assume that CUDA is working but FAH still reports that it isn't detecting CUDA:
My question is, how does FAH try to detect CUDA? Since the CUDA examples are working I must have some environment variable or permission or location set incorrectly but without knowing what its detection algorithm is I am having a hard time debugging it.
I know from other posts that if CUDA is not present it will try to load an openCL WU but I've been trying that for days and all I ever get are BAD_WORK_UNIT errors until it gives up:
which continues until it gives up, so I would like to be able to at least try a CUDA WU.
Thank you.
i5-4590
8GB RAM
GTX 760 GPU
OpenSUSE 13.2
I have loaded the 346.46 drivers and the CUDA Devlopment package from the nvidia website and the example programs work so I assume that CUDA is working but FAH still reports that it isn't detecting CUDA:
Code: Select all
*********************** Log Started 2015-05-01T22:35:40Z ***********************
22:35:40:************************* Folding@home Client *************************
22:35:40: Website: http://folding.stanford.edu/
22:35:40: Copyright: (c) 2009-2014 Stanford University
22:35:40: Author: Joseph Coffland <joseph@cauldrondevelopment.com>
22:35:40: Args: --child --lifeline 5522 /etc/fahclient/config.xml --run-as
22:35:40: fahclient --pid-file=/var/run/fahclient.pid --daemon
22:35:40: Config: /etc/fahclient/config.xml
22:35:40:******************************** Build ********************************
22:35:40: Version: 7.4.4
22:35:40: Date: Mar 4 2014
22:35:40: Time: 12:01:17
22:35:40: SVN Rev: 4130
22:35:40: Branch: fah/trunk/client
22:35:40: Compiler: GNU 4.1.2 20080704 (Red Hat 4.1.2-46)
22:35:40: Options: -std=gnu++98 -O3 -funroll-loops -mfpmath=sse -ffast-math
22:35:40: -fno-unsafe-math-optimizations -msse2
22:35:40: Platform: linux2 2.6.18-164.11.1.el5
22:35:40: Bits: 64
22:35:40: Mode: Release
22:35:40:******************************* System ********************************
22:35:40: CPU: Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz
22:35:40: CPU ID: GenuineIntel Family 6 Model 60 Stepping 3
22:35:40: CPUs: 4
22:35:40: Memory: 7.74GiB
22:35:40:Free Memory: 5.24GiB
22:35:40: Threads: POSIX_THREADS
22:35:40: OS Version: 3.16
22:35:40:Has Battery: false
22:35:40: On Battery: false
22:35:40: UTC Offset: -7
22:35:40: PID: 5524
22:35:40: CWD: /var/lib/fahclient
22:35:40: OS: Linux 3.16.7-21-default x86_64
22:35:40: OS Arch: AMD64
22:35:40: GPUs: 1
22:35:40: GPU 0: NVIDIA:3 GK104 [GeForce GTX 760]
22:35:40: CUDA: Not detected
22:35:40:***********************************************************************
I know from other posts that if CUDA is not present it will try to load an openCL WU but I've been trying that for days and all I ever get are BAD_WORK_UNIT errors until it gives up:
Code: Select all
22:35:40:Switching to user fahclient
22:35:40:Trying to access database...
22:35:42:Successfully acquired database lock
22:35:42:Enabled folding slot 01: READY gpu:0:GK104 [GeForce GTX 760]
22:35:42:WU00:FS01:Connecting to 171.67.108.200:80
22:35:43:WU00:FS01:Assigned to work server 171.64.65.56
22:35:43:WU00:FS01:Requesting new work unit for slot 01: READY gpu:0:GK104 [GeForce GTX 760] from 171.64.65.56
22:35:43:WU00:FS01:Connecting to 171.64.65.56:8080
22:35:43:WU00:FS01:Downloading 885.46KiB
22:35:44:WU00:FS01:Download complete
22:35:44:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:9411 run:544 clone:0 gen:71 core:0x17 unit:0x00000052ab40413854d27bf36ddc9191
22:35:44:WU00:FS01:Starting
22:35:44:WU00:FS01:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/web.stanford.edu/~pande/Linux/AMD64/NVIDIA/Fermi/Core_17.fah/FahCore_17 -dir 00 -suffix 01 -version 704 -lifeline 5524 -checkpoint 15 -gpu 0 -gpu-vendor nvidia
22:35:44:WU00:FS01:Started FahCore on PID 5539
22:35:44:WU00:FS01:Core PID:5543
22:35:44:WU00:FS01:FahCore 0x17 started
[93m22:35:44:WARNING:WU00:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)[0m
22:35:44:WU00:FS01:Sending unit results: id:00 state:SEND error:FAULTY project:9411 run:544 clone:0 gen:71 core:0x17 unit:0x00000052ab40413854d27bf36ddc9191
22:35:44:WU00:FS01:Uploading 1.82KiB to 171.64.65.56
22:35:44:WU00:FS01:Connecting to 171.64.65.56:8080
22:35:45:WU00:FS01:Upload complete
22:35:45:WU01:FS01:Connecting to 171.67.108.200:80
22:35:45:WU00:FS01:Server responded WORK_ACK (400)
22:35:45:WU00:FS01:Cleaning up
Thank you.