Older Boinc version to Ubuntu 20.04.2 LTS

Message boards : Questions and problems : Older Boinc version to Ubuntu 20.04.2 LTS
Message board moderation

To post messages, you must log in.

AuthorMessage
WezH

Send message
Joined: 1 Oct 12
Posts: 90
Finland
Message 104728 - Posted: 8 Jul 2021, 17:53:50 UTC
Last modified: 8 Jul 2021, 17:57:27 UTC

Does anyone know how to run older, NO-prefetch boinc-client in 20.04.2 LTS Ubuntu.

When running PrimeGrid it is very important to be first one to return tasks, then you are credited finding prime.

Current repository has 7.16.6 version and that version has task prefetch, so when running tasks which run like 32 sec (in my GTX1650Super GPU, way faster in RTX-series) there is always 5 to 6 tasks Waiting to run, so 3 minutes waiting before they are reported, and that is much when trying to be 1st one.

Problem I have encountered is that older, like 7.4.21 (is that even pre-prefetch?) doesn't run because
error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


What I do is know that version of libpng is no longer available in Ubuntu 20...

Does anyone know how to get older version working? Actually get older version of libpng so older versions can run...

Cache is set to zero, and resource share is zero. And "Max # of simultaneous PrimeGrid task" is not answer, after limiting it to 9 I got 4 cpu task (so 4 cores are idle) and 4 GPU tasks are waiting to run...
ID: 104728 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 104729 - Posted: 8 Jul 2021, 18:20:46 UTC - in response to Message 104728.  

You'd probably have to build your own binaries from sources, using the build tools and libraries native to your own machine.

You can download that version's source code from https://github.com/BOINC/boinc/tree/client_release/7%2F7.4
ID: 104729 · Report as offensive
WezH

Send message
Joined: 1 Oct 12
Posts: 90
Finland
Message 104730 - Posted: 8 Jul 2021, 18:35:54 UTC - in response to Message 104729.  

You'd probably have to build your own binaries from sources, using the build tools and libraries native to your own machine.


That was the answer I was afraiding... I has been decades since I compiled something... Well, live and learn... again :)
ID: 104730 · Report as offensive
WezH

Send message
Joined: 1 Oct 12
Posts: 90
Finland
Message 104732 - Posted: 9 Jul 2021, 10:21:35 UTC

Found another way to install older Boinc, 7.9.3

1. Edit apt sources list, commented all focal (Ubuntu 20.04.2 LTS) repositories, added bionic (Ubuntu 18.05.5) repositories. (had to comment all focal because apt always installed 7.16.6 version)

nano /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main universe
deb-src http://archive.ubuntu.com/ubuntu bionic main universe
apt update 


2. Installed 7.9.3
apt install boinc=7.9.3+dfsg-5


3. Disabled Boinc auto-update
apt-mark hold boinc


4. Edited apt sources list, reversed edited lines to orignal, updated apt
nano /etc/apt/sources.list
apt update 
ID: 104732 · Report as offensive
WezH

Send message
Joined: 1 Oct 12
Posts: 90
Finland
Message 104750 - Posted: 10 Jul 2021, 9:00:55 UTC - in response to Message 104732.  

3. Disabled Boinc auto-update
apt-mark hold boinc



Didn't work, updated to 7.16.6, now added:

apt-mark hold boinc
apt-mark hold boinc-client
apt-mark hold boinc-manger
apt-mark hold libboinc7


Let's see will it work...
ID: 104750 · Report as offensive
Dr Who Fan
Avatar

Send message
Joined: 10 May 07
Posts: 1328
United States
Message 104751 - Posted: 10 Jul 2021, 15:05:28 UTC - in response to Message 104732.  

Found another way to install older Boinc, 7.9.3

1. Edit apt sources list, commented all focal (Ubuntu 20.04.2 LTS) repositories, added bionic (Ubuntu 18.05.5) repositories. (had to comment all focal because apt always installed 7.16.6 version)

nano /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu bionic main universe
deb-src http://archive.ubuntu.com/ubuntu bionic main universe
apt update 


2. Installed 7.9.3
apt install boinc=7.9.3+dfsg-5


3. Disabled Boinc auto-update
apt-mark hold boinc


4. Edited apt sources list, reversed edited lines to orignal, updated apt
nano /etc/apt/sources.list
apt update 

You had better go back and RE-EDIT THIS and try again... You spelled BOINC WRONG >>> "bionic" should be "boinc".
ID: 104751 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 104754 - Posted: 10 Jul 2021, 15:34:21 UTC - in response to Message 104751.  

boinc is correctly spelled at steps 2 and 3.

The 'bionic' main universe in step 1 is, I suspect, a different animal altogether.
ID: 104754 · Report as offensive
ProDigit

Send message
Joined: 8 Nov 19
Posts: 718
United States
Message 104764 - Posted: 10 Jul 2021, 17:59:53 UTC

bionic is a version of Ubuntu (18.04 to be precise).
It's not recommended to load older version libraries into a newer Linux version.
ID: 104764 · Report as offensive

Message boards : Questions and problems : Older Boinc version to Ubuntu 20.04.2 LTS

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.