Re: [petsc-users] SetVariableBounds vs ComputeVariableBounds

2016-06-25 Thread Barry Smith
I wish I could answer this but I am weak on these algorithms. Hopefully Todd has a good understanding of their application and strengths and weaknesses. Barry > On Jun 25, 2016, at 3:31 PM, Justin Chang wrote: > > Hi all, > > So I modified SNES ex9.c so that one has the option to use TAO

Re: [petsc-users] da_overlap vs width in dmdacreate

2016-06-25 Thread Matthew Knepley
On Sat, Jun 25, 2016 at 8:03 PM, Barry Smith wrote: > > On Jun 25, 2016, at 7:56 PM, Matthew Knepley wrote: > > > > > > On Sat, Jun 25, 2016 at 7:18 PM, Xiangdong wrote: > > Maybe my previous email is not clear. What is the relationship between > the parameter x in DMDASetOverlap and the param

Re: [petsc-users] da_overlap vs width in dmdacreate

2016-06-25 Thread Barry Smith
On Jun 25, 2016, at 7:56 PM, Matthew Knepley wrote: > > > On Sat, Jun 25, 2016 at 7:18 PM, Xiangdong wrote: > Maybe my previous email is not clear. What is the relationship between the > parameter x in DMDASetOverlap and the parameter s in DMDACreate2d? Does x > need to be smaller than s? A

Re: [petsc-users] da_overlap vs width in dmdacreate

2016-06-25 Thread Matthew Knepley
On Sat, Jun 25, 2016 at 7:18 PM, Xiangdong wrote: > Maybe my previous email is not clear. What is the relationship between the > parameter x in DMDASetOverlap and the parameter s in DMDACreate2d? Does x > need to be smaller than s? Are they completely independent? > Yes. The Overlaps are only us

Re: [petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Satish Balay
On Sat, 25 Jun 2016, Antonio Trande wrote: > On 06/25/2016 09:41 PM, Antonio Trande wrote: > > On 06/25/2016 03:59 PM, Matthew Knepley wrote: > >> On Sat, Jun 25, 2016 at 8:21 AM, Antonio Trande >> > wrote: > >> > >> Hi all, > >> > >> is it possible to compil

Re: [petsc-users] da_overlap vs width in dmdacreate

2016-06-25 Thread Xiangdong
Maybe my previous email is not clear. What is the relationship between the parameter x in DMDASetOverlap and the parameter s in DMDACreate2d? Does x need to be smaller than s? Are they completely independent? PetscErrorCode DMDASetOverlap(DM da,PetscInt x,PetscInt y,PetscInt z) PetscErrorCode D

Re: [petsc-users] SetVariableBounds vs ComputeVariableBounds

2016-06-25 Thread Justin Chang
Hi all, So I modified SNES ex9.c so that one has the option to use TAO's complementarity solvers for this problem. Attached is the file. I expect the TAO solvers to behave the same as the SNESVI ones, but I am having the same issues as before - SSILS and SSFLS do not work whatsoever but for some

Re: [petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Antonio Trande
On 06/25/2016 09:41 PM, Antonio Trande wrote: > On 06/25/2016 03:59 PM, Matthew Knepley wrote: >> On Sat, Jun 25, 2016 at 8:21 AM, Antonio Trande > > wrote: >> >> Hi all, >> >> is it possible to compile serial PETSc library ? >> I'm trying to compile PETSc

Re: [petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Antonio Trande
On 06/25/2016 04:18 PM, Satish Balay wrote: > BTW: I see you are building multiple variants of PETSc > > Wrote: /builddir/build/RPMS/petsc-3.7.2-2.fc24.x86_64.rpm > Wrote: /builddir/build/RPMS/petsc-devel-3.7.2-2.fc24.x86_64.rpm > Wrote: /builddir/build/RPMS/petsc64-3.7.2-2.fc24.x86_64.rpm > Wrote

Re: [petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Satish Balay
BTW: I see you are building multiple variants of PETSc Wrote: /builddir/build/RPMS/petsc-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc-devel-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc64-3.7.2-2.fc24.x86_64.rpm Wrote: /builddir/build/RPMS/petsc64-devel-3.7.2-2.fc24.x86_64

Re: [petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Satish Balay
do not use --with-mpiuni-fortran-binding=0 option. It should be used only building PETSc with serial MUMPs package. Satish On Sat, 25 Jun 2016, Antonio Trande wrote: > Hi all, > > is it possible to compile serial PETSc library ? > I'm trying to compile PETSc without MPI by configuring with opt

Re: [petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Matthew Knepley
On Sat, Jun 25, 2016 at 8:21 AM, Antonio Trande wrote: > Hi all, > > is it possible to compile serial PETSc library ? > I'm trying to compile PETSc without MPI by configuring with options: > > --with-mpi=0 --with-mpiuni-fortran-binding=0 > > but compiler uses -I/.../petsc-3.7.2/include/petsc/mpi

[petsc-users] undefined symbol: mpi_init_

2016-06-25 Thread Antonio Trande
Hi all, is it possible to compile serial PETSc library ? I'm trying to compile PETSc without MPI by configuring with options: --with-mpi=0 --with-mpiuni-fortran-binding=0 but compiler uses -I/.../petsc-3.7.2/include/petsc/mpiuni flag anyway and libpetsc.so contains an "undefined symbol": undef