Error folding on GPU [OpenSUSE]

FAH provides a V7 client installer for Debian / Mint / Ubuntu / RedHat / CentOS / Fedora. Installation on other distros may or may not be easy but if you can offer help to others, they would appreciate it.

Moderators: Site Moderators, FAHC Science Team

calxalot
Site Moderator
Posts: 1117
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Error folding on GPU [OpenSUSE]

Post by calxalot »

Yay!

If the system log is full of noise, you might also want
StandardOutput=null
calxalot
Site Moderator
Posts: 1117
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Error folding on GPU [OpenSUSE]

Post by calxalot »

Is it safe to use
Restart=always
again?
DJViking
Posts: 41
Joined: Tue Apr 19, 2016 1:39 pm

Re: Error folding on GPU [OpenSUSE]

Post by DJViking »

calxalot wrote:Is it safe to use
Restart=always
again?
Yes, actually. It now works with Restart=always.
calxalot
Site Moderator
Posts: 1117
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Error folding on GPU [OpenSUSE]

Post by calxalot »

Nice. Could you post the final service file here? Thanks.
DJViking
Posts: 41
Joined: Tue Apr 19, 2016 1:39 pm

Re: Error folding on GPU [OpenSUSE]

Post by DJViking »

/etc/systemd/system/fahclient.service

Code: Select all

[Unit]
Description=Folding@Home V7 Client
Documentation=https://folding.stanford.edu/home/the-software/
After=network.target

[Service]
User=fahclient
Group=users
WorkingDirectory=/var/lib/fahclient
ExecStart=/usr/bin/FAHClient /etc/fahclient/config.xml
KillMode=process
Restart=always

[Install]
WantedBy=multi-user.target

Code: Select all

chown root:root /etc/systemd/system/fahclient.service
chmod u=rw,go=r /etc/systemd/system/fahclient.service
The systemd service unit for FAHClient is installed. Reload systemd manager configuration

Code: Select all

systemctl daemon-reload
Enable the service

Code: Select all

systemctl enable fahclient.service
Query the status of service unit.

Code: Select all

systemctl status fahclient.service
Start and stop as a regular systemd service

Code: Select all

systemctl stop fahclient.service
systemctl start fahclient.service
aufkrawall
Posts: 2
Joined: Fri Dec 09, 2016 8:22 pm

Re: Error folding on GPU [OpenSUSE]

Post by aufkrawall »

I installed the service like you described, but I'm still not able to to GPU folding.
Client always tries to start, but fails eventually. I'm on 367.57 with compute package installed.
bruce
Posts: 20824
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Error folding on GPU [OpenSUSE]

Post by bruce »

When it's "trying to start" are there messages going to FAH's log? ... to the console? ... etc. that you can post?

What directory is currently open when the service starts?
calxalot
Site Moderator
Posts: 1117
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: Error folding on GPU [OpenSUSE]

Post by calxalot »

Did you add group video to user fahclient?
aufkrawall
Posts: 2
Joined: Fri Dec 09, 2016 8:22 pm

Re: Error folding on GPU [OpenSUSE]

Post by aufkrawall »

No, that was my mistake. It works now with video, thanks.
In the meantime I had been able to get it to work with root user, but that was of course an ugly solution.
Post Reply