Re: [petsc-dev] circular dependencies SLEPc

2019-07-08 Thread Jakub Kruzik via petsc-dev
Just to clarify, the suggested solution is a plug-in sitting anywhere in the PETSc source tree with postponed compilation and using __attribute__((constructor)) to register (as in libCEED) for static libraries? I could try to do that for the computation of eigenvector-based deflation space fo

[petsc-dev] circular dependencies SLEPc

2019-06-26 Thread Jakub Kruzik via petsc-dev
Hello, as I mentioned in PR #1819, I would like to use SLEPc in PETSc. Currently when PETSc is configured with --download-slepc, it defines PETSC_HAVE_SLEPC and each compilation of PETSc recompiles SLEPc. The first way to use SLEPc is from an example. That should be easy, all we need is to a

[petsc-dev] args loop in testset

2019-06-26 Thread Jakub Kruzik via petsc-dev
Hello, args loop in test in testset does not insert a space after the argument. E.g., changing test:   args: -bs {{1 2 3 4 5 6 7 8 9 10 11 12}} -pc_type cholesky into: testset: test:     args: -bs {{1 2 3 4 5 6 7 8 9 10 11 12}} -pc_type cholesky in ksp/ksp/examples/tests/ex49.c Gives error

Re: [petsc-dev] PETSc Meeting errata

2019-06-15 Thread Jakub Kruzik via petsc-dev
On 6/15/19 12:46 AM, Hapla Vaclav wrote: On 14 Jun 2019, at 21:53, Jakub Kruzik > wrote: The problem is that you need to write the file with an optimal stripe count/size in the first place. An unaware user who just uses something like cp will end up with the def

Re: [petsc-dev] PETSc Meeting errata

2019-06-14 Thread Jakub Kruzik via petsc-dev
The problem is that you need to write the file with an optimal stripe count/size in the first place. An unaware user who just uses something like cp will end up with the default stripe count which is usually 1. For large files, you should just set the stripe count to the number of OSTs. Your r