<div dir="ltr"><div><div><div>Hi Mohammad,<br><br></div>Have you considered not using Cygwin and instead using the beta "Windows Subsystem for Linux" that provides a layer for running ELF binaries and using Ubuntu packages?  I've not tried building PETSc with it yet, but I've been impressed at how well it works when I have tried other things.  Quick Google search comes up with this page that briefly talks about it and how to enable it:<br><br>  <a href="http://www.zdnet.com/article/ubuntu-and-bash-arrive-on-windows-10/">http://www.zdnet.com/article/ubuntu-and-bash-arrive-on-windows-10/</a><br><br></div>Best regards,<br></div>Richard<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 5, 2017 at 8:51 PM, Mohammad S Dodaran <span dir="ltr"><<a href="mailto:mdodar1@lsu.edu" target="_blank">mdodar1@lsu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_1562701193628431216divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>Dear Petsc developers,</p>
<p>I am trying to install Petsc on windows 10 but I have a problem. I installed  <a href="http://go.microsoft.com/FWLink/p/?LinkID=389556" style="text-decoration:none;color:rgb(51,144,177);font-family:"Segoe UI","Lucida Grande",Verdana,Arial,Helvetica,sans-serif;font-size:13px" target="_blank">MS-MPI
 v8</a> separately and in the configure options I use </p>
<p><span><span>--with-mpi-include="/cygdrive/<wbr>c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include" --with-mpi-lib="/cygdrive/c/<wbr>Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Lib/x64/msmpi.lib"</span></span></p>
<p><span></span><br>
</p>
<p><span>But it gives error which says:</span></p>
<p><span></span></p>
<div>******************************<wbr>******************************<wbr>***</div>
<div>                ERROR in COMMAND LINE ARGUMENT to ./configure</div>
<div>------------------------------<wbr>------------------------------<wbr>-------------------</div>
<div>Invalid directory: [/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include for key with-mpi-include</div>
<br>

<p></p>
<p>How should I solve it?</p><span class="HOEnZb"><font color="#888888">
<p>Mohammad</p>
</font></span></div>
</div>

</blockquote></div><br></div>