Skip to content

Error while redistribute the Epetra.MultiVector my_nodes #2

@xander9595

Description

@xander9595

Hi, I am facing issues while running PD.py.
Form the message below, it seems like some error happens when redistribute the Epetra.MultiVector my_nodes.
I also tring to run some easy redistribute example by Pytrilinos 12.18.1, like Vector , CrsMatrix. It all works. However, when I was tring to redistribute the MultiVector, I got the same error as running PD.py.
So, how can I fix this bug?@johntfoster

Here is the error message:

:mpiexec -np 2 python PD.py

PD.py version 0.4.0

Inserting precracks...

Load balancing...

Traceback (most recent call last):
File "PD.py", line 349, in
Traceback (most recent call last):
File "PD.py", line 349, in
my_nodes_balanced = redistributer.redistribute(my_nodes)
my_nodes_balanced = redistributer.redistribute(my_nodes)
File "/home/diehl/anaconda2/lib/python2.7/site-packages/PyTrilinos/Isorropia/Epetra.py", line 606, in redistribute
File "/home/diehl/anaconda2/lib/python2.7/site-packages/PyTrilinos/Isorropia/Epetra.py", line 606, in redistribute
return _Epetra.Redistributor_redistribute(self, *args)
ValueError: 'dist_type' value 'n' is unrecognized
return _Epetra.Redistributor_redistribute(self, *args)
ValueError: 'dist_type' value 'n' is unrecognized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions