climateprediction.net (CPDN) home page
Thread 'Running BOINC under WINE'

Thread '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 · Next

AuthorMessage
bernard_ivo

Send message
Joined: 18 Jul 13
Posts: 438
Credit: 25,648,692
RAC: 1,828
Message 53512 - Posted: 24 Feb 2016, 14:56:20 UTC

Hi folks,
I'm willing to install WINE on yet another linux machine, but the system drive is on SSD, and I do not want CPDN under WINE to use the SSD, but another mounted drive which is normal HDD. I guess I should try either to install WINE on the HDD, which I doubt I can (or is a good idea), or under WINE configuration to set (somehow) paths to the HDD where data should be?! Any advices will be most welcomed.

Cheers
ID: 53512 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 53513 - Posted: 24 Feb 2016, 16:23:09 UTC - in response to Message 53512.  

I'm willing to install WINE on yet another linux machine, but the system drive is on SSD, and I do not want CPDN under WINE to use the SSD, but another mounted drive which is normal HDD. I guess I should try either to install WINE on the HDD


By default, wine has installed BOINC under .wine/drive_c/Program Files/BOINC/ in my home partition rather than on the partition where my system is installed.
ID: 53513 · Report as offensive     Reply Quote
bernard_ivo

Send message
Joined: 18 Jul 13
Posts: 438
Credit: 25,648,692
RAC: 1,828
Message 53514 - Posted: 24 Feb 2016, 16:41:23 UTC - in response to Message 53513.  


By default, wine has installed BOINC under .wine/drive_c/Program Files/BOINC/ in my home partition rather than on the partition where my system is installed.


Normally .wine/drive_c/Program Files/BOINC/ is installed in /home/user/.wine/drive_c/Program Files/BOINC/ and I want to avoid it.
I guess I have to follow this https://wiki.winehq.org/FAQ#Wineprefixes
ID: 53514 · Report as offensive     Reply Quote
Eirik Redd

Send message
Joined: 31 Aug 04
Posts: 391
Credit: 219,896,461
RAC: 649
Message 53517 - Posted: 25 Feb 2016, 8:41:39 UTC - in response to Message 53514.  

For me, messing with the environment variable WINEPREFIX was problematic, probably because I don't know enough to get the environment variable set properly in the contexts when I'm working with linux-boinc-wine :)

What worked for me was - create a new user say "wine" and make that user's home directory be on whatever drive or partition, so it's isolated and I can backup and re-install fairly simply. Mess a bit with fstab, and let the defaults run :)
So, I've got (various other directories and drives).
/ is on my SSD (read mostly and read really really quick) /home/wine (or /home/wine/.wine is mounted on some whirly oldy hard drive or partition. (maybe 24-60 Gib, whatever you got or want
ID: 53517 · Report as offensive     Reply Quote
Eirik Redd

Send message
Joined: 31 Aug 04
Posts: 391
Credit: 219,896,461
RAC: 649
Message 53761 - Posted: 23 Mar 2016, 11:30:30 UTC

BOINC CPDN on linux using wine.

Worked real well, reported several completed WU's

With the new huge batches that accept Linux WU's , switching to raw Linux for now, maybe a wee bit faster, but hey
Wine worked well to keep my mostly linux hosts (ubu, mint) contributing.
Will use again when needed.

Thx all


ID: 53761 · Report as offensive     Reply Quote
bernard_ivo

Send message
Joined: 18 Jul 13
Posts: 438
Credit: 25,648,692
RAC: 1,828
Message 53762 - Posted: 23 Mar 2016, 13:31:17 UTC - in response to Message 53761.  

Great Eirik,
I did mess with WINEPREFIX and also variables for 64 bit and 32 bit wine since my machine is 64 (and 64 WINE is problematic), so far works pretty ok. However haven't restarted in a month (actually at all since installing) and need to see whether will be able to launch it properly again or will have to set WINEPREFIX again and then start. Whenever I do it will write back.
ID: 53762 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 53763 - Posted: 23 Mar 2016, 13:39:39 UTC

Everything here across three machines running wine at the moment. Have set two machines to no new tasks so that if there is still lots of Linux work available when those in the queue finish I can then return to running tasks natively.
ID: 53763 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 53992 - Posted: 20 Apr 2016, 12:01:59 UTC - in response to Message 53763.  

switched two machines back to linux but seriously thinking about switching to wine completely as power outs (cable getting knocked out of laptop and not being noticed) seems much more likely to result in tasks crashing with linux than with Wine.

Not quite sure why that should be.
ID: 53992 · Report as offensive     Reply Quote
John Eric Hopkinson

Send message
Joined: 27 Jan 05
Posts: 74
Credit: 1,047,809
RAC: 0
Message 54349 - Posted: 20 Jun 2016, 13:59:31 UTC

I have Linux Mint 17.3 Cinnamon running BOINC/CPDN after several trials with WINE. Boinc was then downloaded directly to Firefox and installed very quickly, and tasks have been running, or rather, crawling, for about 80 hours. So WINE proved to be a bit complex for this operation.
However, I dont think CPDN can get much benefit from task completions which are under the stated target dates, but about 18% of the completion rates seen on a DELL WIN10 machine.
There is very little guidance in other pages, and maybe someone could comment.
I dont mind dedicating the older machine to CPDN but it needs to be useful work.
This effort was part experiment to prove to DELL that Linux will run almost anything on anything that has a decent motherboard.

ID: 54349 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 54350 - Posted: 20 Jun 2016, 17:09:39 UTC

Hi John, it may be worth running just one task at a time or upping the memory to 4GB 1GB/task is actually a little low for a lot of the current work with CPDN.
ID: 54350 · Report as offensive     Reply Quote
John Eric Hopkinson

Send message
Joined: 27 Jan 05
Posts: 74
Credit: 1,047,809
RAC: 0
Message 54351 - Posted: 20 Jun 2016, 22:51:06 UTC - in response to Message 54350.  

Thanks Dave
I will upgrade to max RAM (by coincidence, 4gb) and we shall see.
ID: 54351 · Report as offensive     Reply Quote
Profilegeophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2187
Credit: 64,822,615
RAC: 5,275
Message 54352 - Posted: 21 Jun 2016, 0:09:48 UTC

Running WAH2 on my Linux boxes both in native Linux and Wine show a slight improvement in speed in pure Linux, but not much. Running on a Win7 box with a linux VM shows that once again, WAH2 is slightly faster in the Linux OS. Your mileage may vary, but I'm not sure why it would vary much.
ID: 54352 · Report as offensive     Reply Quote
bernard_ivo

Send message
Joined: 18 Jul 13
Posts: 438
Credit: 25,648,692
RAC: 1,828
Message 55041 - Posted: 29 Oct 2016, 20:14:43 UTC - in response to Message 54352.  

Few months ago I switched from WINE back to pure Linux on two machines and speed is up with 15%, which is noticeable especially on slower machines crunching an eu25 model for 400h. So no WINE if Linux WUs are there.
ID: 55041 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 55057 - Posted: 31 Oct 2016, 9:01:35 UTC

Having just done a clean install on two of my machines to upgrade to Ubuntu16.10, I found I had to add the wine repositories before I could install it. now working on both machines. - One machine I did a clean install on. the one I upgraded ended up with a few things broke so I did a clean install. When my box running work units in native Linux is clear of tasks I will upgrade it and see what happens.
ID: 55057 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 55361 - Posted: 15 Dec 2016, 17:36:01 UTC - in response to Message 55057.  

One machine has started giving the following message, (from memory so not verbatim.)

boinc.exe has encountered a serious problem and has had to close.

I have tried changing BOINC version, uninstalling and re-installing wine, both stable and dev versions and the same happens. All I have achieved is to reduce the number of error messages in the terminal if I use wine boincmgr.exe to start boinc.
Wine:Unhandled exception 0xc00000409 in thread 2c at address 0x4143f9 (thread 002c), starting debugger... the exception is constant but the address changes between attempts to get it to work.

The debugger has a button to click on for more information but nothing happens.

So, with that machine I am now waiting for Linux work to re-appear.

Anyone with ideas as to what I can try?
ID: 55361 · Report as offensive     Reply Quote
Les Bayliss
Volunteer moderator

Send message
Joined: 5 Sep 04
Posts: 7629
Credit: 24,240,330
RAC: 0
Message 55362 - Posted: 15 Dec 2016, 19:03:02 UTC - in response to Message 55361.  

Hi Dave

That message has been around for a while now, and appears on "real" Windows systems, and possibly on Linux as well.

I had it once myself, but I've forgotten what happened/what to do.
ID: 55362 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 55364 - Posted: 15 Dec 2016, 19:11:26 UTC - in response to Message 55362.  

Thanks Les,
What struck me as strange was that it had been running fine for months, then a few days ago some tasks from WCG all started crashing then the same for another project which I suspect was wrongly configured files downloaded as resetting the project combined with an exit of boinc and restarting it cured it, then this morning I first got the message when I went to look at the event log. This machine with the same versions of Xubuntu and WINE so far is working fine. Got a couple of things I might try next week but really running out of ideas at the moment. - have left the four cores on the machine crunching WCG till the newer tasks become avilable natively.
ID: 55364 · Report as offensive     Reply Quote
Profilegeophi
Volunteer moderator

Send message
Joined: 7 Aug 04
Posts: 2187
Credit: 64,822,615
RAC: 5,275
Message 55368 - Posted: 15 Dec 2016, 23:39:37 UTC - in response to Message 55364.  

I've had that as well. The only thing that solved it was to "uninstall" boinc from wine, remove the boinc executable and data directories, and then reinstall and reattach to cpdn. I think something gets corrupted that a reset doesn't fix. Maybe it's in client_state.xml or maybe some other file.
ID: 55368 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 55369 - Posted: 16 Dec 2016, 8:57:15 UTC - in response to Message 55368.  

Will try that, Unfortunately I don't think I have the skills to search through client_state.xml to try and work out which of three projects' information has got corrupted. Shame it happened when I actually had some work for a change though :(

I will wait till the WCG tasks running have cleared from the native client, then have a go. I have saved both the program and data directories so if anyone has the skills, time and inclination to look at them they can let me know!
ID: 55369 · Report as offensive     Reply Quote
ProfileDave Jackson
Volunteer moderator

Send message
Joined: 15 May 09
Posts: 4541
Credit: 19,039,635
RAC: 18,944
Message 55370 - Posted: 16 Dec 2016, 9:39:54 UTC - in response to Message 55369.  

I can report that deleting the data directory before re-installing was successful so now I will be able to return to CPDN with that machine once the four running WCG tasks are complete under linux. Many thanks for that hint George.
ID: 55370 · Report as offensive     Reply Quote
Previous · 1 · 2 · 3 · 4 · Next

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

©2024 cpdn.org