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: 2565
Credit: 3,130,281
RAC: 6
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: 2565
Credit: 3,130,281
RAC: 6
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: 1859
Credit: 37,403,035
RAC: 24,402
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
Previous · 1 · 2 · 3 · 4

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

©2019 climateprediction.net