AMGX error: Caught amgx exception: CUSPARSE_STATUS_MAPPING_ERROR

Hi all,

I am trying to use AMGX to solve fluid flow problems, and the following error pops up. Does anyone know what is causing this?

License acquired, proceeding
AMGX version 1.2.0-build108
Built on Dec 22 2014, 10:38:36
Compiled with CUDA Runtime 6.5, using CUDA driver 8.0

AMG Grid:
         Number of Levels: 3
            LVL         ROWS               NNZ    SPRSTY       Mem (GB)
         --------------------------------------------------------------
           0(D)         4880             28284   0.00119       0.000444
           1(D)         1242             15198   0.00985        0.00039
           2(D)          302              4885    0.0536       0.000118
         --------------------------------------------------------------
         Grid Complexity: 1.31639
         Operator Complexity: 1.71005
         Total Memory Usage: 0.000952385 GB
         --------------------------------------------------------------
           iter      Mem Usage (GB)       residual           rate
         --------------------------------------------------------------
            Ini            0.829098   6.324555e+00
Caught amgx exception: CUSPARSE_STATUS_MAPPING_ERROR
 at: /home-2/marsaev/beta_test/release_1.2/amg/base/src/amgx_cusparse.cu:1051
Stack trace:
 /opt/software/amgx//lib/libamgxsh.so : ()+0x6b2610
 /opt/software/amgx//lib/libamgxsh.so : ()+0x6b4ae1
 /opt/software/amgx//lib/libamgxsh.so : ()+0x6b506e
 /opt/software/amgx//lib/libamgxsh.so : ()+0x56ea86
 /opt/software/amgx//lib/libamgxsh.so : ()+0x57fb21
 /opt/software/amgx//lib/libamgxsh.so : ()+0x6c5a15
 /opt/software/amgx//lib/libamgxsh.so : ()+0xffcb48
 /opt/software/amgx//lib/libamgxsh.so : ()+0x7e7e26
 /opt/software/amgx//lib/libamgxsh.so : ()+0x7e996a
 /opt/software/amgx//lib/libamgxsh.so : ()+0x6e7a32
 /opt/software/amgx//lib/libamgxsh.so : AMGX_solver_solve_with_0_initial_guess()+0xbf6
 ./hgfTest() [0x434e58]
 ./hgfTest() [0x40adf2]
 ./hgfTest() [0x4089cc]
 /lib64/libc.so.6 : __libc_start_main()+0xf0
 ./hgfTest() [0x409169]

In case anyone else is having this issue – it occurred for me when using AMGX_solver_solve_with_0_initial_guess. However, when I set my solution vector to 0 first, and then used AMGX_solver_solve, the problem does not occur.