Hi Sanhita, This status returned by the functionindicatesan error in the initialization of Intel MKL VSL function you call in your code. It makes sense to root-cause the reason of this status asits disabling would not help you to continue the computations in the correct way. Please, provide some hints about this use of the MKL routine (how you call it, which parameters you pass into the function etc);or,as Gennady suggests, please provide the short test case that demonstrates the issue with short description of your environment (OS, CPU, compiler, mode, link line etc). Thanks, Andrey
Thanks for your prompt response. The issue seems to be resolved.
I got to the root of this. I would like to share this.
I was using the function vslSaveStreamF(const VSLStreamStatePtr, const char*) to save the stream state to some user temp file, but the second argument was not set to NULL when there is no file path specified in certain cases. It considered the const char * argument as a bad pointer and hence threw the mentioned error. Basically the error code returned by vslSaveStreamF was -3 which stands for "VSL_RNG_ERROR_BAD_STREAM" which I then found in one of your documentations.
The issue is resolved by checking if the file name is present or not and setting the character pointer to NULL before calling the vslsaveStreamF function of the MKL.