Hello,

On 31/08/2020 12:56, Erwin Pannecoucke wrote:
Dear all,

I'd like to share some experiences from Windows users that are trying out the 
Windows Subsystem for Linux (WSL).

The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- 
including most command-line tools, utilities, and applications -- directly on 
Windows, unmodified, without the overhead of a traditional virtual machine or 
dualboot setup.
(https://docs.microsoft.com/en-us/windows/wsl/about) ]

Recently, Windows improved the implementation of WSL to a whole new level, and 
introduced WLS2. WSL 2 is a new version of the Windows Subsystem for Linux 
architecture that powers the Windows Subsystem for Linux to run ELF64 Linux 
binaries on Windows. Its primary goals are to increase file system performance, 
as well as adding full system call compatibility. This new architecture changes 
how these Linux binaries interact with Windows and your computer's hardware. 
Specifically, where for example BUSTER crashed when trying to run in WSL, it 
now seems to be working fine. Note that PHENIX, XDS, ... were already working 
on WSL1.

Coot was working on WSL 1 already as well (just download binaries - dont
worry about building it). However, it was pretty slow.

As building WinCOOT is poorly documented (no offence, Mr. Emsley), I just build 
COOT from source using WSL2

Nothing to do with Mr. Emsley but rather me. However, the minority of
Windows user will NOT want to build WinCoot themselves and you get
binaries, so why bother. Otherwise, you get the corresponding build
scripts on github (both msys and msys2) just as for Coot. Just have a
look in my repository (https://github.com/bernhardcl/coot).

(*). It finished nicely (which comes as no surprise), and is running
smooth in on my Linux machine (**). Interestingly, I can run it from
within WSL2, and see no differences in performance. Admittedly, this is
very anecdotal: I haven't benchmarked this, and just played around with
2 of my structures (both with quite a lot of protein the ASU, no nucleic
acids). In other words: WLS2 makes it quite easy to run the latest coot
version on Windows, with (almost?) no dips in performance.

See above... Just get binaries for the appropriate subsystem.

WSL2 is still intended for developers. But given it generates compatibility 
with (all?) of our crystallographic packages without losing performance, this 
could make life easier not only for Windows users, but also for developers, as 
they do not need to target multiple OSes. That is why I thought this could 
perhaps use a little bit of your attention.

Indeed this is a nice option and may save some troubles but as mentioned
the majority of Windows users is happy with binaries and dont want to
(or even cannot) get into these options. This is what you do on Windows,
go to Play or whatever "store" and download, otherwise you use Linux or
Mac ;-)

Note: I havent tried WSL2 myself yet. Too afraid at the moment an update
may destabilise my system which I cannot afford (another "advantage" of
using Windows).

B

Kind regards,
Erwin


(*) I wanted to share this build, but unfortunately our University's GitHub 
account seems to have some weird restrictions. I can go and annoy IT about 
this, but only if someone is interested in this.

(**) When trying to run refmac, it complains that it can find libguile.so. That 
library file is in the /lib folder, but doesn't show up as a dependency when 
executing coot --check-libs. I therefore don't think that this problem is 
related to (building in) WSL2.


---
Erwin Pannecoucke
Unit for Structural Biology
Dept. of Biochemistry and Microbiology, Ghent University
VIB Center for Inflammation Research
Tel: +32-(0)9-331-3625

########################################################################

To unsubscribe from the COOT list, click the following link:
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jiscmail.ac.uk%2Fcgi-bin%2FWA-JISC.exe%3FSUBED1%3DCOOT%26A%3D1&data=02%7C01%7CBernhard.Lohkamp%40KI.SE%7Cdad693385b5c49025f8508d84d9c7e94%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637344682319435870&sdata=VJL%2BV%2FbAHqGRnwSXLBc5jeYwCxlH3PDkvPDXSR7Icpk%3D&reserved=0

This message was issued to members of 
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jiscmail.ac.uk%2FCOOT&data=02%7C01%7CBernhard.Lohkamp%40KI.SE%7Cdad693385b5c49025f8508d84d9c7e94%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637344682319435870&sdata=lUAUEzevJrGmRzd9A2atkKTxcZCviFoeOe1VZ6Vf0u4%3D&reserved=0,
 a mailing list hosted by 
https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.jiscmail.ac.uk%2F&data=02%7C01%7CBernhard.Lohkamp%40KI.SE%7Cdad693385b5c49025f8508d84d9c7e94%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637344682319435870&sdata=yOXEsFvd6uu6PN1FvaeBv3%2FkpkLh7ijA6eTwsinQyUg%3D&reserved=0,
 terms & conditions are available at 
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jiscmail.ac.uk%2Fpolicyandsecurity%2F&data=02%7C01%7CBernhard.Lohkamp%40KI.SE%7Cdad693385b5c49025f8508d84d9c7e94%7Cbff7eef1cf4b4f32be3da1dda043c05d%7C0%7C0%7C637344682319435870&sdata=vREOBd4xXxl9f0KZPFsLk1Gdo%2BRMMm5ykSpqidEAqi4%3D&reserved=0


--
***************************************************

Dr. Bernhard Lohkamp | Associate Professor/Lektor/Docent

Div. Molecular Structural Biology/Biomedicum D9
Dept. of Medical Biochemistry and Biophysics (MBB) |
Karolinska Institutet
SE-171 77 Stockholm
Sweden
+46 8 52487055
bernhard.lohk...@ki.se | ki.se


När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att 
behandla dina personuppgifter. Här finns information om hur KI behandlar 
personuppgifter<https://ki.se/medarbetare/integritetsskyddspolicy>.


Sending email to Karolinska Institutet (KI) will result in KI processing your 
personal data. You can read more about KI’s processing of personal data 
here<https://ki.se/en/staff/data-protection-policy>.

########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/

Reply via email to