Iam using the MKL (version 8.1.1) DSS solver. I am linking statically to mkl_c.lib, mkl_solver.lib and libguide.lib
When I build and run the attached code, it runs fine on my computer on which MKL is installed. It also runs fine on some other computers. But it results in an "access violation" when run on some computers. Also, this only happens when the three arrays rowIndex, columns and values are dynamically allocated. When the size of these arrays becomes larger, the problem does not happen. The sizes I have chosen in the attached code are very small, but such a situation arises as a special case in a larger program. I would appreciate any pointers. Thanks.
When I build and run the attached code, it runs fine on my computer on which MKL is installed. It also runs fine on some other computers. But it results in an "access violation" when run on some computers. Also, this only happens when the three arrays rowIndex, columns and values are dynamically allocated. When the size of these arrays becomes larger, the problem does not happen. The sizes I have chosen in the attached code are very small, but such a situation arises as a special case in a larger program. I would appreciate any pointers. Thanks.
链接已复制
0 回复数