<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 15, 2020 at 8:33 PM Jacob Faibussowitsch <<a href="mailto:jacob.fai@gmail.com">jacob.fai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><blockquote type="cite">And if one needs windows native/libraries - then dealing with windows and its quirks is unavoidable. </blockquote></div>WSL2 allows you to run windows binaries natively inside WSL I believe <a href="https://docs.microsoft.com/en-us/windows/wsl/interop#run-windows-tools-from-linux" target="_blank">https://docs.microsoft.com/en-us/windows/wsl/interop#run-windows-tools-from-linux</a> without breaking the illusion of linux.</div></blockquote><div>The website you give only says "Run Windows tools from Linux" (such as notepad), not "any windows binaries/apps".</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div> <br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Best regards,<br><br>Jacob Faibussowitsch<br>(Jacob Fai - booss - oh - vitch)<br>Cell: (312) 694-3391</div></div>
</div>
<div><br><blockquote type="cite"><div>On Jun 15, 2020, at 8:27 PM, Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>> wrote:</div><br><div><div>And if one needs windows native/libraries - then dealing with windows and its quirks is unavoidable. Its orthogonal to cygwin.<br><br>Satish<br><br>On Mon, 15 Jun 2020, Satish Balay via petsc-dev wrote:<br><br><blockquote type="cite">Sure - if WSL is sufficient for a use case that is fine. Its a simpler way to install something equivalent to a Linux VM on windows.<br><br>cygwin instructions are for building native windows binaries with MS compilers. [usable with other MS native libraries]. If this is not the use-case - its easier to just use linux - or linux equvalent like WSL<br><br>Satish<br><br><br>On Mon, 15 Jun 2020, Jacob Faibussowitsch wrote:<br><br><blockquote type="cite">Hello All,<br><br>Having recently had to assist a coworker in setting up a petsc install on windows and running into a whole host of issues with getting Cygwin and an overly aggressive windows defender (of all things) to play nice I discovered WSL, specifically WSL2. With regards to ease-of-use and install time, WSL2 was by far easier to do than Cygwin. The only out of the ordinary step required was turning on virtualization in the BIOS but this seems like it is not a common step, and after installing an ubuntu distro it was smooth sailing.<br><br>The only performance hiccup that I have so far encountered when using WSL2 is that I/O performance when pulling from the windows filesystem in /mnt/c/foo/bar is somewhat slower than just moving files within the VM itself, but in my opinion this is relatively minor. Additionally while there is no current way to use CUDA on WSL, NVIDIA has apparently already started a limited test-release for WSL2.<br><br>Currently, from the installation page it seems like Cygwin is the preferred method of installing petsc on windows but if it is this easy to get things up and running with WSL2 (and the above performance qualms are satisfied) then we should consider making it the default. <br><br>Best regards,<br><br>Jacob Faibussowitsch<br>(Jacob Fai - booss - oh - vitch)<br>Cell: (312) 694-3391<br><br><br></blockquote><br></blockquote><br></div></div></blockquote></div><br></div></div></blockquote></div></div>