Hi Mohammad, 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:
http://www.zdnet.com/article/ubuntu-and-bash-arrive-on-windows-10/ Best regards, Richard On Sun, Feb 5, 2017 at 8:51 PM, Mohammad S Dodaran <[email protected]> wrote: > Dear Petsc developers, > > I am trying to install Petsc on windows 10 but I have a problem. I > installed MS-MPI v8 <http://go.microsoft.com/FWLink/p/?LinkID=389556> > separately > and in the configure options I use > > --with-mpi-include="/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ > SDKs/MPI/Include" --with-mpi-lib="/cygdrive/c/Program\ Files\ > \(x86\)/Microsoft\ SDKs/MPI/Lib/x64/msmpi.lib" > > > But it gives error which says: > > *************************************************************** > ERROR in COMMAND LINE ARGUMENT to ./configure > ------------------------------------------------------------ > ------------------- > Invalid directory: [/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ > SDKs/MPI/Include for key with-mpi-include > > How should I solve it? > > Mohammad >
