<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;"><br><div><blockquote type="cite"><div>On 6 Dec 2022, at 6:43 AM, Satish Balay <balay@mcs.anl.gov> wrote:</div><br class="Apple-interchange-newline"><div><div>The build log looks fine. Its not clear why these warnings [and<br>errors] are coming up in make check [while there are no such warnings<br>in the build].<br></div></div></blockquote><div><br></div><div>1) MinGW does not handle %td and %zu, so a default build triggers tons of warnings. Rajesh, you can add CFLAGS="-Wno-format-extra-args -Wno-stringop-overflow -Wformat=0" CXXFLAGS="-Wno-format-extra-args -Wno-stringop-overflow -Wformat=0" to have much fewer gibberish printed on screen</div><div>2) I’m able to reproduce the “Circular […] dependency dropped.” warnings after doing two successive make, but I know too little about Fortran (or Sowing?) to understand what could trigger this.</div><div>But I agree with Satish, the build looks good otherwise and should work.</div><div>I made the necessary changes to Sowing, I hope I’ll be able to finish the MR (<a href="https://gitlab.com/petsc/petsc/-/merge_requests/5903/">https://gitlab.com/petsc/petsc/-/merge_requests/5903/</a>) by the end of the day so you can switch back to using the repository, if need be.</div><div><br></div><div>Thanks,</div><div>Pierre</div><br><blockquote type="cite"><div><div>Since you are using PETSc fromfortran - Can you try compiling/running<br>a test manually and see if that works.<br><br>cd src/snes/tutorials<br>make ex5f90<br>./ex5f90<br>mpiexec -n 2 ./ex5f90<br><br>Satish<br><br>On Tue, 6 Dec 2022, Singh, Rajesh K wrote:<br><br><blockquote type="cite">Hi Satish,<br><br>Thank you so much for offering help for installing PETSc in MSYS2 and mingw64. Attached are configure.log and make.log files. I am newb in this. Please let me know if you need further information. I will be glad to provide. <br><br>Regards,<br>Rajesh<br><br>-----Original Message-----<br>From: Satish Balay <balay@mcs.anl.gov> <br>Sent: Monday, December 5, 2022 6:53 PM<br>To: Singh, Rajesh K <rajesh.singh@pnnl.gov><br>Cc: Pierre Jolivet <pierre@joliv.et>; petsc-users@mcs.anl.gov<br>Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers<br><br>Can you send corresponding configure.log and make.log? [should be in PETSC_DIR/PETSC_ARCH/lib/petsc/conf<br><br>Also what is your requirement wrt using PETSc on windows?<br>- need to link with other MS compiler libraries?<br>- Can you use WSL?<br><br>Our primary instructions for windows usage is with MS/Intel compilers [with cygwin tools] not MSYS2. <br><br>https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpetsc.org%2Frelease%2Finstall%2Fwindows%2F&data=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=hpyNWLZfFlS6NgV5ehRZ0EwyCnkrJw4yYT0HBvrVJF8%3D&reserved=0<br><br>But As Pierre mentioned - MSYS2 should also work.<br><br>Satish<br><br>On Mon, 5 Dec 2022, Singh, Rajesh K via petsc-users wrote:<br><br><blockquote type="cite">Hi Pierre,<br><br>I got following error while compiling PETSc.<br><br>make all check<br><br>[cid:image001.png@01D908C1.7267DCE0]<br><br>Help for this would be appreciated.<br><br>Thanks,<br>Rajesh<br><br>From: Pierre Jolivet <pierre@joliv.et><br>Sent: Monday, December 5, 2022 1:15 PM<br>To: Singh, Rajesh K <rajesh.singh@pnnl.gov><br>Cc: petsc-users@mcs.anl.gov<br>Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers<br><br><br>On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K <rajesh.singh@pnnl.gov<mailto:rajesh.singh@pnnl.gov>> wrote:<br><br>Hi Pierre,<br><br>Thank you so much for prompt response. I will run FORTRAN based code with PETSc. Therefore I guess I will need Fortran binding.<br><br>OK, so, two things:<br>1) as said earlier, Sowing is broken with MinGW, but I'm sadly one of <br>the few PETSc people using this environment, so I'm one of the few who <br>can fix it, but I can't tell you when I'll be able to deliver<br>2) if you stick to an official tarball, the Fortran bindings should be shipped in. While I work on 1), could you stick to, e.g., https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Frelease-snapshots%2Fpetsc-3.18.2.tar.gz&data=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3gU1u2WRKKvNlBMbq%2FL6RZwvp%2FcRY%2BcLx5i9gJbp9nI%3D&reserved=0<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Frelease-snapshots%2Fpetsc-3.18.2.tar.gz&data=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3gU<br></blockquote></blockquote> 1u2WRKKvNlBMbq%2FL6RZwvp%2FcRY%2BcLx5i9gJbp9nI%3D&reserved=0>?<br><blockquote type="cite"><blockquote type="cite"><br>Thanks,<br>Pierre<br><br><br>Regards<br>Rajesh<br><br>From: Pierre Jolivet <pierre@joliv.et<mailto:pierre@joliv.et>><br>Sent: Monday, December 5, 2022 12:41 PM<br>To: Singh, Rajesh K <br><rajesh.singh@pnnl.gov<mailto:rajesh.singh@pnnl.gov>><br>Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov><br>Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers<br><br>Check twice before you click! This email originated from outside PNNL.<br><br>Hello Rajesh,<br>Do you need Fortran bindings?<br>Otherwise, ./configure --with-fortran-bindings=0 should do the trick.<br>Sowing compilation is broken with MinGW compiler.<br>If you need Fortran bindings, we could try to fix it.<br><br>Thanks,<br>Pierre<br><br><br><br>On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users <petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>> wrote:<br><br>Dear All:<br><br>I am having diffisulty to install PETSC on the window system. I went through the the steps esplained in the web site and got following error.<br><br><image001.png><br><br>Help for resolving this issue would be really appricaited.<br><br>Thanks,<br>Rajesh<br><br><br></blockquote><br><br></blockquote></div></div></blockquote></div><br></body></html>