![]() |
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.
|
[QUOTE=henryzz;442767]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.[/QUOTE]
Primo needs an adjustment to shmax on Linux. I wonder what that is for M$? :smile: |
[QUOTE=paulunderwood;442770]Primo needs an adjustment to shmax on Linux. I wonder what that is for M$? :smile:[/QUOTE]
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. |
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.
|
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.
|
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.
|
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 |
[QUOTE=henryzz;442767]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.[/QUOTE]
I somehow missed this older thread when I posted [url=http://www.mersenneforum.org/showthread.php?t=22468]this new one[/url] 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. |
[QUOTE=casevh;464266]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[/QUOTE] 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. |
[QUOTE=henryzz;464304]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.[/QUOTE]
This may sound strange, but I've fixed a couple of failing upgrades by performing the upgrade with network connectivity (wireless/wired) disabled. |
[QUOTE=casevh;464428]This may sound strange, but I've fixed a couple of failing upgrades by performing the upgrade with network connectivity (wireless/wired) disabled.[/QUOTE]
I had considered trying it without a network connection. Will try. |
| All times are UTC. The time now is 05:40. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.