[petsc-users] Operations available for different types?

Barry Smith bsmith at mcs.anl.gov
Tue Aug 26 21:49:01 CDT 2014


On Aug 26, 2014, at 9:35 PM, murat keçeli <keceli at gmail.com> wrote:

>>   Since sbaij only stores the above diagonal half of the matrix getting the row mins is more complicated and would require communication.
>> Hence we have not implemented. What do you want it for?
> 
> I see. I was just trying to get some metrics about the matrices I
> have. I am actually curious in a more general way, to figure out which
> operations are implemented for a specific type. I thought that there
> might be a table somewhere showing available operations for different
> matrix types. I guess the only way currently is to grep the source
> code.

   Since the PETSc classes are very dynamic and one can even add functionality at runtime it is difficult to keep a static table somewhere that lists what combinations are possible (this is the same reason we don’t have a huge table listing all runtime options). Ideally we could rig the software to run through all the combinations printing them out, in this way one would always get an accurate list of the possibilities. 

   Barry

> 
> Thank you,
> Murat
> 
> On Tue, Aug 26, 2014 at 5:13 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>> 
>> 
>> On Aug 26, 2014, at 12:58 PM, murat keçeli <keceli at gmail.com> wrote:
>> 
>>> Hi,
>>> 
>>> I tried to use MatGetRowMinAbs and found that it's not available for seqsbaij type.
>> 
>>   Since sbaij only stores the above diagonal half of the matrix getting the row mins is more complicated and would require communication. Hence we have not implemented. What do you want it for?
>> 
>>   barry
>> 
>>> Docs say "This code is only implemented for a couple of matrix formats" but doesn't tell which ones. What is the best way to find out which operations are available for certain types?
>>> 
>>> Thank you,
>>> Murat Keceli
>> 



More information about the petsc-users mailing list