[petsc-users] Load binary matrix created in parallel
Y. Shidi
ys453 at cam.ac.uk
Wed May 23 10:54:46 CDT 2018
Hello,
> Is your claim that you do
>
> MatView()
I did not call this function; I called MatLoad() directly.
> 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.
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/
More information about the petsc-users
mailing list