It works. Thank you very much!! Am Mi., 3. Apr. 2019 um 13:12 Uhr schrieb Jose E. Roman <jro...@dsic.upv.es >:
> You could just do > > E.getBV().setType(SLEPc.BV.Type.VECS) > > before E.setFromOptions() > > Jose > > > > El 3 abr 2019, a las 13:05, Jan Grießer via petsc-users < > petsc-users@mcs.anl.gov> escribió: > > > > Hello, everybody, > > I use Splec4py to solve the lowest eigenvalues and corresponding > eigenvectors of systems up to 20 Mio x 20 Mio. My problem so far was that > the base was too big. On advice here in the forum I always added -bv_type > vecs -bv_type mat to the command line, what solved my problems. I don't > always want to execute these two commands on the command line, but I want > to define them directly in the python code before E.solve() is called. > However, I'm not quite sure how to call these functions correctly in > Python. > > Currently I do it like this > > bv = SLEPc.BV().create() > > bv.setType(VECS), > > bv.setType(Mat), E.setBV(bv) > > > > Could you tell me if that's correct? > > Thank you very much in advance! > >