Re: [petsc-dev] Mat updating from 3.7 to 3.9.2 Fortran

2018-05-23 Thread Hector E Barrios Molano
Thanks Barry, I did that, the problem was when setting values to the matrix. The matrix is set row by row, although only the first element of the vectors is given. Here is how I modified it: call MatSetValuesBlocked(mat,1,[N-1],IROW,LC(nnz:IROW),BB(nnz:IROW),INSERT_VALUES,ierr) Thanks for

Re: [petsc-dev] Mat updating from 3.7 to 3.9.2 Fortran

2018-05-23 Thread Smith, Barry F.
Use -mat_view on the new and old code to verify that the same matrix is actually being generated. Barry > On May 23, 2018, at 6:18 PM, Hector E Barrios Molano > wrote: > > Thanks Jed for the Answer. > > I am still having problems with this code. In summary what I changed from > PETSc 3

Re: [petsc-dev] Mat updating from 3.7 to 3.9.2 Fortran

2018-05-23 Thread Matthew Knepley
On Wed, May 23, 2018 at 7:18 PM, Hector E Barrios Molano wrote: > Thanks Jed for the Answer. > > I am still having problems with this code. In summary what I changed from > PETSc 3.7 to 3.9 was: > > - use of PETSC_NULL_MAT to evaluate if the matrix was defined > > mat = PETSC_NULL_MAT > ... > if(

Re: [petsc-dev] Mat updating from 3.7 to 3.9.2 Fortran

2018-05-23 Thread Hector E Barrios Molano
Thanks Jed for the Answer. I am still having problems with this code. In summary what I changed from PETSc 3.7 to 3.9 was: - use of PETSC_NULL_MAT to evaluate if the matrix was defined mat = PETSC_NULL_MAT ... if(mat .eq. PETSC_NULL_MAT)then     create matrix,vectors, ksp else     KSPSetIniti

Re: [petsc-dev] Error while compiling PETSC from git repo

2018-05-23 Thread Satish Balay
you must be using an incompatible version of hypre. 'maint' branch is compatible with: [from config/BuildSystem/config/packages/hypre.py] self.gitcommit = 'v2.14.0' self.download = ['git://https://github.com/LLNL/hypre','https://github.com/LLNL/hypre/archive/'+self.gitcommit+'.tar.gz']

Re: [petsc-dev] Error while compiling PETSC from git repo

2018-05-23 Thread Matthew Knepley
On Wed, May 23, 2018 at 5:26 PM, Hector E Barrios Molano wrote: > Hi PETSc Experts! > > I am compiling PETSc from git repository and I am getting the following > error, attached you will find make.log: > The release 3.9.2 uses Hypre 2.14.0 (so does master) https://bitbucket.org/petsc/petsc/src

[petsc-dev] Error while compiling PETSC from git repo

2018-05-23 Thread Hector E Barrios Molano
Hi PETSc Experts! I am compiling PETSc from git repository and I am getting the following error, attached you will find make.log:   CC linux-intel-debug/obj/mat/impls/hypre/mhypre.o /home/hector/dwnld_prog/petsc/src/mat/impls/hypre/mhypre.c(1453): error #55: too many arguments in invo