# Error in smoothed\_aggregation

**URL:** https://discourse.julialang.org/t/error-in-smoothed-aggregation/54754
**Category:** General Usage
**Tags:** question, packages
**Created:** [February 6, 2021, 9:00pm UTC](https://discourse.julialang.org/t/error-in-smoothed-aggregation/54754 "2021-02-06T21:00:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mancolric](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mancolric/32/21799_2.png) [@mancolric](https://discourse.julialang.org/u/mancolric)
#### Post date: [February 6, 2021, 9:00pm UTC](https://discourse.julialang.org/t/error-in-smoothed-aggregation/54754/1 "2021-02-06T21:00:05Z")

</div>

Hello,

I have recently installed julia 1.5.3 and AlgebraicMultigrid package. I have previously deleted earlier versions of julia (included hidden files), so the installation is clean. When I execute  
` ml = AlgebraicMultigrid.smoothed_aggregation(AUU, strength=SymmetricStrength(), max_levels=10, max_coarse=10) `  
I get the following error  
`ERROR: MethodError: no method matching smoothed_aggregation(::SparseMatrixCSC{Float64,Int64}; strength=SymmetricStrength{Float64}(0.0), max_levels=10, max_coarse=10) Closest candidates are: smoothed_aggregation(::TA) where {T, V, TA<:SparseMatrixCSC{T,V}} at /home/jcarpio/.julia/packages/AlgebraicMultigrid/RU7pA/src/aggregation.jl:1 got unsupported keyword arguments "strength", "max_levels", "max_coarse" smoothed_aggregation(::TA, ::Type{Val{bs}}) where {T, V, bs, TA<:SparseMatrixCSC{T,V}} at /home/jcarpio/.julia/packages/AlgebraicMultigrid/RU7pA/src/aggregation.jl:1 got unsupported keyword arguments "strength", "max_levels", "max_coarse" smoothed_aggregation(::TA, ::Type{Val{bs}}, ::Any) where {T, V, bs, TA<:SparseMatrixCSC{T,V}} at /home/jcarpio/.julia/packages/AlgebraicMultigrid/RU7pA/src/aggregation.jl:1 got unsupported keyword arguments "strength", "max_levels", "max_coarse"`

Strangely, the code works perfectly in other machines with julia 1.5.3 (but which also have some earlier versions installed), but not in a AMD EPYC 7601 32-Core Processor.

Am I doing something wrong?

---

<div class="post-metadata">

### Author: ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)
#### Post date: [February 7, 2021, 3:12pm UTC](https://discourse.julialang.org/t/error-in-smoothed-aggregation/54754/2 "2021-02-07T15:12:04Z")

</div>

If you don’t get an anwer here, I would try opening an issue at the package repo (most package authors are fine with providing support in issues).

---

<div class="post-metadata">

### Author: ![mancolric](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mancolric/32/21799_2.png) [@mancolric](https://discourse.julialang.org/u/mancolric)
#### Post date: [February 8, 2021, 8:53am UTC](https://discourse.julialang.org/t/error-in-smoothed-aggregation/54754/3 "2021-02-08T08:53:12Z")

</div>

I have opened [this issue](https://github.com/JuliaLinearAlgebra/AlgebraicMultigrid.jl/issues/75).
