[petsc-users] Load binary matrix created in parallel

Matthew Knepley knepley at gmail.com
Wed May 23 11:01:24 CDT 2018


On Wed, May 23, 2018 at 11:54 AM, Y. Shidi <ys453 at cam.ac.uk> wrote:

> Hello,
>
> Is your claim that you do
>>
>>   MatView()
>>
> I did not call this function; I called MatLoad() directly.
>

This is the output function.


>
> and get a different matrix? This is unlikely since we test this.
>> Are you sure you have the same rhs?
>>
> I will check this again.
> So if a binary matrix file is created,
> it doesn't matter if different number of processors is used.
>

Right.

  Matt


> Thanks,
> Shidi
>
> On 2018-05-23 16:48, Matthew Knepley wrote:
>
>> On Wed, May 23, 2018 at 11:45 AM, Y. Shidi <ys453 at cam.ac.uk> wrote:
>>
>> Hi,
>>>
>>> How are you evaluating?
>>>>
>>> I put the loaded matrix to a linear system and solve it.
>>>
>>
>> Is your claim that you do
>>
>>   MatView()
>>
>> and then
>>
>>   MatLoad()
>>
>> and get a different matrix? This is unlikely since we test this.
>> Are you sure you have the same rhs?
>>
>>   Thanks,
>>
>>     Matt
>>
>> Cheers,
>>> Shidi
>>>
>>> On 2018-05-23 16:42, Jed Brown wrote:
>>> "Y. Shidi" <ys453 at cam.ac.uk> writes:
>>>
>>> Hello,
>>>
>>> Is there any way to sequentially load a binary matrix file, which
>>> is created in parallel?
>>> I tried to use PetscViewerBinaryOpen() and MatLoad() to load
>>> the matrix that is created by using 2 cores, and solved a linear
>>> system by using this matrix but the results is not correct.
>>>
>>> How are you evaluating?
>>>
>>
>> --
>>
>> What most experimenters take for granted before they begin their
>> experiments is infinitely more interesting than any results to which
>> their experiments lead.
>> -- Norbert Wiener
>>
>> https://www.cse.buffalo.edu/~knepley/ [1]
>>
>>
>> Links:
>> ------
>> [1] http://www.caam.rice.edu/~mk51/
>>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180523/4c69da6d/attachment.html>


More information about the petsc-users mailing list