mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2016-09-16, 18:53   #1
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

599910 Posts
Default 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.
henryzz is online now   Reply With Quote
Old 2016-09-16, 19:15   #2
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

34×53 Posts
Default

Quote:
Originally Posted by henryzz View Post
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$?
paulunderwood is offline   Reply With Quote
Old 2016-09-16, 19:31   #3
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

135578 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
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.
henryzz is online now   Reply With Quote
Old 2016-09-16, 22:37   #4
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

17·107 Posts
Default

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.
wombatman is online now   Reply With Quote
Old 2016-09-17, 07:09   #5
casevh
 
Dec 2005

2510 Posts
Default

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.
casevh is offline   Reply With Quote
Old 2016-09-17, 13:44   #6
casevh
 
Dec 2005

52 Posts
Default

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.
casevh is offline   Reply With Quote
Old 2017-07-27, 03:50   #7
casevh
 
Dec 2005

52 Posts
Default 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
casevh is offline   Reply With Quote
Old 2017-07-27, 07:13   #8
ewmayer
2ω=0
 
ewmayer's Avatar
 
Sep 2002
República de California

25×367 Posts
Default

Quote:
Originally Posted by henryzz View Post
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.
ewmayer is offline   Reply With Quote
Old 2017-07-27, 14:48   #9
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

7×857 Posts
Default

Quote:
Originally Posted by casevh View Post
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.
henryzz is online now   Reply With Quote
Old 2017-07-28, 18:58   #10
casevh
 
Dec 2005

52 Posts
Default

Quote:
Originally Posted by henryzz View Post
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.
casevh is offline   Reply With Quote
Old 2017-07-28, 20:16   #11
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

599910 Posts
Default

Quote:
Originally Posted by casevh View Post
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.
henryzz is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to the bash shell in Windows 10 wombatman Software 10 2018-04-09 02:10
Microsoft adds Linux Bash Shell and Ubuntu Binaries to Win10 ewmayer Software 5 2017-07-22 01:52
Windows 10 in Ubuntu, good idea, bad idea, or...? jasong jasong 8 2017-04-07 00:23
Windows 10 SP1 will have UBUNTU developer support !!!! tServo Software 19 2016-04-23 21:30
Windows 7 / Ubuntu dual boot system? Andi47 Linux 35 2012-05-28 11:05

All times are UTC. The time now is 15:21.


Wed Oct 5 15:21:53 UTC 2022 up 48 days, 12:50, 0 users, load averages: 2.35, 1.74, 1.66

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔