NVIDIA / AMGX

Distributed multigrid linear solver library on GPU
464 stars 136 forks source link

[Issue]Caught amgx exception: SelectorFactory 'PMIS' has not been registered #315

Open kkmund146 opened 1 week ago

kkmund146 commented 1 week ago

I am attempting to implement AmgX's algebraic multigrid preconditioner in Petsc. When I include the following optional database keys

-pc_amgx_amg_method CLASSICAL

I encounter the following error

Caught amgx exception: SelectorFactory 'PMIS' has not been registered

I have attached the outlog, errlog and toolkits files for your reference. Does anyone know what caused this error and how to resolve it? Thanks.

PIG6e4_HO-CLASSICAL outlog.pdf PIG6e4_HO-CLASSICAL toolkits.pdf PIG6e4_HO-CLASSICAL errorlog.pdf

marsaev commented 5 days ago

Hello @kkmund146 ,

I'm not familiar with PETSc code and it's options, so maybe https://gitlab.com/petsc/petsc/-/issues might be a good place to start troubleshooting such issue.
Could you confirm that you are calling AMGX_Initialize() before calling any AMGX_config_XXX() functions?

Thanks,