Re: [petsc-users] Reading Vectors from a PETSc Vec

2022-11-14 Thread Mohammad Ali Yaqteen
I am sorry for the trouble but I don’t understand its usage. Like I want to read Vec xr. I am giving it to a pointer array. How would I access the values of the vector? Could you please briefly explain? From: Matthew Knepley Sent: Tuesday, November 15, 2022 9:54 AM To: Mohammad Ali Yaqteen Cc

Re: [petsc-users] Reading Vectors from a PETSc Vec

2022-11-14 Thread Mohammad Ali Yaqteen
Thank you Ali ____ From: Matthew Knepley Sent: Tuesday, November 15, 2022 9:43 AM To: Mohammad Ali Yaqteen Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Reading Vectors from a PETSc Vec On Mon, Nov 14, 2022 at 7:39 PM Mohammad Ali Yaqteen mailto:mhyaqt...@sju.

[petsc-users] Reading Vectors from a PETSc Vec

2022-11-14 Thread Mohammad Ali Yaqteen
I am using the following procedure to read from Vec, but it keeps giving me the same values! I was told that using VecGetValues gives wrog output. If not this, then what function should be used to read the contents of a vector? for (int i = 0; i < nconv; i++) { PetscCall(EPSG

Re: [petsc-users] PETSc Windows Installation

2022-11-07 Thread Mohammad Ali Yaqteen
Although I followed the steps in the explanation you sent me, these are the errors that I got: [cid:image001.png@01D8F351.568A14A0] From: Pierre Jolivet Sent: Monday, November 7, 2022 10:38 PM To: Mohammad Ali Yaqteen Cc: petsc-users Subject: Re: [petsc-users] PETSc Windows Installation You

Re: [petsc-users] PETSc Windows Installation

2022-11-07 Thread Mohammad Ali Yaqteen
Once I finish writing the code, the .exe file will not change. Can I make an .exe file using WSL2 and VScode? Thanks, Ali From: Matthew Knepley Sent: Monday, November 7, 2022 7:13 PM To: Mohammad Ali Yaqteen Cc: petsc-users Subject: Re: [petsc-users] PETSc Windows Installation On Mon, Nov 7

Re: [petsc-users] PETSc Windows Installation

2022-11-06 Thread Mohammad Ali Yaqteen
a disadvantage. What do you suggest? Thank you Ali -Original Message- From: Satish Balay Sent: Monday, November 7, 2022 12:00 AM To: Matthew Knepley Cc: Mohammad Ali Yaqteen ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] PETSc Windows Installation Likely the compilers are not

[petsc-users] PETSc Windows Installation

2022-11-06 Thread Mohammad Ali Yaqteen
Dear Sir/Madam, I am installing PETSc on windows but it keeps giving me unexpected errors. I want to use it on MS Visual Studio or Codeblocks. When I use the command on your webpage (./configure --with-cc='win32fe cl' --with-fc='win32fe ifort' --with-cxx='win32fe cl' --with-mpi=0 --download-fbl

Re: [petsc-users] PETSc Windows Installation

2022-11-01 Thread Mohammad Ali Yaqteen
What if I use Codeblocks to run petsc? Would I still need to reinstall petsc or the Cygwin installation will work? Thanks Ali -Original Message- From: Satish Balay Sent: Wednesday, November 2, 2022 12:13 AM To: Mohammad Ali Yaqteen Cc: petsc-users Subject: Re: [petsc-users] PETSc

Re: [petsc-users] PETSc Windows Installation

2022-11-01 Thread Mohammad Ali Yaqteen
.12-1 libhwloc-devel-2.6.0-2 zlib-devel-1.2.12-1 BTW: you can attach the file from PETSC_DIR/PETSC_ARCH/lib/petsc/conf/configure.log Satish On Tue, 1 Nov 2022, Mohammad Ali Yaqteen wrote: > I am unable to attach the configure.log file. Hence. I have copied the > following text after exec

Re: [petsc-users] PETSc Windows Installation

2022-10-31 Thread Mohammad Ali Yaqteen
I am unable to attach the configure.log file. Hence. I have copied the following text after executing the command (less configure.log) in the cygwin64 Executing: uname -s stdout: CYGWIN_NT-10.0-19044 =

Re: [petsc-users] PETSc Windows Installation

2022-10-31 Thread Mohammad Ali Yaqteen
From where can I get that? Ali -Original Message- From: Satish Balay Sent: Tuesday, November 1, 2022 11:36 AM To: Mohammad Ali Yaqteen Cc: petsc-users Subject: RE: [petsc-users] PETSc Windows Installation you'll have to send configure.log for this failure Satish On Tue,

Re: [petsc-users] PETSc Windows Installation

2022-10-31 Thread Mohammad Ali Yaqteen
Cc: Matthew Knepley ; Mohammad Ali Yaqteen Subject: Re: [petsc-users] PETSc Windows Installation BTW: If you have WSL2 on windows - it might be easier to build/use PETSc. Satish On Mon, 31 Oct 2022, Satish Balay via petsc-users wrote: > Make sure you have cygwin openmpi installed [and cy

Re: [petsc-users] PETSc Windows Installation

2022-10-30 Thread Mohammad Ali Yaqteen
- From: Satish Balay Sent: Saturday, October 29, 2022 2:11 PM To: Mohammad Ali Yaqteen Cc: Matthew Knepley ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] PETSc Windows Installation On Sat, 29 Oct 2022, Mohammad Ali Yaqteen wrote: > I haven’t accessed PETSC or given any command of my own

Re: [petsc-users] PETSc Windows Installation

2022-10-28 Thread Mohammad Ali Yaqteen
! From: Matthew Knepley Sent: Friday, October 28, 2022 10:31 PM To: Mohammad Ali Yaqteen Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] PETSc Windows Installation On Fri, Oct 28, 2022 at 9:11 AM Mohammad Ali Yaqteen mailto:mhyaqt...@sju.ac.kr>> wrote: Dear Sir, During the Installat

[petsc-users] PETSc Windows Installation

2022-10-28 Thread Mohammad Ali Yaqteen
Dear Sir, During the Installation of PETSc in windows, I installed Cygwin and the required libraries as mentioned on your website: [cid:image002.png@01D8EAF4.F4004D90] However, when I install PETSc using the configure commands present on the petsc website: ./configure --with-cc=gcc --with-cxx=0