mersenneforum.org Bash on Ubuntu on Windows
 Register FAQ Search Today's Posts Mark Forums Read

 2016-09-16, 18:53 #1 henryzz Just call me Henry     "David" Sep 2007 Liverpool (GMT/BST) 178F16 Posts Bash on Ubuntu on Windows Has anyone experimented on this at all? Seems to work fairly well. Getting gui apps working seems hit and miss. Firefox seems to work although I can't get primo to work. Need to see what I can compile next.
2016-09-16, 19:15   #2
paulunderwood

Sep 2002
Database er0rr

23·3·11·17 Posts

Quote:
 Originally Posted by henryzz Has anyone experimented on this at all? Seems to work fairly well. Getting gui apps working seems hit and miss. Firefox seems to work although I can't get primo to work. Need to see what I can compile next.
Primo needs an adjustment to shmax on Linux. I wonder what that is for M$? 2016-09-16, 19:31 #3 henryzz Just call me Henry "David" Sep 2007 Liverpool (GMT/BST) 136178 Posts Quote:  Originally Posted by paulunderwood Primo needs an adjustment to shmax on Linux. I wonder what that is for M$?
That makes sense given the error message I got. Not a clue how to change it on this system though. /proc/sys/kernel/shmmax doesn't exist.
I have discovered another couple of people trying and failing on this setup.

 2016-09-16, 22:37 #4 wombatman I moo ablest echo power!     May 2013 73C16 Posts I've been playing with it as well. GMP and GMP-ECM compile right out of the box. Can't get anything working properly with CUDA, probably due to the same GUI issues.
 2016-09-17, 07:09 #5 casevh   Dec 2005 52 Posts When I saw this thread earlier today, I was about to reply with a comment along the lines of "Support for shared memory and semaphores is not available in the Windows Subsystem for Linux. There is an open bug report at ...". However, before I could reply, I received an email from Microsoft stating that support for shared memory and semaphores has been added to the most recent insider preview release. I'm now waiting for my system to get upgraded. I'll reply again after I get the upgrade.
 2016-09-17, 13:44 #6 casevh   Dec 2005 52 Posts It does not immediately work with v14926. The email stated the fix was in v14926+ but I don't know if that include v14926 or if the fix is just in later versions.
 2017-07-27, 03:50 #7 casevh   Dec 2005 52 Posts Primo working with build 16251 Responding to an old thread.... My desktop upgraded to Build 16251 today. In the Windows Subsystem for Linux release notes, there was a note that the "beta" status has been removed. I tried primo again and the GUI started and appeared to be functional. I have not done any real testing but it does look like it runs. I used MobaXterm to provide the X11 server and then used: export DISPLAY=:0 ./primo casevh Last fiddled with by casevh on 2017-07-27 at 03:50
2017-07-27, 07:13   #8
ewmayer
2ω=0

Sep 2002
República de California

5·2,351 Posts

Quote:
 Originally Posted by henryzz Has anyone experimented on this at all? Seems to work fairly well. Getting gui apps working seems hit and miss. Firefox seems to work although I can't get primo to work. Need to see what I can compile next.
I somehow missed this older thread when I posted this new one last week - long story short, no issues building my Mlucas code multithreaded in the bash/ubuntu/gcc built-in. Much mush easier than the older-Win Linux emulation options based on MSYS and MSYS2, and those won't support multithreading without major recoding effort, anyway.

2017-07-27, 14:48   #9
henryzz
Just call me Henry

"David"
Sep 2007
Liverpool (GMT/BST)

37×163 Posts

Quote:
 Originally Posted by casevh Responding to an old thread.... My desktop upgraded to Build 16251 today. In the Windows Subsystem for Linux release notes, there was a note that the "beta" status has been removed. I tried primo again and the GUI started and appeared to be functional. I have not done any real testing but it does look like it runs. I used MobaXterm to provide the X11 server and then used: export DISPLAY=:0 ./primo casevh
Thanks for confirming this. I had heard that shared memory was supported in the latest version. Unfortunately my desktop hangs at 95% when updating. I think I am going to have to reinstall to upgrade.

2017-07-28, 18:58   #10
casevh

Dec 2005

2510 Posts

Quote:
 Originally Posted by henryzz Thanks for confirming this. I had heard that shared memory was supported in the latest version. Unfortunately my desktop hangs at 95% when updating. I think I am going to have to reinstall to upgrade.
This may sound strange, but I've fixed a couple of failing upgrades by performing the upgrade with network connectivity (wireless/wired) disabled.

2017-07-28, 20:16   #11
henryzz
Just call me Henry

"David"
Sep 2007
Liverpool (GMT/BST)

37×163 Posts

Quote:
 Originally Posted by casevh This may sound strange, but I've fixed a couple of failing upgrades by performing the upgrade with network connectivity (wireless/wired) disabled.
I had considered trying it without a network connection. Will try.

 Similar Threads Thread Thread Starter Forum Replies Last Post wombatman Software 10 2018-04-09 02:10 ewmayer Software 5 2017-07-22 01:52 jasong jasong 8 2017-04-07 00:23 tServo Software 19 2016-04-23 21:30 Andi47 Linux 35 2012-05-28 11:05

All times are UTC. The time now is 08:07.

Tue Jan 31 08:07:31 UTC 2023 up 166 days, 5:36, 0 users, load averages: 0.91, 1.06, 1.02