Message boards : Number crunching : Boinc and Docker
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
[VENETO] boboviz
Avatar

Send message
Joined: 7 May 08
Posts: 235
Credit: 1,575,053
RAC: 0
Message 51149 - Posted: 26 Nov 2024, 17:10:57 UTC - in response to Message 51142.  

the singular reason to switch Windows machines from VBox to Docker, which is unnecessary anyway, would be to shut you up.


Please, admins, could you suspend this account?
ID: 51149 · Report as offensive     Reply Quote
[VENETO] boboviz
Avatar

Send message
Joined: 7 May 08
Posts: 235
Credit: 1,575,053
RAC: 0
Message 51273 - Posted: 12 Dec 2024, 10:23:15 UTC - in response to Message 51149.  

web and scheduler: enable plan classes for BUDA

If you make a variant of a BUDA app for a plan class
(e.g. NVIDIA GPU with CUDA)
this ensures that jobs submitted to that variant are sent
only to capable hosts,
and that the host usage and projected FLOPS are set correctly.

On the web side, we add a <plan_class> element to workunit.xml_doc.
This gets sent to the scheduler.

On the scheduler this required some reorganization.
As the scheduler scans jobs, it finds and caches
a BEST_APP_VERSION for each app.
This contains a HOST_USAGE.

In the case of BUDA, the host usage depends on the workunit,
not the app version.
We might scan several BUDA jobs
they'll all use the same APP_VERSION,
but they could have different plan classes
and therefore different HOST_USAGE.
ID: 51273 · Report as offensive     Reply Quote
[VENETO] boboviz
Avatar

Send message
Joined: 7 May 08
Posts: 235
Credit: 1,575,053
RAC: 0
Message 51707 - Posted: 17 Mar 2025, 15:31:27 UTC

Meantime...
https://lhcathomedev.cern.ch/lhcathome-dev/apps.php

Microsoft Windows running on an AMD x86_64 or Intel EM64T CPU 7.35 (docker)
ID: 51707 · Report as offensive     Reply Quote
kotenok2000
Avatar

Send message
Joined: 21 Feb 11
Posts: 83
Credit: 577,613
RAC: 0
Message 51709 - Posted: 17 Mar 2025, 17:15:20 UTC

Docker tasks crash on linux.
I have been getting .
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied

I was able to fix this error by adding user boinc to group docker.

Now they fail with
running docker command: create --name boinc__lhcathomedev.cern.ch_lhcathome-dev__theory_2843-4237522-529_1  -v .:/shared  -p 48401:80 --log-driver=k8s-file --cap-add=SYS_ADMIN --device /dev/fuse boinc__lhcathomedev.cern.ch_lhcathome-dev__theory_2843-4237522-529
Error response from daemon: error looking up logging plugin k8s-file: plugin "k8s-file" not found

Do i have to install kubernetes?
ID: 51709 · Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 12 Aug 06
Posts: 443
Credit: 12,326,304
RAC: 1,243
Message 51926 - Posted: 4 Jun 2025, 15:01:13 UTC - in response to Message 51067.  
Last modified: 4 Jun 2025, 15:43:13 UTC

Wow, first time I've blocked anyone here, two whingers saying Linux is the best, have been removed. I came here to read about docker, not how everyone should go back to typing commands in text mode.

So! Does docker work with LHC? Does it work with other projects which use virtualbox? Do I remove virtualbox? A distinct lack of information....
(As you may have guessed I use Windows).
ID: 51926 · Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 12 Aug 06
Posts: 443
Credit: 12,326,304
RAC: 1,243
Message 51927 - Posted: 4 Jun 2025, 15:37:13 UTC
Last modified: 4 Jun 2025, 15:40:05 UTC

Doesn't seem to work anyway, I followed the instructions at https://github.com/BOINC/boinc-buda-runner-wsl?tab=readme-ov-file

And I get this in Boinc:

04/06/2025 16:34:53 | | Docker detection in Ubuntu:
04/06/2025 16:34:53 | | - cmd: podman --version
04/06/2025 16:34:53 | | - output: /bin/bash: line 1: podman: command not found
04/06/2025 16:34:53 | | Docker detection in Ubuntu:
04/06/2025 16:34:53 | | - cmd: docker --version
04/06/2025 16:34:53 | | - output: /bin/bash: line 1: docker: command not found

Yet in windows terminal:

wsl.exe -d boinc-buda-runner
Ryzen:/mnt/c/Users/peter$ podman --version
podman version 5.3.2

So eventually all this will be inside the Boinc installer and just work?
ID: 51927 · Report as offensive     Reply Quote
Mr P Hucker
Avatar

Send message
Joined: 12 Aug 06
Posts: 443
Credit: 12,326,304
RAC: 1,243
Message 51928 - Posted: 4 Jun 2025, 16:21:40 UTC - in response to Message 51927.  

for anyone getting the same, I accidentally installed Ubuntu, Boinc wants boinc-buda-runner to be the default.

Type this into powershell/windows terminal:

wsl --list

Using the name of the one you don't want (in my case Ubuntu) in place of <distroname>, type:

wsl --unregister <DistroName>

Restart Boinc.

(P.S. this was solved using AI - GPT in Duckduckgo, it can do anything!)
ID: 51928 · Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Number crunching : Boinc and Docker


©2025 CERN