UBUNTU 18.04 Getting Boinc to run

Questions and Answers : Unix/Linux : UBUNTU 18.04 Getting Boinc to run
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Bravo6
Avatar

Send message
Joined: 28 Oct 99
Posts: 52
Credit: 44,947,756
RAC: 0
United States
Message 1966929 - Posted: 25 Nov 2018, 1:30:19 UTC
Last modified: 25 Nov 2018, 1:33:06 UTC

Installed UBUNTU 18.04 and am trying to get boinc and graphical interface running


command line:
/etc/init.d/boinc-client status gets me:

boinc-client.service - Berkeley Open Infrastructure Network Computing Client
loaded: loaded (lib/systemd/system/boinc-client.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-11-24 [time and so forth yada yada]
gives me pid, number of tasks (2) and other stuff

snap installed the software , command line edited init.d to load at boot
how can i get to the graphical insterface? snap said installed ok....... can't find it running anywhere so how can i get it to connect to seti, etc. any help appreciated

Full command line results below: (just figured out how to do it)

craig@craig-HP-Compaq-8200-Elite-CMT-PC:~$ /etc/init.d/boinc-client status
● boinc-client.service - Berkeley Open Infrastructure Network Computing Client
Loaded: loaded (/lib/systemd/system/boinc-client.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-11-24 18:53:47 CST; 12min ago
Docs: man:boinc(1)
Main PID: 1003 (boinc)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/boinc-client.service
└─1003 /usr/bin/boinc

Nov 24 19:05:49 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:50 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:51 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:52 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:53 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:54 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:56 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:57 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:58 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Nov 24 19:05:59 craig-HP-Compaq-8200-Elite-CMT-PC boinc[1003]: No protocol sp…ed
Hint: Some lines were ellipsized, use -l to show in full.
"Don't worry about it, nothing is gonna be O.K. anyway.........."
ID: 1966929 · Report as offensive
Profile Bravo6
Avatar

Send message
Joined: 28 Oct 99
Posts: 52
Credit: 44,947,756
RAC: 0
United States
Message 1966935 - Posted: 25 Nov 2018, 2:41:50 UTC

OK......
finally found a decent info page...

https://askubuntu.com/questions/223842/what-is-the-correct-way-of-installing-boinc-software

got it installed and gui up and running.....waiting for response from seti....
"Don't worry about it, nothing is gonna be O.K. anyway.........."
ID: 1966935 · Report as offensive
Profile Bravo6
Avatar

Send message
Joined: 28 Oct 99
Posts: 52
Credit: 44,947,756
RAC: 0
United States
Message 1967148 - Posted: 25 Nov 2018, 23:18:09 UTC
Last modified: 25 Nov 2018, 23:36:35 UTC

Found a great info page.... followed it and got Boinc running pretty quick. Had to give the it several hours before started sending down wu's,
but appears to be running very well at this time. Open cl are taking 10 min avg as opposed to 25 to 30 min under windows ( same computer, the whole switchover took about 30 minutes, not counting the time to find the info.....)

GenuineIntel
Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz [Family 6 Model 42 Stepping 7]
(4 processors)

source page:
https://askubuntu.com/questions/1081828/how-to-set-up-boinc-on-ubuntu
"Don't worry about it, nothing is gonna be O.K. anyway.........."
ID: 1967148 · Report as offensive
Profile Bravo6
Avatar

Send message
Joined: 28 Oct 99
Posts: 52
Credit: 44,947,756
RAC: 0
United States
Message 1967318 - Posted: 27 Nov 2018, 1:16:26 UTC

Did a second install of Ubuntu on to another computer (dual boot this time. This procedure works great, here are the steps isolated from the website but the source is listed last line:
Note that you do not need the RDP stuff unless you want to login remotely.......

So, I got the idea to take an old PC with no OS and turn it into a dedicated BOINC machine. To save on costs, I decided to use Ubuntu 18.04 for the OS. I never used it before, so challenge accepted.
Below is the installation process I used. The difficult part was finding all the commands I had to run to install the graphics drivers (i.e. Nvidia).
Hopefully, this post will help anyone else or myself when I set up another BOINC machine.
NOTE: This process documents the bare minimum to get BOINC running on the machine. If there is anything else that would be useful to add to the instructions, please do so.

Install the OS:
1. Download Ubuntu
2. Create a USB bootable flash drive
3. Install Ubuntu from the USB drive.
I use Remote Desktop to log into the new Ubuntu machine, so I need to find the IP address of the new machine and install xrdp. In a terminal window, run the following commands:
1. Type: sudo apt install net-tools
2. Type: sudo apt-get install xrdp (not needed unless you want to log in remotely)
3. Type: ifconfig. Note the IP address of the machine. (same as above)
At this point, I use RDP to log in and continue the process.
Install BOINC
1. In a terminal window, type: sudo apt install boinc-client boinc-manager
If you have a graphics card and want to run GPU work units, you need to install the drivers.
For Nvidia,
1. Type: sudo ubuntu-drivers autoinstall. This will install the video drivers and any other drivers your machine may need. You can research and install the specific drivers you need but I'm lazy and went with this option.
2. Reboot. BOINC will not recognize the graphics card until you do.
3. Install OpenCL, type: sudo apt install ocl-icd-libopencl1. This was the pain point for me. BOINC recognized the graphics card, but would not download GPU work units. I found an error in the BOINC Event Log that mentioned it was not compatible with OpenCL. After some Google searching, I found this command.
4. Reboot. BOINC will not download GPU work units until you do.
Congratulations! You now have BOINC set up on your new Ubuntu computer. You should be able to run CPU and GPU work units. Go ahead an attach projects or account managers based on your needs.


Note that on one of the installs I got an error that an administrative file was locked, simply reboot and continue if you get this. I assume that something got hung up.

Original source below, all i did was collect it:

https://askubuntu.com/questions/1081828/how-to-set-up-boinc-on-ubuntu[/quote]
"Don't worry about it, nothing is gonna be O.K. anyway.........."
ID: 1967318 · Report as offensive

Questions and Answers : Unix/Linux : UBUNTU 18.04 Getting Boinc to run


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.