pyamgx icon indicating copy to clipboard operation
pyamgx copied to clipboard

AMGXError: Thrust failure

Open ma-sadeghi opened this issue 3 years ago • 1 comments

I tried to run the "Demo" in the documentation, but here's the error I'm getting:

AMGX version 2.2.0.132-opensource
Built on Dec 17 2021, 10:01:48
Compiled with CUDA Runtime 11.4, using CUDA driver 11.4
Error initializing amgx core: Reader 'MatrixMarket' is already registered
---------------------------------------------------------------------------
AMGXError                                 Traceback (most recent call last)
<ipython-input-6-b8458b63a257> in <module>
      5 import pyamgx
      6 
----> 7 pyamgx.initialize()
      8 
      9 # Initialize config and resources:

~/Code/pyamgx/pyamgx/pyamgx.pyx in pyamgx.initialize()
     18     Initialize AMGX.
     19     """
---> 20     check_error(AMGX_initialize())
     21     check_error(AMGX_initialize_plugins())
     22 

~/Code/pyamgx/pyamgx/Errors.pyx in pyamgx.check_error()
     60     """
     61     if err_code is not RC.OK:
---> 62         raise AMGXError(get_error_string(err_code))

AMGXError: Error initializing amgx core.

Would really appreciate it if you could shed some light.

ma-sadeghi avatar Dec 17 '21 20:12 ma-sadeghi

Thanks for the bug report! I've unfortunately not been able to give this project the attention it needs lately. I'll try to reproduce this on my end and get back to you early next week.

shwina avatar Dec 17 '21 20:12 shwina