<div dir="ltr">It is in the directory you executed configure in.<div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 31, 2022 at 10:41 PM Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr">mhyaqteen@sju.ac.kr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From where can I get that? <br>
<br>
Ali<br>
<br>
-----Original Message-----<br>
From: Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>> <br>
Sent: Tuesday, November 1, 2022 11:36 AM<br>
To: Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a>><br>
Cc: petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><br>
Subject: RE: [petsc-users] PETSc Windows Installation<br>
<br>
you'll have to send configure.log for this failure<br>
<br>
Satish<br>
<br>
<br>
On Tue, 1 Nov 2022, Mohammad Ali Yaqteen wrote:<br>
<br>
> I have checked the required Cygwin openmpi libraries and they are all installed. When I run ./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90, it returns:<br>
> <br>
> $ ./configure --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 <br>
> =============================================================================================<br>
>                          Configuring PETSc to compile on your system <br>
> ======================================================================<br>
> =======================<br>
> TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:1341)*******************************************************************************<br>
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):<br>
> ----------------------------------------------------------------------<br>
> --------- C compiler you provided with -with-cc=mpicc cannot be found <br>
> or does not work.<br>
> Cannot compile/link C with mpicc.<br>
> <br>
> As for the case of WSL2, I will try to install that on my PC. <br>
> Meanwhile, could you please look into this issue<br>
> <br>
> Thank you<br>
> <br>
> Ali<br>
> <br>
> -----Original Message-----<br>
> From: Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>><br>
> Sent: Monday, October 31, 2022 10:56 PM<br>
> To: Satish Balay via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>><br>
> Cc: Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>; Mohammad Ali Yaqteen <br>
> <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a>><br>
> Subject: Re: [petsc-users] PETSc Windows Installation<br>
> <br>
> BTW: If you have WSL2 on windows - it might be easier to build/use PETSc.<br>
> <br>
> Satish<br>
> <br>
> On Mon, 31 Oct 2022, Satish Balay via petsc-users wrote:<br>
> <br>
> > Make sure you have cygwin openmpi installed [and cywin blas/lapack]<br>
> > <br>
> > $ cygcheck -cd |grep openmpi<br>
> > libopenmpi-devel              4.1.2-1<br>
> > libopenmpi40                  4.1.2-1<br>
> > libopenmpifh40                4.1.2-1<br>
> > libopenmpiusef08_40           4.1.2-1<br>
> > libopenmpiusetkr40            4.1.2-1<br>
> > openmpi                       4.1.2-1<br>
> > $ cygcheck -cd |grep lapack<br>
> > liblapack-devel               3.10.1-1<br>
> > liblapack0                    3.10.1-1<br>
> > <br>
> > <br>
> > > ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 <br>
> > > --download-f2cblaslapack<br>
> > <br>
> > Should be:<br>
> > <br>
> > > > $ ./configure --download-scalapack --download-mumps<br>
> > <br>
> > i.e [default] --with-cc=mpicc --with-cxx=mpicxx --with-fc=mpif90 [an <br>
> > default cygwin blas/lapack]<br>
> > <br>
> > Satish<br>
> > <br>
> > <br>
> > On Mon, 31 Oct 2022, Matthew Knepley wrote:<br>
> > <br>
> > > On Mon, Oct 31, 2022 at 1:56 AM Mohammad Ali Yaqteen <br>
> > > <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a>><br>
> > > wrote:<br>
> > > <br>
> > > > Dear Satish<br>
> > > ><br>
> > > > When I configure PETSc with (./configure --with-cc=gcc<br>
> > > > --with-cxx=0<br>
> > > > --with-fc=0 --download-f2cblaslapack) it runs as I shared <br>
> > > > initially which you said is not an issue anymore. But when I add <br>
> > > > (--download-scalapack<br>
> > > > --download-mumps) or configure with these later, it gives the <br>
> > > > following<br>
> > > > error:<br>
> > > ><br>
> > > > $ ./configure --download-scalapack --download-mumps<br>
> > > ><br>
> > > > =============================================================================================<br>
> > > >                          Configuring PETSc to compile on your <br>
> > > > system<br>
> > > ><br>
> > > > ================================================================<br>
> > > > ==<br>
> > > > ===========================<br>
> > > > TESTING: FortranMPICheck from<br>
> > > > config.packages.MPI(config/BuildSystem/config/packages/MPI.py:614)*******************************************************************************<br>
> > > >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for<br>
> > > > details):<br>
> > > ><br>
> > > > ----------------------------------------------------------------<br>
> > > > --<br>
> > > > ------------- Fortran error! mpi_init() could not be located!<br>
> > > ><br>
> > > > ****************************************************************<br>
> > > > **<br>
> > > > *************<br>
> > > ><br>
> > > > What could be the problem here?<br>
> > > ><br>
> > > <br>
> > > Without configure.log we cannot tell what went wrong. However, <br>
> > > from the error message, I would guess that your MPI was not built <br>
> > > with Fortran bindings. You need these for those packages.<br>
> > > <br>
> > >   Thanks,<br>
> > > <br>
> > >      Matt<br>
> > > <br>
> > > <br>
> > > > Your help is highly appreciated.<br>
> > > ><br>
> > > > Thank you<br>
> > > > Ali<br>
> > > ><br>
> > > > -----Original Message-----<br>
> > > > From: Satish Balay <<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>><br>
> > > > Sent: Saturday, October 29, 2022 2:11 PM<br>
> > > > To: Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a>><br>
> > > > Cc: Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>>; <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
> > > > Subject: Re: [petsc-users] PETSc Windows Installation<br>
> > > ><br>
> > > > On Sat, 29 Oct 2022, Mohammad Ali Yaqteen wrote:<br>
> > > ><br>
> > > > > I haven’t accessed PETSC or given any command of my own. I was <br>
> > > > > just<br>
> > > > installing by following the instructions. I don’t know why it is <br>
> > > > attaching the debugger. Although it says “Possible error running <br>
> > > > C/C++<br>
> > > > src/snes/tutorials/ex19 with 1 MPI process” which I think is <br>
> > > > indicating of missing of MPI!<br>
> > > ><br>
> > > > The diff is not smart enough to detect the extra message from <br>
> > > > cygwin/OpenMPI - hence it assumes there is a potential problem - <br>
> > > > and prints the above message.<br>
> > > ><br>
> > > > But you can assume its installed properly - and use it.<br>
> > > ><br>
> > > > Satish<br>
> > > > ><br>
> > > > > From: Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>><br>
> > > > > Sent: Friday, October 28, 2022 10:31 PM<br>
> > > > > To: Mohammad Ali Yaqteen <<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a>><br>
> > > > > Cc: <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
> > > > > Subject: Re: [petsc-users] PETSc Windows Installation<br>
> > > > ><br>
> > > > > On Fri, Oct 28, 2022 at 9:11 AM Mohammad Ali Yaqteen <<br>
> > > > <a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a><mailto:<a href="mailto:mhyaqteen@sju.ac.kr" target="_blank">mhyaqteen@sju.ac.kr</a>>> wrote:<br>
> > > > > Dear Sir,<br>
> > > > ><br>
> > > > > During the Installation of PETSc in windows, I installed <br>
> > > > > Cygwin and the<br>
> > > > required libraries as mentioned on your website:<br>
> > > > > [cid:image001.png@01D8EB93.7C17E410]<br>
> > > > > However, when I install PETSc using the configure commands <br>
> > > > > present on<br>
> > > > the petsc website:<br>
> > > > ><br>
> > > > > ./configure --with-cc=gcc --with-cxx=0 --with-fc=0<br>
> > > > --download-f2cblaslapack --download-mpich<br>
> > > > ><br>
> > > > > it gives me the following error:<br>
> > > > ><br>
> > > > > [cid:image002.png@01D8EB93.7C17E410]<br>
> > > > ><br>
> > > > > I already installed OpenMPI using Cygwin installer but it <br>
> > > > > still asks me<br>
> > > > to. When I configure without “—download-mpich” and run “make check”<br>
> > > > command, it gives me the following errors:<br>
> > > > ><br>
> > > > > [cid:image003.png@01D8EB93.7C17E410]<br>
> > > > ><br>
> > > > > Could you kindly look into this and help me with this? Your <br>
> > > > > prompt<br>
> > > > response will highly be appreciated.<br>
> > > > ><br>
> > > > > The runs look fine.<br>
> > > > ><br>
> > > > > The test should not try to attach the debugger. Do you have <br>
> > > > > that in the<br>
> > > > PETSC_OPTIONS env variable?<br>
> > > > ><br>
> > > > >   Thanks,<br>
> > > > ><br>
> > > > >      Matt<br>
> > > > ><br>
> > > > > Thank you!<br>
> > > > > Mohammad Ali<br>
> > > > > Researcher, Sejong University<br>
> > > > ><br>
> > > > ><br>
> > > > > --<br>
> > > > > What most experimenters take for granted before they begin <br>
> > > > > their<br>
> > > > experiments is infinitely more interesting than any results to <br>
> > > > which their experiments lead.<br>
> > > > > -- Norbert Wiener<br>
> > > > ><br>
> > > > > <a href="https://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><<br>
> > > > <a href="http://www.cse.buffalo.edu/~knepley/" rel="noreferrer" target="_blank">http://www.cse.buffalo.edu/~knepley/</a>><br>
> > > > ><br>
> > > ><br>
> > > <br>
> > > <br>
> > > <br>
> > <br>
> <br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>