[petsc-users] PETSc Windows Installation

Satish Balay balay at mcs.anl.gov
Sat Oct 29 00:10:33 CDT 2022


On Sat, 29 Oct 2022, Mohammad Ali Yaqteen wrote:

> I haven’t accessed PETSC or given any command of my own. I was just installing by following the instructions. I don’t know why it is attaching the debugger. Although it says “Possible error running C/C++ src/snes/tutorials/ex19 with 1 MPI process” which I think is indicating of missing of MPI!

The diff is not smart enough to detect the extra message from cygwin/OpenMPI - hence it assumes there is a potential problem - and prints the above message.

But you can assume its installed properly - and use it.

Satish
> 
> From: Matthew Knepley <knepley at gmail.com>
> Sent: Friday, October 28, 2022 10:31 PM
> To: Mohammad Ali Yaqteen <mhyaqteen at sju.ac.kr>
> Cc: petsc-users at mcs.anl.gov
> Subject: Re: [petsc-users] PETSc Windows Installation
> 
> On Fri, Oct 28, 2022 at 9:11 AM Mohammad Ali Yaqteen <mhyaqteen at sju.ac.kr<mailto:mhyaqteen at sju.ac.kr>> wrote:
> Dear Sir,
> 
> During the Installation of PETSc in windows, I installed Cygwin and the required libraries as mentioned on your website:
> [cid:image001.png at 01D8EB93.7C17E410]
> However, when I install PETSc using the configure commands present on the petsc website:
> 
> ./configure --with-cc=gcc --with-cxx=0 --with-fc=0 --download-f2cblaslapack --download-mpich
> 
> it gives me the following error:
> 
> [cid:image002.png at 01D8EB93.7C17E410]
> 
> I already installed OpenMPI using Cygwin installer but it still asks me to. When I configure without “—download-mpich” and run “make check” command, it gives me the following errors:
> 
> [cid:image003.png at 01D8EB93.7C17E410]
> 
> Could you kindly look into this and help me with this? Your prompt response will highly be appreciated.
> 
> The runs look fine.
> 
> The test should not try to attach the debugger. Do you have that in the PETSC_OPTIONS env variable?
> 
>   Thanks,
> 
>      Matt
> 
> Thank you!
> Mohammad Ali
> Researcher, Sejong University
> 
> 
> --
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
> 
> https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>
> 


More information about the petsc-users mailing list