<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">You are not running under a MinGW x64 shell, but a MinGW UCRT (Universal C Runtime) x64 shell instead.<div>This may work, but I’ve never tried it myself.</div><div><br></div><div>Thanks,</div><div>Pierre<br><div><br><blockquote type="cite"><div>On 7 Nov 2022, at 2:29 PM, Mohammad Ali Yaqteen <mhyaqteen@sju.ac.kr> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Do I have to follow all the steps in the first link as it says the following in step 6:<o:p></o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">$<span class="Apple-converted-space"> </span><span style="color: rgb(54, 70, 78); background-color: white;">pacman -S mingw-w64-ucrt-x86_64-gcc<o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">resolving dependencies...<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">looking for conflicting packages...<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas; color: rgb(54, 70, 78); background-color: white;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">Packages (15) mingw-w64-ucrt-x86_64-binutils-2.39-2<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-crt-git-10.0.0.r68.g6eb571448-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-gcc-libs-12.2.0-1  mingw-w64-ucrt-x86_64-gmp-6.2.1-3<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-headers-git-10.0.0.r68.g6eb571448-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-isl-0.25-1  mingw-w64-ucrt-x86_64-libiconv-1.17-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-libwinpthread-git-10.0.0.r68.g6eb571448-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-mpc-1.2.1-1  mingw-w64-ucrt-x86_64-mpfr-4.1.0.p13-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-windows-default-manifest-6.4-4<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-winpthreads-git-10.0.0.r68.g6eb571448-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-zlib-1.2.12-1  mingw-w64-ucrt-x86_64-zstd-1.5.2-2<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">            mingw-w64-ucrt-x86_64-gcc-12.2.0-1<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas; color: rgb(54, 70, 78); background-color: white;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">Total Installed Size:  397.59 MiB<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas; color: rgb(54, 70, 78); background-color: white;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">:: Proceed with installation? [Y/n]<span style="color: rgb(54, 70, 78); background-color: white;"><o:p></o:p></span></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">[... downloading and installation continues ...]<o:p></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;"><o:p> </o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">Thanks<o:p></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 10pt; font-family: Consolas;">Ali<o:p></o:p></span></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0in 0in;"><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><b>From:</b><span class="Apple-converted-space"> </span>Pierre Jolivet <<a href="mailto:pierre@joliv.et" style="color: blue; text-decoration: underline;">pierre@joliv.et</a>><span class="Apple-converted-space"> </span><br><b>Sent:</b><span class="Apple-converted-space"> </span>Monday, November 7, 2022 10:06 PM<br><b>To:</b><span class="Apple-converted-space"> </span>Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>><br><b>Cc:</b><span class="Apple-converted-space"> </span>petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" style="color: blue; text-decoration: underline;">petsc-users@mcs.anl.gov</a>><br><b>Subject:</b><span class="Apple-converted-space"> </span>Re: [petsc-users] PETSc Windows Installation<o:p></o:p></div></div></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Please, keep the list in copy.<o:p></o:p></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">You can get MSYS2 from <a href="https://www.msys2.org/" style="color: blue; text-decoration: underline;">https://www.msys2.org/</a><o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Then install the following packages: <a href="https://github.com/FreeFem/FreeFem-sources/tree/master/etc/jenkins/deployRelease#windows-system" style="color: blue; text-decoration: underline;">https://github.com/FreeFem/FreeFem-sources/tree/master/etc/jenkins/deployRelease#windows-system</a><o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Also install MS-MPI: <a href="https://www.microsoft.com/en-us/download/details.aspx?id=100593" style="color: blue; text-decoration: underline;">https://www.microsoft.com/en-us/download/details.aspx?id=100593</a><o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Configure and compile PETSc under a MSYS2 MinGW x64 shell.<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Compile your code, and copy the binary.<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Notice in my screenshot that there are two shells, the MinGW one for building PETSc.<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">The Microsoft (native one) for launching the binary.<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Thanks,<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Pierre<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><span id="cid:image001.png@01D8F2F8.5D863F80"><image001.png></span><o:p></o:p></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><br><br><o:p></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">On 7 Nov 2022, at 1:53 PM, Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>> wrote:<o:p></o:p></div></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Is there a guide for it? That would be very useful! Because I have been trying a lot of things but every now and then there is a little step that is either outdated or can’t run!<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Your help will be highly appreciated<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Thanks<span class="apple-converted-space"> </span><o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Ali<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0in 0in;"><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><b>From:</b><span class="apple-converted-space"> </span>Pierre Jolivet <<a href="mailto:pierre@joliv.et" style="color: blue; text-decoration: underline;">pierre@joliv.et</a>><span class="apple-converted-space"> </span><br><b>Sent:</b><span class="apple-converted-space"> </span>Monday, November 7, 2022 9:50 PM<br><b>To:</b><span class="apple-converted-space"> </span>Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>><br><b>Cc:</b><span class="apple-converted-space"> </span>petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" style="color: blue; text-decoration: underline;">petsc-users@mcs.anl.gov</a>><br><b>Subject:</b><span class="apple-converted-space"> </span>Re: [petsc-users] PETSc Windows Installation<o:p></o:p></div></div></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Or you can use MinGW, it’s not tricky, you don’t need to change any PETSc code, and you can ship .exe for either x86_64 (mingw-w64-x86_64-gcc) or ARM (mingw-w64-clang-aarch64-clang, without MPI).<o:p></o:p></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Thanks,<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Pierre<o:p></o:p></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><br><br><br><o:p></o:p></div></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">On 7 Nov 2022, at 1:38 PM, hamid badi <<a href="mailto:badi.hamid@gmail.com" style="color: blue; text-decoration: underline;">badi.hamid@gmail.com</a>> wrote:<o:p></o:p></div></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">You can try gcc/clang cross-compilers, it's a little but tricky, i had to change some petsc codes but it works fine.<o:p></o:p></div></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Le lun. 7 nov. 2022 à 13:30, Matthew Knepley <<a href="mailto:knepley@gmail.com" style="color: blue; text-decoration: underline;">knepley@gmail.com</a>> a écrit :<o:p></o:p></div></div></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin: 5pt 0in 5pt 4.8pt;"><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">On Mon, Nov 7, 2022 at 7:11 AM Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>> wrote:<o:p></o:p></div></div></div><div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin: 5pt 0in 5pt 4.8pt;"><div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Once I finish writing the code, the .exe file will not change. Can I make an .exe file using WSL2 and VScode?<o:p></o:p></div></div></div></div></div></blockquote><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">If you build in WSL2, it will link to system libraries. You would probably need to run in WSL2 after that. If you are planning<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">on running on native Windows, you likely need to build there.<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">  Thanks,<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">     Matt<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">  <o:p></o:p></div></div></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin: 5pt 0in 5pt 4.8pt;"><div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Thanks,<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">Ali<o:p></o:p></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0in 0in;"><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><b>From:</b><span class="apple-converted-space"> </span>Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank" style="color: blue; text-decoration: underline;">knepley@gmail.com</a>><span class="apple-converted-space"> </span><br><b>Sent:</b><span class="apple-converted-space"> </span>Monday, November 7, 2022 7:13 PM<br><b>To:</b><span class="apple-converted-space"> </span>Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>><br><b>Cc:</b><span class="apple-converted-space"> </span>petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank" style="color: blue; text-decoration: underline;">petsc-users@mcs.anl.gov</a>><br><b>Subject:</b><span class="apple-converted-space"> </span>Re: [petsc-users] PETSc Windows Installation<o:p></o:p></div></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">On Mon, Nov 7, 2022 at 12:21 AM Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>> wrote:<o:p></o:p></div></div></div><div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin: 5pt 0in 5pt 4.8pt;"><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">I have written backend code for a software company. If WSL2 and VSCode(Linux) can be called through a command line and executed at the backend, then it will be great. But if I have to install WSL2 and other required things on every other PC that will run that software, then I think I will be at a disadvantage. What do you suggest?<o:p></o:p></div></div></blockquote><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">As long as you do not change the architecture and the compiler libraries are available, you can run the executable.<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">  Thanks,<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">     Matt<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><blockquote style="border-style: none none none solid; border-left-width: 1pt; border-left-color: rgb(204, 204, 204); padding: 0in 0in 0in 6pt; margin: 5pt 0in 5pt 4.8pt;"><p class="MsoNormal" style="margin: 0in 0in 12pt; font-size: 11pt; font-family: Calibri, sans-serif;">Thank you<br>Ali<br><br>-----Original Message-----<br>From: Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank" style="color: blue; text-decoration: underline;">balay@mcs.anl.gov</a>><span class="apple-converted-space"> </span><br>Sent: Monday, November 7, 2022 12:00 AM<br>To: Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank" style="color: blue; text-decoration: underline;">knepley@gmail.com</a>><br>Cc: Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>>;<span class="apple-converted-space"> </span><a href="mailto:petsc-users@mcs.anl.gov" target="_blank" style="color: blue; text-decoration: underline;">petsc-users@mcs.anl.gov</a><br>Subject: Re: [petsc-users] PETSc Windows Installation<br><br>Likely the compilers are not setup correctly as per instructions.<br><br><a href="https://petsc.org/release/install/windows/#installation-with-microsoft-intel-windows-compilers" target="_blank" style="color: blue; text-decoration: underline;">https://petsc.org/release/install/windows/#installation-with-microsoft-intel-windows-compilers</a><br><br>And if you do not have a specific windows need - and only need IDE - perhaps a WSL2 (aka linux) install with VSCode(linux) might be the way to go.<br><br>Satish<br><br>On Sun, 6 Nov 2022, Matthew Knepley wrote:<br><br>> We need to see configure.log to see what is going on. Can you send it?<br>><span class="apple-converted-space"> </span><br>>   Thanks,<br>><span class="apple-converted-space"> </span><br>>      Matt<br>><span class="apple-converted-space"> </span><br>> On Sun, Nov 6, 2022 at 4:29 AM Mohammad Ali Yaqteen<span class="apple-converted-space"> </span><br>> <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank" style="color: blue; text-decoration: underline;">mhyaqteen@sju.ac.kr</a>><br>> wrote:<br>><span class="apple-converted-space"> </span><br>> > Dear Sir/Madam,<br>> ><br>> ><br>> ><br>> > I am installing PETSc on windows but it keeps giving me unexpected errors.<br>> > I want to use it on MS Visual Studio or Codeblocks. When I use the<span class="apple-converted-space"> </span><br>> > command on your webpage (./configure --with-cc='win32fe cl'<span class="apple-converted-space"> </span><br>> > --with-fc='win32fe ifort' --with-cxx='win32fe cl' --with-mpi=0<span class="apple-converted-space"> </span><br>> > --download-fblaslapack), I get the following error message:<br>> ><br>> ><br>> ><br>> > $ ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort'<br>> > --with-cxx='win32fe cl' --with-mpi=0 --download-fblaslapack<br>> ><br>> ><br>> > ====================================================================<br>> > =========================<br>> ><br>> >                          Configuring PETSc to compile on your system<br>> ><br>> ><br>> > ====================================================================<br>> > =========================<br>> ><br>> > TESTING: checkCCompiler from<br>> > config.setCompilers(config/BuildSystem/config/setCompilers.py:1341)*<br>> > ********************************************************************<br>> > **********<br>> ><br>> >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for<br>> > details):<br>> ><br>> ><br>> > --------------------------------------------------------------------<br>> > -----------<br>> ><br>> > C compiler you provided with -with-cc=win32fe cl cannot be found or<span class="apple-converted-space"> </span><br>> > does not work.<br>> ><br>> > Cannot compile/link C with<br>> > /home/SEJONG/petsc-3.18.1/lib/petsc/bin/win32fe/win32fe cl.<br>> ><br>> ><br>> ><br>> > Kindly look into this problem! Your prompt response will highly be<span class="apple-converted-space"> </span><br>> > appreciated<br>> ><br>> ><br>> ><br>> > Thank you<br>> ><br>> > Ali<br>> ><br>><span class="apple-converted-space"> </span><br>><span class="apple-converted-space"> </span><br>><span class="apple-converted-space"> </span><o:p></o:p></p></blockquote></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><br clear="all"><o:p></o:p></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">--<o:p></o:p></div></div><div><div><div><div><div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank" style="color: blue; text-decoration: underline;">https://www.cse.buffalo.edu/~knepley/</a><o:p></o:p></div></div></div></div></div></div></div></div></div></div></div></div></div></blockquote></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><br clear="all"><o:p></o:p></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">--<span class="apple-converted-space"> </span><o:p></o:p></div></div><div><div><div><div><div><div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div></div><div><div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank" style="color: blue; text-decoration: underline;">https://www.cse.buffalo.edu/~knepley/</a><o:p></o:p></div></div></div></div></div></div></div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote></div><div style="margin: 0in; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div></div></div></blockquote></div><br></div></body></html>