[petsc-users] SVD Usage

Eric D. Robertson eric.robertson at cfdrc.com
Tue May 24 09:54:02 CDT 2016


That works. Thank you.

-----Original Message-----
From: Jose E. Roman [mailto:jroman at dsic.upv.es] 
Sent: Monday, May 23, 2016 2:58 PM
To: Eric D. Robertson <eric.robertson at cfdrc.com>
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] SVD Usage


> 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