[petsc-users] how to change KSP of A00 inside the Schur complement?

2014-09-09 Thread Klaij, Christiaan
In the program below, I'm using PCFieldSplitGetSubKSP to get the sub KSP's of a Schur fieldsplit preconditioner. I'm setting fieldsplit_0 to BICG+ILU and fieldsplit_1 to CG+ICC. Running $ ./fieldsplittry -ksp_view shows that this works as expected (full output below). Now, I would like to change

Re: [petsc-users] Putting petsc in a namespace

2014-09-09 Thread Satish Balay
On Tue, 9 Sep 2014, Florian Lindner wrote: Am Montag, 8. September 2014, 10:53:27 schrieb Barry Smith: On Sep 8, 2014, at 2:19 AM, Florian Lindner mailingli...@xgm.de wrote: I want to offer an interface that uses some Petsc types (like Vec and Mat) but I do not want to import

Re: [petsc-users] Putting petsc in a namespace

2014-09-09 Thread Jed Brown
Florian Lindner mailingli...@xgm.de writes: If a user of my class library does an #include mypetsc.h he should not get all the petsc symbols in his global namespace, e.g. #include mypetsc.h Vector v; // is an object of my class lib Vec pv; // should not work, since I do not want petsc

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-09 Thread Satish Balay
On Mon, 8 Sep 2014, Satish Balay wrote: On Mon, 8 Sep 2014, Jed Brown wrote: Satish Balay ba...@mcs.anl.gov writes: On Mon, 1 Sep 2014, Åsmund Ervik wrote: This is the reason why I asked whether I can somehow tell --download-hdf5 to download a more recent version. 1.8.11

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-09 Thread Jed Brown
Satish Balay ba...@mcs.anl.gov writes: Ok there is an issue with hdf5-1.8.13 with current netcdf. Gah, after all their effort to maintain binary compatibility from 1.6 to 1.8, they casually break compatibility in a subminor release. Looks like its fixed in netcdf.git

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-09 Thread Satish Balay
On Tue, 9 Sep 2014, Satish Balay wrote: This works for me with examples.. --download-hdf5=http://www.hdfgroup.org/ftp/HDF5/prev-releases/hdf5-1.8.13/src/hdf5-1.8.13.tar.gz Sounds good, will you upgrade hdf5.py? pushed and merged to next

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-09 Thread Jed Brown
Satish Balay ba...@mcs.anl.gov writes: Reinvoking 'make' in the build dir get the build going. [and its not even a parallel build on this machine]. Wierd.. Different source files can have ordering requirements and there is no good way to determine that ordering, so it's often semi-manual or

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-09 Thread Jed Brown
Jed Brown j...@jedbrown.org writes: Satish Balay ba...@mcs.anl.gov writes: Ok there is an issue with hdf5-1.8.13 with current netcdf. Gah, after all their effort to maintain binary compatibility from 1.6 to 1.8, they casually break compatibility in a subminor release. And they didn't even

[petsc-users] petsc-3.5.2.tar.gz now available

2014-09-09 Thread Satish Balay
Dear PETSc users, The patch release petsc-3.5.2 is now available for download. http://www.mcs.anl.gov/petsc/download/index.html Some of the changes include: * ml: fix partitioning with parmetis * build: fix gnumake dependencies and verify minimum required gnumake version. * fix:

Re: [petsc-users] Configure/make with --download-hdf5 or --with-hdf5-dir= crashes

2014-09-09 Thread Satish Balay
On Tue, 9 Sep 2014, Jed Brown wrote: Satish Balay ba...@mcs.anl.gov writes: Ok there is an issue with hdf5-1.8.13 with current netcdf. Gah, after all their effort to maintain binary compatibility from 1.6 to 1.8, they casually break compatibility in a subminor release. Looks like its