Re: [petsc-dev] cray warning - reduction in alignment ignored

2019-02-01 Thread Smith, Barry F. via petsc-dev
I cannot remember why it is sizeof(PetscScalar) specifically. I do remember that having an alignment is crucial to DMNetwork and it can fail and crash if there is no alignment. So it is possible that the code will not work with the Cray compilers. The attribute is checked in

[petsc-dev] cray warning - reduction in alignment ignored

2019-02-01 Thread Hapla Vaclav via petsc-dev
I've got this with Cray compiler CC arch-daint-cray-opt/obj/dm/impls/network/network.o CC-1160 craycc: WARNING File = /scratch/snx3000/haplav/petsc/include/petsc/private/dmnetworkimpl.h, Line = 20 A reduction in alignment is ignored. } PETSC_ATTRIBUTEALIGNED(sizeof(PetscScalar));

Re: [petsc-dev] is DMSetDS not in master?

2019-02-01 Thread Mark Adams via petsc-dev
OK, it's not in Changes and there is one comment to it. On Fri, Feb 1, 2019 at 10:50 AM Matthew Knepley wrote: > I removed it, since no one should use it anymore. You use > DMSetField()+DMCreateDS() instead. > > THanks, > > Matt > > On Fri, Feb 1, 2019 at 10:38 AM Mark Adams via petsc-dev

Re: [petsc-dev] is DMSetDS not in master?

2019-02-01 Thread Matthew Knepley via petsc-dev
I removed it, since no one should use it anymore. You use DMSetField()+DMCreateDS() instead. THanks, Matt On Fri, Feb 1, 2019 at 10:38 AM Mark Adams via petsc-dev < petsc-dev@mcs.anl.gov> wrote: > 10:37 master= ~/Codes/petsc$ git grep DMSetDS > src/dm/interface/dm.c:.seealso: DMGetDS(),

[petsc-dev] is DMSetDS not in master?

2019-02-01 Thread Mark Adams via petsc-dev
10:37 master= ~/Codes/petsc$ git grep DMSetDS src/dm/interface/dm.c:.seealso: DMGetDS(), DMSetDS() 10:37 master= ~/Codes/petsc$