Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
> On 6 Dec 2022, at 7:50 PM, Singh, Rajesh K wrote: > > Hi Pierre, > > Thank you again for prompt response. > > 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 > >Where should I add these FLAGS? In make file or somewhere else. On the ./configure command line. > I also followed steps suggested by Sathish. I got errors. > > Sing***@WE* MINGW64 ~/petsc-3.18.2/src/snes/tutorials > $ mpiexe -n 2 ex5f90.exe > bash: mpiexe: command not found Either add Microsoft MPI to your path, or use /C/Program\ Files/Microsoft\ MPI/Bin/mpiexec.exe instead of mpiexe Thanks, Pierre > Then I tried command > > mpif90.exe -n 2 ./ex5f90.exe > > I received many errors. > > Your helps for fixing these issue would be appreciated. > > Thanks, > Rajesh > > > > > > From: Pierre Jolivet > Sent: Tuesday, December 6, 2022 12:01 AM > To: petsc-users > Cc: Singh, Rajesh K > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > > On 6 Dec 2022, at 6:43 AM, Satish Balay <mailto:ba...@mcs.anl.gov>> wrote: > > The build log looks fine. Its not clear why these warnings [and > errors] are coming up in make check [while there are no such warnings > in the build]. > > 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 > 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. > But I agree with Satish, the build looks good otherwise and should work. > I made the necessary changes to Sowing, I hope I’ll be able to finish the MR > (https://gitlab.com/petsc/petsc/-/merge_requests/5903/ > <https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fpetsc%2Fpetsc%2F-%2Fmerge_requests%2F5903%2F=05%7C01%7Crajesh.singh%40pnnl.gov%7Cf969bc9a874347cccf5408dad7601bee%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638059108381044976%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=%2Fk%2BlOijLXiL8Lf0O82B2naOW8cDEIFvWwjNB2SG%2BfpE%3D=0>) > by the end of the day so you can switch back to using the repository, if > need be. > > Thanks, > Pierre > > > Since you are using PETSc fromfortran - Can you try compiling/running > a test manually and see if that works. > > cd src/snes/tutorials > make ex5f90 > ./ex5f90 > mpiexec -n 2 ./ex5f90 > > Satish > > On Tue, 6 Dec 2022, Singh, Rajesh K wrote: > > > Hi Satish, > > 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. > > Regards, > Rajesh > > -----Original Message- > From: Satish Balay mailto:ba...@mcs.anl.gov>> > Sent: Monday, December 5, 2022 6:53 PM > To: Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> > Cc: Pierre Jolivet mailto:pie...@joliv.et>>; > petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov> > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > Can you send corresponding configure.log and make.log? [should be in > PETSC_DIR/PETSC_ARCH/lib/petsc/conf > > Also what is your requirement wrt using PETSc on windows? > - need to link with other MS compiler libraries? > - Can you use WSL? > > Our primary instructions for windows usage is with MS/Intel compilers [with > cygwin tools] not MSYS2. > > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpetsc.org%2Frelease%2Finstall%2Fwindows%2Fdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=hpyNWLZfFlS6NgV5ehRZ0EwyCnkrJw4yYT0HBvrVJF8%3Dreserved=0 > > But As Pierre mentioned - MSYS2 should also work. > > Satish > > On Mon, 5 Dec 2022, Singh, Rajesh K via petsc-users wrote: > > > Hi Pierre, > > I got f
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
Hi Pierre, Thank you again for prompt response. 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 Where should I add these FLAGS? In make file or somewhere else. I also followed steps suggested by Sathish. I got errors. Sing***@WE* MINGW64 ~/petsc-3.18.2/src/snes/tutorials $ mpiexe -n 2 ex5f90.exe bash: mpiexe: command not found Then I tried command mpif90.exe -n 2 ./ex5f90.exe I received many errors. Your helps for fixing these issue would be appreciated. Thanks, Rajesh From: Pierre Jolivet Sent: Tuesday, December 6, 2022 12:01 AM To: petsc-users Cc: Singh, Rajesh K Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers On 6 Dec 2022, at 6:43 AM, Satish Balay mailto:ba...@mcs.anl.gov>> wrote: The build log looks fine. Its not clear why these warnings [and errors] are coming up in make check [while there are no such warnings in the build]. 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 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. But I agree with Satish, the build looks good otherwise and should work. I made the necessary changes to Sowing, I hope I'll be able to finish the MR (https://gitlab.com/petsc/petsc/-/merge_requests/5903/<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitlab.com%2Fpetsc%2Fpetsc%2F-%2Fmerge_requests%2F5903%2F=05%7C01%7Crajesh.singh%40pnnl.gov%7Cf969bc9a874347cccf5408dad7601bee%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638059108381044976%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=%2Fk%2BlOijLXiL8Lf0O82B2naOW8cDEIFvWwjNB2SG%2BfpE%3D=0>) by the end of the day so you can switch back to using the repository, if need be. Thanks, Pierre Since you are using PETSc fromfortran - Can you try compiling/running a test manually and see if that works. cd src/snes/tutorials make ex5f90 ./ex5f90 mpiexec -n 2 ./ex5f90 Satish On Tue, 6 Dec 2022, Singh, Rajesh K wrote: Hi Satish, 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. Regards, Rajesh -Original Message- From: Satish Balay mailto:ba...@mcs.anl.gov>> Sent: Monday, December 5, 2022 6:53 PM To: Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> Cc: Pierre Jolivet mailto:pie...@joliv.et>>; petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers Can you send corresponding configure.log and make.log? [should be in PETSC_DIR/PETSC_ARCH/lib/petsc/conf Also what is your requirement wrt using PETSc on windows? - need to link with other MS compiler libraries? - Can you use WSL? Our primary instructions for windows usage is with MS/Intel compilers [with cygwin tools] not MSYS2. https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpetsc.org%2Frelease%2Finstall%2Fwindows%2Fdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=hpyNWLZfFlS6NgV5ehRZ0EwyCnkrJw4yYT0HBvrVJF8%3Dreserved=0 But As Pierre mentioned - MSYS2 should also work. Satish On Mon, 5 Dec 2022, Singh, Rajesh K via petsc-users wrote: Hi Pierre, I got following error while compiling PETSc. make all check [cid:image001.png@01D908C1.7267DCE0] Help for this would be appreciated. Thanks, Rajesh From: Pierre Jolivet mailto:pie...@joliv.et>> Sent: Monday, December 5, 2022 1:15 PM To: Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K mailto:rajesh.si...@pnnl.gov<mailto:rajesh.si...@pnnl.gov%3cmailto:rajesh.si...@pnnl.gov>>> wrote: Hi Pierre, Thank you so much for prompt response. I will run FORTRAN based code with PETSc. Therefore I guess I will need Fortran binding. OK, so, two things: 1) as said earlier, Sowing is broken with MinGW, but I'm sadly one of the f
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
> On 6 Dec 2022, at 6:43 AM, Satish Balay wrote: > > The build log looks fine. Its not clear why these warnings [and > errors] are coming up in make check [while there are no such warnings > in the build]. 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 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. But I agree with Satish, the build looks good otherwise and should work. I made the necessary changes to Sowing, I hope I’ll be able to finish the MR (https://gitlab.com/petsc/petsc/-/merge_requests/5903/) by the end of the day so you can switch back to using the repository, if need be. Thanks, Pierre > Since you are using PETSc fromfortran - Can you try compiling/running > a test manually and see if that works. > > cd src/snes/tutorials > make ex5f90 > ./ex5f90 > mpiexec -n 2 ./ex5f90 > > Satish > > On Tue, 6 Dec 2022, Singh, Rajesh K wrote: > >> Hi Satish, >> >> 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. >> >> Regards, >> Rajesh >> >> -Original Message- >> From: Satish Balay >> Sent: Monday, December 5, 2022 6:53 PM >> To: Singh, Rajesh K >> Cc: Pierre Jolivet ; petsc-users@mcs.anl.gov >> Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers >> >> Can you send corresponding configure.log and make.log? [should be in >> PETSC_DIR/PETSC_ARCH/lib/petsc/conf >> >> Also what is your requirement wrt using PETSc on windows? >> - need to link with other MS compiler libraries? >> - Can you use WSL? >> >> Our primary instructions for windows usage is with MS/Intel compilers [with >> cygwin tools] not MSYS2. >> >> https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpetsc.org%2Frelease%2Finstall%2Fwindows%2Fdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=hpyNWLZfFlS6NgV5ehRZ0EwyCnkrJw4yYT0HBvrVJF8%3Dreserved=0 >> >> But As Pierre mentioned - MSYS2 should also work. >> >> Satish >> >> On Mon, 5 Dec 2022, Singh, Rajesh K via petsc-users wrote: >> >>> Hi Pierre, >>> >>> I got following error while compiling PETSc. >>> >>> make all check >>> >>> [cid:image001.png@01D908C1.7267DCE0] >>> >>> Help for this would be appreciated. >>> >>> Thanks, >>> Rajesh >>> >>> From: Pierre Jolivet >>> Sent: Monday, December 5, 2022 1:15 PM >>> To: Singh, Rajesh K >>> Cc: petsc-users@mcs.anl.gov >>> Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers >>> >>> >>> On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K >>> mailto:rajesh.si...@pnnl.gov>> wrote: >>> >>> Hi Pierre, >>> >>> Thank you so much for prompt response. I will run FORTRAN based code with >>> PETSc. Therefore I guess I will need Fortran binding. >>> >>> OK, so, two things: >>> 1) as said earlier, Sowing is broken with MinGW, but I'm sadly one of >>> the few PETSc people using this environment, so I'm one of the few who >>> can fix it, but I can't tell you when I'll be able to deliver >>> 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.gzdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=3gU1u2WRKKvNlBMbq%2FL6RZwvp%2FcRY%2BcLx5i9gJbp9nI%3Dreserved=0<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Frelease-snapshots%2Fpetsc-3.18.2.tar.gzdata=05%7C01%7Crajes
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
The build log looks fine. Its not clear why these warnings [and errors] are coming up in make check [while there are no such warnings in the build]. Since you are using PETSc fromfortran - Can you try compiling/running a test manually and see if that works. cd src/snes/tutorials make ex5f90 ./ex5f90 mpiexec -n 2 ./ex5f90 Satish On Tue, 6 Dec 2022, Singh, Rajesh K wrote: > Hi Satish, > > 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. > > Regards, > Rajesh > > -Original Message- > From: Satish Balay > Sent: Monday, December 5, 2022 6:53 PM > To: Singh, Rajesh K > Cc: Pierre Jolivet ; petsc-users@mcs.anl.gov > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > Can you send corresponding configure.log and make.log? [should be in > PETSC_DIR/PETSC_ARCH/lib/petsc/conf > > Also what is your requirement wrt using PETSc on windows? > - need to link with other MS compiler libraries? > - Can you use WSL? > > Our primary instructions for windows usage is with MS/Intel compilers [with > cygwin tools] not MSYS2. > > https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpetsc.org%2Frelease%2Finstall%2Fwindows%2Fdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=hpyNWLZfFlS6NgV5ehRZ0EwyCnkrJw4yYT0HBvrVJF8%3Dreserved=0 > > But As Pierre mentioned - MSYS2 should also work. > > Satish > > On Mon, 5 Dec 2022, Singh, Rajesh K via petsc-users wrote: > > > Hi Pierre, > > > > I got following error while compiling PETSc. > > > > make all check > > > > [cid:image001.png@01D908C1.7267DCE0] > > > > Help for this would be appreciated. > > > > Thanks, > > Rajesh > > > > From: Pierre Jolivet > > Sent: Monday, December 5, 2022 1:15 PM > > To: Singh, Rajesh K > > Cc: petsc-users@mcs.anl.gov > > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > > > > > On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K > > mailto:rajesh.si...@pnnl.gov>> wrote: > > > > Hi Pierre, > > > > Thank you so much for prompt response. I will run FORTRAN based code with > > PETSc. Therefore I guess I will need Fortran binding. > > > > OK, so, two things: > > 1) as said earlier, Sowing is broken with MinGW, but I'm sadly one of > > the few PETSc people using this environment, so I'm one of the few who > > can fix it, but I can't tell you when I'll be able to deliver > > 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.gzdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=3gU1u2WRKKvNlBMbq%2FL6RZwvp%2FcRY%2BcLx5i9gJbp9nI%3Dreserved=0<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Frelease-snapshots%2Fpetsc-3.18.2.tar.gzdata=05%7C01%7Crajesh.singh%40pnnl.gov%7Ccf1975f0691a4a6f77a808dad734eec8%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058922771517675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Cs data=3gU 1u2WRKKvNlBMbq%2FL6RZwvp%2FcRY%2BcLx5i9gJbp9nI%3Dreserved=0>? > > > > Thanks, > > Pierre > > > > > > Regards > > Rajesh > > > > From: Pierre Jolivet mailto:pie...@joliv.et>> > > Sent: Monday, December 5, 2022 12:41 PM > > To: Singh, Rajesh K > > mailto:rajesh.si...@pnnl.gov>> > > Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> > > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > > > Check twice before you click! This email originated from outside PNNL. > > > > Hello Rajesh, > > Do you need Fortran bindings? > > Otherwise, ./configure --with-fortran-bindings=0 should do the trick. > > Sowing compilation is broken with MinGW compiler. > > If you need Fortran bindings, we could try to fix it. > > > > Thanks, > > Pierre > > > > > > > > On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users > > mailto:petsc-users@mcs.anl.gov>> wrote: > > > > Dear All: > > > > 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. > > > > > > > > Help for resolving this issue would be really appricaited. > > > > Thanks, > > Rajesh > > > > > >
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
Can you send corresponding configure.log and make.log? [should be in PETSC_DIR/PETSC_ARCH/lib/petsc/conf Also what is your requirement wrt using PETSc on windows? - need to link with other MS compiler libraries? - Can you use WSL? Our primary instructions for windows usage is with MS/Intel compilers [with cygwin tools] not MSYS2. https://petsc.org/release/install/windows/ But As Pierre mentioned - MSYS2 should also work. Satish On Mon, 5 Dec 2022, Singh, Rajesh K via petsc-users wrote: > Hi Pierre, > > I got following error while compiling PETSc. > > make all check > > [cid:image001.png@01D908C1.7267DCE0] > > Help for this would be appreciated. > > Thanks, > Rajesh > > From: Pierre Jolivet > Sent: Monday, December 5, 2022 1:15 PM > To: Singh, Rajesh K > Cc: petsc-users@mcs.anl.gov > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > > On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K > mailto:rajesh.si...@pnnl.gov>> wrote: > > Hi Pierre, > > Thank you so much for prompt response. I will run FORTRAN based code with > PETSc. Therefore I guess I will need Fortran binding. > > OK, so, two things: > 1) as said earlier, Sowing is broken with MinGW, but I'm sadly one of the few > PETSc people using this environment, so I'm one of the few who can fix it, > but I can't tell you when I'll be able to deliver > 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://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.18.2.tar.gz<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Frelease-snapshots%2Fpetsc-3.18.2.tar.gz=05%7C01%7Crajesh.singh%40pnnl.gov%7C6ca621eb7f004c35be5f08dad705d997%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058718442399693%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=grwrIpVDLyzREtA6zRERjN%2FkqaCxkWY51Ade5WtSbTU%3D=0>? > > Thanks, > Pierre > > > Regards > Rajesh > > From: Pierre Jolivet mailto:pie...@joliv.et>> > Sent: Monday, December 5, 2022 12:41 PM > To: Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> > Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > Check twice before you click! This email originated from outside PNNL. > > Hello Rajesh, > Do you need Fortran bindings? > Otherwise, ./configure --with-fortran-bindings=0 should do the trick. > Sowing compilation is broken with MinGW compiler. > If you need Fortran bindings, we could try to fix it. > > Thanks, > Pierre > > > > On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users > mailto:petsc-users@mcs.anl.gov>> wrote: > > Dear All: > > 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. > > > > Help for resolving this issue would be really appricaited. > > Thanks, > Rajesh > >
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
Hi Pierre, I got following error while compiling PETSc. make all check [cid:image001.png@01D908C1.7267DCE0] Help for this would be appreciated. Thanks, Rajesh From: Pierre Jolivet Sent: Monday, December 5, 2022 1:15 PM To: Singh, Rajesh K Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> wrote: Hi Pierre, Thank you so much for prompt response. I will run FORTRAN based code with PETSc. Therefore I guess I will need Fortran binding. OK, so, two things: 1) as said earlier, Sowing is broken with MinGW, but I'm sadly one of the few PETSc people using this environment, so I'm one of the few who can fix it, but I can't tell you when I'll be able to deliver 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://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.18.2.tar.gz<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fftp.mcs.anl.gov%2Fpub%2Fpetsc%2Frelease-snapshots%2Fpetsc-3.18.2.tar.gz=05%7C01%7Crajesh.singh%40pnnl.gov%7C6ca621eb7f004c35be5f08dad705d997%7Cd6faa5f90ae240338c0130048a38deeb%7C0%7C0%7C638058718442399693%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=grwrIpVDLyzREtA6zRERjN%2FkqaCxkWY51Ade5WtSbTU%3D=0>? Thanks, Pierre Regards Rajesh From: Pierre Jolivet mailto:pie...@joliv.et>> Sent: Monday, December 5, 2022 12:41 PM To: Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> Cc: petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers Check twice before you click! This email originated from outside PNNL. Hello Rajesh, Do you need Fortran bindings? Otherwise, ./configure --with-fortran-bindings=0 should do the trick. Sowing compilation is broken with MinGW compiler. If you need Fortran bindings, we could try to fix it. Thanks, Pierre On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Dear All: 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. Help for resolving this issue would be really appricaited. Thanks, Rajesh
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
> On 5 Dec 2022, at 9:50 PM, Singh, Rajesh K wrote: > > Hi Pierre, > > Thank you so much for prompt response. I will run FORTRAN based code with > PETSc. Therefore I guess I will need Fortran binding. OK, so, two things: 1) as said earlier, Sowing is broken with MinGW, but I’m sadly one of the few PETSc people using this environment, so I’m one of the few who can fix it, but I can’t tell you when I’ll be able to deliver 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://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.18.2.tar.gz? Thanks, Pierre > Regards > Rajesh > > From: Pierre Jolivet mailto:pie...@joliv.et>> > Sent: Monday, December 5, 2022 12:41 PM > To: Singh, Rajesh K mailto:rajesh.si...@pnnl.gov>> > Cc: petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov> > Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers > > Check twice before you click! This email originated from outside PNNL. > > Hello Rajesh, > Do you need Fortran bindings? > Otherwise, ./configure --with-fortran-bindings=0 should do the trick. > Sowing compilation is broken with MinGW compiler. > If you need Fortran bindings, we could try to fix it. > > Thanks, > Pierre > > > On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users > mailto:petsc-users@mcs.anl.gov>> wrote: > > Dear All: > > 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. > > > > Help for resolving this issue would be really appricaited. > > Thanks, > Rajesh
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
Hi Pierre, Thank you so much for prompt response. I will run FORTRAN based code with PETSc. Therefore I guess I will need Fortran binding. Regards Rajesh From: Pierre Jolivet Sent: Monday, December 5, 2022 12:41 PM To: Singh, Rajesh K Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Installation With MSYS2 and MinGW Compilers Check twice before you click! This email originated from outside PNNL. Hello Rajesh, Do you need Fortran bindings? Otherwise, ./configure --with-fortran-bindings=0 should do the trick. Sowing compilation is broken with MinGW compiler. If you need Fortran bindings, we could try to fix it. Thanks, Pierre On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Dear All: 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. Help for resolving this issue would be really appricaited. Thanks, Rajesh
Re: [petsc-users] Installation With MSYS2 and MinGW Compilers
Hello Rajesh, Do you need Fortran bindings? Otherwise, ./configure --with-fortran-bindings=0 should do the trick. Sowing compilation is broken with MinGW compiler. If you need Fortran bindings, we could try to fix it. Thanks, Pierre > On 5 Dec 2022, at 9:22 PM, Singh, Rajesh K via petsc-users > wrote: > > Dear All: > > 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. > > > > Help for resolving this issue would be really appricaited. > > Thanks, > Rajesh