[petsc-dev] alternatives to cygwin on Windows with PETSc

Balay, Satish balay at mcs.anl.gov
Mon Jul 1 16:43:40 CDT 2019

This discussion comes up each time a user has issues with cygwin.

For any alternate system, we would have to redo win32fe functionality for that system.

  *   Marshal gcc type compiler options to Cl
  *   Convert paths in some of these options from this system ( for ex cygwin paths) to Windows paths.
  *   Have python that works with system path notation.
  *   Have the ability equivalent to Windows process spawning cygwin process spawning Windows process. Wsl1 lacked this. Don't know about wsl2..

Current issue with cygwin was some bash config issue. Even if we manage to port build tools to wsl2 or alternative system,  such sub-tool issues can still come up in the new system.


From: Smith, Barry F. via petsc-dev<mailto:petsc-dev at mcs.anl.gov>
Sent: Monday, July 1, 2019 2:17 PM
To: Mills, Richard Tran<mailto:rtmills at anl.gov>
Cc: petsc-dev at mcs.anl.gov<mailto:petsc-dev at mcs.anl.gov>
Subject: Re: [petsc-dev] alternatives to cygwin on Windows with PETSc


     Thanks. The important thing is to be able to build PETSc for Microsoft and Intel Windows compilers (so that users can use the libraries from the Microsoft development system as a "regular" Windows users).


> On Jul 1, 2019, at 3:59 PM, Mills, Richard Tran via petsc-dev <petsc-dev at mcs.anl.gov> wrote:
> I played around with WSL1 quite some time ago and it seemed pretty promising. I have not tried WSL2, but I'm guessing that it may be the best option for building PETSc on a Windows 10 machine. I've got a Windows 10 machine (it basically just runs my television/media center) and I'll give it a try on there.
> --Richard
> On 6/29/19 8:11 PM, Jed Brown via petsc-dev wrote:
>> "Smith, Barry F. via petsc-dev" <petsc-dev at mcs.anl.gov>
>>  writes:
>>>   Does it make sense to recommend/suggest  git bash for Windows as an alternative/in addition to Cygwin?
>> I would love to be able to recommend git-bash and/or WSL2 (which now
>> includes a full Linux kernel).  I don't have a system on which to test,
>> but it should be possible to make it work (if it doesn't already).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190701/5f2c1424/attachment.html>

More information about the petsc-dev mailing list