Re: [petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-24 Thread venkatesh g
Thanks a lot. I did what you told. It is working now like a charm. However, I have another query, which I will post separately. On Mon, Mar 24, 2014 at 3:21 PM, Jose E. Roman wrote: > > El 24/03/2014, a las 10:28, venkatesh g escribió: > > > Ok. I am doing the following > > > > 1. Running ".

Re: [petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-24 Thread Jose E. Roman
El 24/03/2014, a las 10:28, venkatesh g escribió: > Ok. I am doing the following > > 1. Running "./ex7 -f1 A2 -f2 B2 -st_type sinvert -evecs VC" > 2. In MATLAB I do "vc=PetscBinaryRead('VC');" > > The output is one Eigenvector in VC which is 800x1. > > And I did the normalization vc=vc/max(vc

Re: [petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-24 Thread venkatesh g
Ok. I am doing the following 1. Running "./ex7 -f1 A2 -f2 B2 -st_type sinvert -evecs VC" 2. In MATLAB I do "vc=PetscBinaryRead('VC');" The output is one Eigenvector in VC which is 800x1. And I did the normalization vc=vc/max(vc) and compared with the normalized original vector.. Also I must tell

Re: [petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-24 Thread Jose E. Roman
El 24/03/2014, a las 05:59, venkatesh g escribió: > Ok. I used -st_type sinvert only, > > I am comparing it eigs after normalization. Even now the eigenvectors differ. > > Whether I should use a different eps solver ? > > Pls let me know. > It works for me, so you should provide more det

Re: [petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-23 Thread venkatesh g
Ok. I used -st_type sinvert only, I am comparing it eigs after normalization. Even now the eigenvectors differ. Whether I should use a different eps solver ? Pls let me know. On Sun, Mar 23, 2014 at 9:46 PM, Jose E. Roman wrote: > > El 23/03/2014, a las 12:56, venkatesh g escribió: > > > H

Re: [petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-23 Thread Jose E. Roman
El 23/03/2014, a las 12:56, venkatesh g escribió: > Hi, > > I am using SLEPC example EX7.C, I am using complex binary matrices A and B > written from matlab using Petscbinarywrite.m. > > I ran the example using "./ex7 -f1 A -f2 B -eps_type krylovschur -st_type > sinvert -evecs out.mat -eps_s

[petsc-users] reg: Eigenvectors of general complex eigen value problem

2014-03-23 Thread venkatesh g
Hi, I am using SLEPC example EX7.C, I am using complex binary matrices A and B written from matlab using Petscbinarywrite.m. I ran the example using "./ex7 -f1 A -f2 B -eps_type krylovschur -st_type sinvert -evecs out.mat -eps_smallest_magnitude" My plotted my eigenvectors using Petscbinaryread