I have fixed it. You were missing the ierr CHKERRQ() business
> On Apr 25, 2015, at 8:56 AM, Håkon Strandenes <[email protected]>
> wrote:
>
> Hi,
>
> I just wonder, what is wrong with DM ex9 (see below)? What does the
> "statement has no effect" message mean, and how can it be fixed? I copied the
> code in question from
> http://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex18.c.html,
> and it appears to work as expected. It also seems that other examples use
> PetscOptionsBegin() the same way.
>
> Thanks.
>
> Håkon
>
>
>
> On 25. april 2015 04:00, PETSc checkBuilds wrote:
>>
>>
>> Dear PETSc developer,
>>
>> This email contains listings of contributions attributed to you by
>> `git blame` that caused compiler errors or warnings in PETSc automated
>> testing. Follow the links to see the full log files. Please attempt to fix
>> the issues promptly or let us know at [email protected] if you are unable
>> to resolve the issues.
>>
>> Thanks,
>> The PETSc development team
>>
>> ----
>>
>> warnings attributed to commit
>> https://bitbucket.org/petsc/petsc/commits/ec7ae49
>> VecLoad_HDF5_DA() accept 1-sized dimension for dof
>>
>> src/dm/examples/tutorials/ex9.c:37
>>
>> [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2015/04/24/examples_master_arch-freebsd-cxx-pkgs-opt_wii.log]
>> /home/balay/petsc.clone-2/src/dm/examples/tutorials/ex9.c:37: warning:
>> statement has no effect
>>
>> ----
>> To opt-out from receiving these messages - send a request to
>> [email protected].
>>