[petsc-dev] basic - Simple damping line search.

2017-02-10 Thread Mark Adams
The web page for linear search seems to be wrong for basic, right? basic turns line search off. I hope. Mark

Re: [petsc-dev] use of hardwired PetscPartitionShell in test examples

2017-02-10 Thread Matthew Knepley
On Fri, Feb 10, 2017 at 11:20 PM, Matthew Knepley wrote: > No no no no no > > DO NOT DO THIS. > > As I said before, I am using particular partitions I want to test. > > AND I carefully explained why I want SHELL. Read my mail again. > >Matt > > > On Fri, Feb 10, 2017 at 11:07 PM, Barry Smith

Re: [petsc-dev] use of hardwired PetscPartitionShell in test examples

2017-02-10 Thread Matthew Knepley
No no no no no DO NOT DO THIS. As I said before, I am using particular partitions I want to test. AND I carefully explained why I want SHELL. Read my mail again. Matt On Fri, Feb 10, 2017 at 11:07 PM, Barry Smith wrote: > > Matt, > >As far as I can see this is completely unneeded a

[petsc-dev] use of hardwired PetscPartitionShell in test examples

2017-02-10 Thread Barry Smith
Matt, As far as I can see this is completely unneeded and makes the test examples cumbersome so I'm going to strip that stuff out of the test examples and just use args: -petscpartitioner_type simple or random for the tests. Still get determinist results without cumbersome code in the

Re: [petsc-dev] confused about DMFOREST

2017-02-10 Thread Barry Smith
> On Feb 5, 2017, at 11:22 PM, Tobin Isaac wrote: > > On Fri, Feb 03, 2017 at 04:52:20PM -0600, Barry Smith wrote: >> >> I am confused about the organization of DMFOREST, and think it could be >> refactored to be clearer. >> >> It seems DMFOREST is like an abstract based class in that it

Re: [petsc-dev] Right-preconditioned GMRES

2017-02-10 Thread Barry Smith
Thanks for reporting the issue and your patience. I have made a fix for this problem but need to have Jed review it: https://bitbucket.org/petsc/petsc/pull-requests/634/allow-users-to-change-the-pcside-and/diff If Jed is happy with it we'll get it into master within a couple of days. Othe

Re: [petsc-dev] Test harness upgrade

2017-02-10 Thread Barry Smith
See comments below in text, but I realized I should have brought something up about subtests and loops. Is there any assumption about the order that the subtests (entries) in loop are run? If so, why? Shouldn't each subtest be handed off to gnumake to decide when to run? i.e each subtest bec

Re: [petsc-dev] Test harness upgrade

2017-02-10 Thread Scott Kruger
On 2/10/17 4:28 PM, Barry Smith wrote: To illustrate the point here, I will use examples from ksp/ksp/examples/tutorials/ex10.c Consider this test block: test: suffix: 19 requires: datafilespath args: -f0 ${DATAFILESPATH}/matrices/poisson1 args: -ksp_type cg -pc_type ic

Re: [petsc-dev] Diff of numbers for new test framework

2017-02-10 Thread Scott Kruger
On 2/3/17 6:25 AM, Matthew Knepley wrote: On Thu, Feb 2, 2017 at 10:36 PM, Barry Smith mailto:bsm...@mcs.anl.gov>> wrote: > On Feb 2, 2017, at 10:24 PM, Matthew Knepley mailto:knep...@gmail.com>> wrote: > > How do we handle this? $PETSC_DIR/bin/petscdiff is used, it consid

Re: [petsc-dev] Test harness upgrade

2017-02-10 Thread Barry Smith
> On Feb 10, 2017, at 5:18 PM, Scott Kruger wrote: > > > As promised, here is the pull request discussed earlier > (before close-of-business Central time!): > https://bitbucket.org/petsc/petsc/pull-requests/633 > > To illustrate the point here, I will use examples > from ksp/ksp/examples/tutor

[petsc-dev] Test harness upgrade

2017-02-10 Thread Scott Kruger
As promised, here is the pull request discussed earlier (before close-of-business Central time!): https://bitbucket.org/petsc/petsc/pull-requests/633 To illustrate the point here, I will use examples from ksp/ksp/examples/tutorials/ex10.c Consider this test block: test: suffix: 19

Re: [petsc-dev] segfaults with mpich 3.2 and clang (Apple LLVM 8.0.0, clang 800.0.42.1)

2017-02-10 Thread Matthew Knepley
On Fri, Feb 10, 2017 at 2:33 PM, Jeff Hammond wrote: > See https://github.com/elemental/Elemental/issues/200. > Excellent find Jeff. Matt > Jeff > > On Fri, Feb 10, 2017 at 12:05 PM, Barry Smith wrote: > >> >> I am using MPICH 3.2 with 8.2.1 and typically run the entire PETSc test >> sui

Re: [petsc-dev] segfaults with mpich 3.2 and clang (Apple LLVM 8.0.0, clang 800.0.42.1)

2017-02-10 Thread Jeff Hammond
See https://github.com/elemental/Elemental/issues/200. Jeff On Fri, Feb 10, 2017 at 12:05 PM, Barry Smith wrote: > > I am using MPICH 3.2 with 8.2.1 and typically run the entire PETSc test > suite. Have not observed problems. Maybe upgrade Xcode first? > > > > On Feb 10, 2017, at 1:59 PM, Bra

Re: [petsc-dev] segfaults with mpich 3.2 and clang (Apple LLVM 8.0.0, clang 800.0.42.1)

2017-02-10 Thread Barry Smith
I am using MPICH 3.2 with 8.2.1 and typically run the entire PETSc test suite. Have not observed problems. Maybe upgrade Xcode first? > On Feb 10, 2017, at 1:59 PM, Brad Aagaard wrote: > > Are there any known issues with mpich3.2 and clang (Apple LLVM 8.0.0, clang > 800.0.42.1)? I am getti

[petsc-dev] segfaults with mpich 3.2 and clang (Apple LLVM 8.0.0, clang 800.0.42.1)

2017-02-10 Thread Brad Aagaard
Are there any known issues with mpich3.2 and clang (Apple LLVM 8.0.0, clang 800.0.42.1)? I am getting segfaults in MPI routines within PETSc. The error is: write_line error; fd=-1 buf=:cmd=abort exitcode=59, which appears to be similar to the recent DMPlexCreateExodusFromFile() does not work on

Re: [petsc-dev] Right-preconditioned GMRES

2017-02-10 Thread Pierre Jolivet
I forgot to mention this, but you just need to run: mpirun -np 1 ./ex1 Can you reproduce the issue? Thanks. > On Feb 9, 2017, at 10:52 PM, Pierre Jolivet > wrote: > > There, attached. > > Thanks. > > PS: here is the patch also, just in case > diff --git a/src/ksp/ksp/examples/tutorials/ex1.c