Intel® Math Kernel Library

Obtaining State values in Random Number Generators

I find myself frustrated that the only way to save states in the RNG's seems to be to write to a file, or to use the vslCopyStreamState function to another allocated stream.

I want to be able to view the actual "seed" values (ie. the states). Is there ANY way to do this? I find that even if I use the SaveStatesF to save to a file, the data in the file does not look like the state values at all. (For example, for the Mersenne Twister generator, i initialize all 625 states to 1, but when i write it to a file, i do not see anything even close to all 1's).

Help with C call of dgesv in Visual Studio 2005

I am a fortran guy and I'm trying to learn how to use C, so I can use Nvidia's CUDA.

So, I have been trying to write a code in C that will solve Ax=b.

When I try to compile the file, everything is OK, but when I try to build the solution, it gives me all sorts of unresolved externals. For example, here are a couple of the errors:

MKL Memory and Managed Interop ??

I'm throwing this one out to the forum to gleam tips and techniques regarding C++/CLI, memory functions, and blittable data structures to better interface with mkl functions.

NOTE: I'm currently using managed arrays and pining pointers (which implicitly map to native pointers* when passed to mkl functions).

So to my questions:

//////////////

Q1) Regarding aligning arrays to 16-byte boundaries, as suggested in the MKL Manuals.

Heap Corruption and crash when calling pardiso

Hello,

I have hopefully linked pardiso correctly to my application? When I call pardiso (with phase=12) in the debug configuration, I recieve a debug error:

Microsoft Visual C++ Debug Library

Debug Error!

Program: c:lala...

HEAP CORRUPTION DETECTED: before Normal block (#0) at 0x02150FD0.

CRT detected that the application wrote to memory before the start of heap buffer.

I am guessing that pardiso is somehow writing where is shouldn't be in memory?

Has anybody seen this before? :<

Iterative Sparse Complex Linear System Solver

Sir,

I looked through MLK and IMSL libraries for a general purpose iterative sparse system solver for complex matrices (non-Hermitian). I could notfind one. I only found two direct sparse solversin IMSL.Can you tell me if there is sucha solver, e.g. based on BI-CGSTAB or QMR in the MLK and IMSL libraries? Or,how soon we'll have them in the nextrelease?

Thank you in advance!

David

MKL DFT with Matlab MEX application: environment variable needed

Hello. I'm trying to use MKL DFT's in a MEX application. I recall from a few years backthat there's an environment variable that needs to be set, but I don't remember the reasonor exactly what it is, and can't find it online. Without it,Matlab crashes during the FFT plan creation. If someone can remind me what the variable is, I would appreciate it. I am using Matlab 7 and MKL 10.

Subscribe to Intel® Math Kernel Library