[petsc-users] SVD Usage

Jose E. Roman jroman at dsic.upv.es
Mon May 23 14:57:39 CDT 2016


> El 23 may 2016, a las 21:08, Eric D. Robertson <eric.robertson at cfdrc.com> 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



More information about the petsc-users mailing list