climateprediction.net home page
Running BOINC under WINE

Running BOINC under WINE

Questions and Answers : Unix/Linux : Running BOINC under WINE
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4

AuthorMessage
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,377,675
RAC: 3,657
Message 60132 - Posted: 10 May 2019, 12:04:10 UTC

Or I thought it was fixed - it is on the machine that had a fresh install of 19.04. Something in the one where I did a do-release upgrade is still sitting around that makes the 64 bit crash.
ID: 60132 · Report as offensive     Reply Quote
Heuristic0667

Send message
Joined: 10 May 19
Posts: 8
Credit: 30,476
RAC: 0
Message 60145 - Posted: 16 May 2019, 12:55:36 UTC

You would need a license to run a Windows VM? Not quite.

Microsoft provided several VMs to make it easier for webmasters and website engineers to complete testing tasks over their websites. Use of this VM is quite legal, and you can always revert to a snapshot before its first power on. And, as you may already know, you can insert more virtual disks for you to store BOINC data there, to avoid losing data and current progress.

This is quite legal, it's stated on its website:https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

In fact, you can use this script to "deactivate" and "rearm" this copy of windows several times before it finally expire, and use this copy for another 90 days.

slmgr.vbs /upk
slmgr.vbs /rearm
shutdown -r -t 30
echo.Restarting Windows in 30 seconds to complete the Rearm process...
pause
ID: 60145 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,377,675
RAC: 3,657
Message 60148 - Posted: 16 May 2019, 13:13:28 UTC

Currently all the windows tasks are still 32bit so downloading the bloatware that is windows seems a bit of overkill when I can get the tasks running quite easily by installing the 32 bit version of BOINC. Next time around I will probably do a fresh install of Ubuntu 19.10 which should mean all three machines have the problem fixed. (two out of three have fresh installs of 19.04 and 64bit BOINC is working fine.) I would rather keep the extra disk space but I am sure there will be a place for the VM route as there are enough things won't run under WINE to justify it.
ID: 60148 · Report as offensive     Reply Quote
Profile geophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2167
Credit: 64,403,322
RAC: 5,085
Message 61314 - Posted: 21 Oct 2019, 16:34:15 UTC
Last modified: 22 Oct 2019, 0:44:48 UTC

As stated previously, boinc under wine gives terrible benchmarks (way too low). This impacts the "Remaining (estimated)" time in boinc manager, so you'll often get wild overestimates of the time to complete models.

There are two ways to fix this.

1. Change the number of CPUs used in the Preferences to 1, rerun the benchmark, then change the number back to the number of cores you want boinc to use. The more cores your CPU has and you let boinc use when running the benchmark, the lower your floating point benchmark will be. Running it with only a single core enabled in boinc will produce a reasonable FP bench.

2. Otherwise, go into the .wine directory tree to where your boinc data directory is at and edit client_state.xml to change the <p_fpops> to something more realistic.

Remember, you'll have to do this again after boinc automatically runs it benchmark, which it does periodically.

Edit...After you've made the change to the benchmark value, you should be able to stop boinc from automatically running benchmarks by editing a file called cc_config.xml in the boinc data directory (you may have to create that file, see the link below). You can create this skip entry in the <options> section of that file.

<skip_cpu_benchmarks>1</skip_cpu_benchmarks>

More about cc_config.xml here.
ID: 61314 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,377,675
RAC: 3,657
Message 64058 - Posted: 15 Jun 2021, 17:38:03 UTC

I wanted to be able to run Windows tasks from testing at the same time as running main site tasks natively under Linux. I have not found a way to do this just using WINE but have now succeeded in getting wine to work in an XUbuntu VM while BOINC chugs away doing Linux Native tasks. No Windows tasks available currently so a WCG task is running to test the set up. An Africa Rainfall Project which is going to take a total of about 18 hours to finish.

This also improves my flexibility should we ever return to the days of masses of Windows work and only occasional Linux batches.
ID: 64058 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,377,675
RAC: 3,657
Message 64622 - Posted: 14 Oct 2021, 10:58:59 UTC

BOINC under WINE problems not all gone but 7.16.11 runs under WINE 5.03 though apparently not under WINE6.0.

Good news for those who like to have lots of options.
ID: 64622 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,377,675
RAC: 3,657
Message 65503 - Posted: 8 Jun 2022, 8:21:36 UTC
Last modified: 8 Jun 2022, 8:29:10 UTC

boinc7.20.0 now runs under WINE on my Ryzen without crashing. For those wanting to run the latest version from github please note that this is an alpha version so not on the BOINC website for downloading yet. And it may well contain bugs.

This means those running it under WINE are no longer restricted to an old 32bit version. Another change is this new version uses system certificates so the problem with the cabundle.crt going out of date shouldn't happen any more, though on the BOINC boards it has been suggested that Windows might not always update this as often as it should!

It's working is also a moot point under Windows as far as this project is concerned for the foreseeable future.

I thought it worth trying as the release notes mentioned resolving one or two things that caused it to crash under Windows.
ID: 65503 · Report as offensive     Reply Quote
Profile Dave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4314
Credit: 16,377,675
RAC: 3,657
Message 65505 - Posted: 8 Jun 2022, 13:31:05 UTC

And with impeccable timing, I now have three Windows tasks from testing branch downloading onto my Ryzen.
ID: 65505 · Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4

Questions and Answers : Unix/Linux : Running BOINC under WINE

©2024 climateprediction.net