That works. Thank you. -----Original Message----- From: Jose E. Roman [mailto:[email protected]] Sent: Monday, May 23, 2016 2:58 PM To: Eric D. Robertson <[email protected]> Cc: [email protected] Subject: Re: [petsc-users] SVD Usage
> El 23 may 2016, a las 21:08, Eric D. Robertson <[email protected]> > escribió: > > I want to perform an SVD on a 100000 x 10 dense matrix using slepc SVD. I am > able to do this in a test program in serial and print the singular values, > but in parallel I cannot. > > Attached are the error messages and the source. Is there anything in > particular that might keep me from running this in parallel? > > > <svderror.txt><petsc_mat2.cxx> I think the problem is placing MatSetRandom() before assembly. If it is placed AFTER MatAssemblyEnd() it seems to work. Jose
