Re: [petsc-users] using fieldsplit for matrix assembled using aij

2020-07-31 Thread Barry Smith
> On Jul 31, 2020, at 7:31 PM, Raju Mandhapati > wrote: > > Barry, > > Thank you for the reply. I am a beginner. I was confused with the following > statement in the manual > > " If the matrices are stored as interlaced then PCFieldSplitSetFields() can > be called repeatedly to indicate

Re: [petsc-users] using fieldsplit for matrix assembled using aij

2020-07-31 Thread Raju Mandhapati via petsc-users
Barry, Thank you for the reply. I am a beginner. I was confused with the following statement in the manual " If the matrices are stored as interlaced then PCFieldSplitSetFields() can be called repeatedly to indicate which fields belong to each block. " Does it mean that we need to set each row

Re: [petsc-users] using fieldsplit for matrix assembled using aij

2020-07-31 Thread Barry Smith
-pc_fieldsplit_block_size 3 (you may not need this if the code sets the block size to 3). -pc_fieldsplit_0_fields 0,1 -pc_fieldsplit_1_fields 2 > On Jul 31, 2020, at 7:05 PM, Raju Mandhapati via petsc-users > wrote: > > Hello, > > I have a matrix assembled in interlaced format.

[petsc-users] using fieldsplit for matrix assembled using aij

2020-07-31 Thread Raju Mandhapati via petsc-users
Hello, I have a matrix assembled in interlaced format. I am not able to follow how to use fieldsplit. Is there a good example to show how to do this. My variable are in this format [ {u1,v1,p1}, {u2,v2,p2}, ,{un,vn,pn}], where n is the number of grid points and u,v,p are the velocity and

Re: [petsc-users] SUPERLU_DIST in single precision

2020-07-31 Thread Barry Smith
Felix, Sorry for the delay. Another issue came up with building SuperLU_DIST for this formulation that Sherry has to look at. We haven't forgotten you, Barry duplicate symbol '_FormFullA' in: CMakeFiles/superlu_dist.dir/sreadhb.c.o CMakeFiles/superlu_dist.dir/dreadhb.c.o

Re: [petsc-users] PETSc Make error

2020-07-31 Thread Satish Balay via petsc-users
You still get this error message - so its likely not installed. To confirm you [and the admin] can run: python3 -c "import distutils.sysconfig" [and see if you get an error or not] You can also try python2 as I suggested in my earlier e-mail [if distutils is installed for python2] python2

Re: [petsc-users] Accessing the adjoint in TSSetRHSJacobianP

2020-07-31 Thread Zhang, Hong via petsc-users
Yes, you can use a matrix-free approach on this matrix just like what you would do on the IJacobian matrix. Only the multTranspose operation needs to be overloaded for the adjoint. Hong On Jul 30, 2020, at 6:52 PM, Salazar De Troya, Miguel via petsc-users mailto:petsc-users@mcs.anl.gov>>

Re: [petsc-users] Error on INTEGER SIZE using DMDACreate3d

2020-07-31 Thread Pierpaolo Minelli
Hi, I want to thank you for all your useful suggestions, but luckily fo me it was non a problem related to Petsc as I wrongly supposed reading this error. There was a problem on GPFS filesystem that CINECA support solved and also a problem related to my code that was writing too much files

Re: [petsc-users] PETSc Make error

2020-07-31 Thread Matthew Knepley
On Fri, Jul 31, 2020 at 4:15 AM Eda Oktay wrote: > Dear Satish, > > I configured petsc-3.13.2. Is this still the same problem? > Yes, you need the distutils package installed. Thanks, Matt > Thanks! > > Eda > > On Fri, Jul 31, 2020, 10:50 AM Satish Balay wrote: > >> >> >>

Re: [petsc-users] PETSc Make error

2020-07-31 Thread Eda Oktay
Dear Satish, I configured petsc-3.13.2. Is this still the same problem? Thanks! Eda On Fri, Jul 31, 2020, 10:50 AM Satish Balay wrote: > > > File "./config/gmakegen.py", line 4, in > from distutils.sysconfig import parse_makefile > ModuleNotFoundError: No module named

Re: [petsc-users] PETSc Make error

2020-07-31 Thread Satish Balay via petsc-users
File "./config/gmakegen.py", line 4, in from distutils.sysconfig import parse_makefile ModuleNotFoundError: No module named 'distutils.sysconfig' < For one - if you used petsc-3.13.3 - it would have also tried python2 - or given a reasonable error message. If you have

Re: [petsc-users] Petsc configure error (cmake)

2020-07-31 Thread Eda Oktay
Dear all, I made administrator of the server download cmake and configured it again and it was successful. Thank you so much for your replies! Eda Satish Balay , 29 Tem 2020 Çar, 20:20 tarihinde şunu yazdı: > > This is likely a cmake install bug. I submitted a report. > >

Re: [petsc-users] Configuration error during OpenBLAS

2020-07-31 Thread Eda Oktay
Dear Satish, Thank you so much for your replies. I installed git and I was able to configure PETSc. Thanks again! Eda Satish Balay , 30 Tem 2020 Per, 18:32 tarihinde şunu yazdı: > > On Thu, 30 Jul 2020, Eda Oktay wrote: > > > Dear Satish, > > > > I am sorry but I couldn't understand what