Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-20 Thread Jose E. Roman via petsc-users
I have tried with slepc-master and it works: $ mpiexec -n 2 ./ex1 -eps_ciss_partitions 2 matrix size 774 (-78.7875,8.8022) (-73.9569,-42.2401) (-66.9942,-7.50907) (-62.262,-2.71603) (-58.9716,0.60) (-57.9883,0.298729) (-57.8323,1.06041) (-56.5317,1.10758) (-56.0234,45.2405) (-54.4058,2.88373)

Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-19 Thread Povolotskyi, Mykhailo via petsc-users
Hong, do you have in mind a reason why the newer version should work or is it a general recommendation? Which stable version would you recommend to upgrade to? Thank you, Michael. On 09/19/2019 02:22 PM, Zhang, Hong wrote: Michael,

Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-19 Thread Zhang, Hong via petsc-users
Michael, -- [0]PETSC ERROR: No support for this operation for this object type [0]PETSC ERROR: Mat type seqdense [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for trouble shooting. [0]PETSC ERROR: Petsc Release V

Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-19 Thread Povolotskyi, Mykhailo via petsc-users
Hello Jose, I have done the test case to reproduce my error. 1. You will need to download a file "matrix.bin"  from the following link https://www.dropbox.com/s/6y7ro99ou4qr8uy/matrix.bin?dl=0 2. Here is the C++ code I use #include #include #include #include #include #include #include "

Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-19 Thread Jose E. Roman via petsc-users
Michael, In my previous email I should have checked it better. The CISS solver works indeed with dense matrices: $ mpiexec -n 2 ./ex2 -n 30 -eps_type ciss -terse -rg_type ellipse -rg_ellipse_center 1.175 -rg_ellipse_radius 0.075 -eps_ciss_partitions 2 -mat_type dense 2-D Laplacian Eigenprobl

Re: [petsc-users] question about MatCreateRedundantMatrix

2019-09-18 Thread hong--- via petsc-users
Michael, We have support of MatCreateRedundantMatrix for dense matrices. For example, petsc/src/mat/examples/tests/ex9.c: mpiexec -n 4 ./ex9 -mat_type dense -view_mat -nsubcomms 2 Hong On Wed, Sep 18, 2019 at 5:40 PM Povolotskyi, Mykhailo via petsc-users < petsc-users@mcs.anl.gov> wrote: > Dear

[petsc-users] question about MatCreateRedundantMatrix

2019-09-18 Thread Povolotskyi, Mykhailo via petsc-users
Dear Petsc developers, I found that MatCreateRedundantMatrix does not support dense matrices. This causes the following problem: I cannot use CISS eigensolver from SLEPC with dense matrices with parallelization over quadrature points. Is it possible for you to add this support? Thank you, Mic