<div dir="ltr"><div>Hi all,</div><div><br></div><div>I'd like to try and install PETSc on Windows (even though I have been forewarned that it is better to simply install it on a unix system).</div><div><br></div><div>Some information about my system:</div><div>* Windows 10 Pro, 64 bit </div><div>* latest Cygwin with make, gcc, g++, gfortran installed</div><div><br></div><div>The PETSc installation instructions suggest that I run the following command:</div><div><br></div><div>    ./configure --with-cc="win32fe cl"  --with-fc="win32fe ifort" --with-cxx="win32fe\ cl" --download-fblaslapack\</div><div><br></div><div>However, that results in the following error:</div><div><br></div><div>    C compiler you provided with -with-cc=win32fe cl does not work.</div><div>    Cannot compile C with /cygdrive/a/petsc/bin/win32fe/win32fe cl.</div><div><br></div><div><br></div><div>The answer to this stackexchange question: <a href="http://stackoverflow.com/questions/30229620/petsc-build-error-c-compiler-does-not-work">http://stackoverflow.com/questions/30229620/petsc-build-error-c-compiler-does-not-work</a></div><div><br></div><div>recommends the following command instead (with escaped whitespace):</div><div><br></div><div>    ./configure --with-cc="win32fe\ cl"  --with-fc="win32fe\ ifort" --with-cxx="win32fe\ cl" --download-fblaslapack</div><div><br></div><div>Running that command results in the following error (note no second line in error):</div><div><br></div><div>    C compiler you provided with -with-cc=win32fe\ cl does not work.</div><div><br></div><div>In both cases, the configure.log output only contains (I do not use Chinese characters, these were in the file):</div><div><br></div><div>> 㰡祳汭湩㹫arch-mswin-c-debug/lib/petsc/conf/configure.log </div><div><br></div><div>What should I do? Also, do `gcc`/`g++` compiled programs not work on Windows? I ask because if I simply run the suggested command in the "Quick Installation" guide, using `gcc` and `g++`; then I don't get compilation errors. Would it be okay to simply use those compilers then?</div><div><br></div><div>Kind regards,</div><div>Brian</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>