Page 5 of 5

Re: Error folding on GPU [OpenSUSE]

Posted: Mon Apr 25, 2016 9:17 pm
by calxalot
Yay!

If the system log is full of noise, you might also want
StandardOutput=null

Re: Error folding on GPU [OpenSUSE]

Posted: Mon Apr 25, 2016 9:19 pm
by calxalot
Is it safe to use
Restart=always
again?

Re: Error folding on GPU [OpenSUSE]

Posted: Mon Apr 25, 2016 9:20 pm
by DJViking
calxalot wrote:Is it safe to use
Restart=always
again?
Yes, actually. It now works with Restart=always.

Re: Error folding on GPU [OpenSUSE]

Posted: Mon Apr 25, 2016 9:24 pm
by calxalot
Nice. Could you post the final service file here? Thanks.

Re: Error folding on GPU [OpenSUSE]

Posted: Mon Apr 25, 2016 9:26 pm
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

Re: Error folding on GPU [OpenSUSE]

Posted: Fri Dec 09, 2016 8:47 pm
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.

Re: Error folding on GPU [OpenSUSE]

Posted: Sat Dec 10, 2016 7:51 pm
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?

Re: Error folding on GPU [OpenSUSE]

Posted: Sat Dec 10, 2016 8:55 pm
by calxalot
Did you add group video to user fahclient?

Re: Error folding on GPU [OpenSUSE]

Posted: Sun Dec 11, 2016 3:07 am
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.