Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PARMETIS ERROR The sum of tpwgts for constraint #0 is not 1.0 #224

Open
ztdepztdep opened this issue Apr 4, 2022 · 2 comments
Open

PARMETIS ERROR The sum of tpwgts for constraint #0 is not 1.0 #224

ztdepztdep opened this issue Apr 4, 2022 · 2 comments

Comments

@ztdepztdep
Copy link

I am running the parallel version of the possion3d problem, when i use the parmetis, it feeds back the error.

mpiexec -np 2 ./build/amgcl ./A.bin ./b.bin rows is :85623rows is :85623 World size: 2 Matrix ./A.bin: 85623x85623 RHS ./b.bin: 85623x1 row-beg 0 row_end 42812 Partitioning[ParMETIS] 2 -> 2 PARMETIS ERROR: The sum of tpwgts for constraint #0 is not 1.0 PARMETIS ERROR: The sum of tpwgts for constraint #0 is not 1.0 Failed assumption: Error in ParMETIS Offending processes: 0 1 terminate called after throwing an instance of 'terminate called after throwing an instance of 'std::runtime_error' what(): std::runtime_errorError in ParMETIS ' what(): Error in ParMETIS

@ddemidov
Copy link
Owner

ddemidov commented Apr 4, 2022

I am sorry, I can not reproduce this:

mpirun -np 2 ./poisson3Db_mpi poisson3Db.bin poisson3Db_b.bin 
World size: 2
Matrix poisson3Db.bin: 85623x85623
RHS poisson3Db_b.bin: 85623x1
Partitioning[ParMETIS] 2 -> 2
Type:             BiCGStab
Unknowns:         43255
Memory footprint: 2.31 M

Number of levels:    3
Operator complexity: 1.20
Grid complexity:     1.08

level     unknowns       nonzeros
---------------------------------
    0        85623        2374949 (83.03%) [2]
    1         6381         451279 (15.78%) [2]
    2          396          34054 ( 1.19%) [2]

Iters: 24
Error: 6.88791e-09

[poisson3Db MPI:     1.560 s] (100.00%)
[ self:              0.039 s] (  2.48%)
[  partition:        0.569 s] ( 36.46%)
[  read:             0.014 s] (  0.92%)
[  setup:            0.224 s] ( 14.37%)
[  solve:            0.714 s] ( 45.78%)

@ddemidov
Copy link
Owner

ddemidov commented Apr 4, 2022

The parmetis version I have installed on my machine is 4.0.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants