[petsc-dev] Is there any possibility to compile PETCs directly on Windows?

Xinghua Hao xinghua.fgsr at gmail.com
Tue Jul 16 17:27:15 CDT 2019

Your answer is very clear to me.

Thanks a lot!


Balay, Satish <balay at mcs.anl.gov> 于2019年7月15日周一 下午7:56写道:

> We use cygwin as build tools for our native windows build - i.e using
> MS/Intel windows compilers.
> Our build tools are unix centric [here we use cygwin tools] - but
> PETSc code compiles and builds fine as native binaries.
> Satish
> On Mon, 15 Jul 2019, Xinghua Hao via petsc-dev wrote:
> > We used to install it within WSL(Windows Subsystem for Linux)  and I just
> > transferred to a Docker container environment. It works pretty well on
> both
> > of this two. So I believe using any other kind of intermediate level(like
> > Cygwin) to simulate a Linux-like environment would do nothing better.
> >
> > The only question(may sound a little stupid) I am still curious about is
> > that why can’t we directly compile PETCs on Windows? Since we write
> PETCs in
> > languages compilable cross-platform, this should not be where the
> problems
> > come from. So could you offer me some examples which show the PETCs is
> > heavily depended on Linux environment? Some high-level ideas or
> > instructions guiding me to look for them myself are also appreciated.
> What’s
> > more, is it possible for us to modify the source code to compile it
> > directly on Windows? Is it practical?
> >
> > Thanks,
> > Xinghua
> >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20190716/09953088/attachment.html>

More information about the petsc-dev mailing list