Before i ask this question i just want to ask, where can i find a decent manual with few working examples for CLAPACK? Its been 2 days i am using it and i couldnt find any online reference to it.

I am trying to solves a system of linear equations A*X = B with a symmetric positive definite matrix A using the Cholesky factorization.

My Dimension of A is 3500 by 3500 and B is 4 by 3500.

I am trying to use spotrs_ method to do so.

Before i am calling sports_, i am calling spotrf_(&uplo,&n,A,&lda,&info); where i have taylormade r11 irons='L'; n=3500;lda=3500.

The after i get A, i call spotrs_ method, spotrs_(&uplo,&n,&nrhs,A,&lda,B,&ldb,&info) where uplo='L', n=3500, nrhs=3500, lda=3500, lbd=3500.

With following parameters, i get following error:- Unhandled exception at 0x01073e3d in Interpolate.exe: 0xC0000005: Access violation reading location 0x0ad67000.

My Matrix A and B are real and converted in 1D i.e. A is 3500*3500 long and B is 4*3500 long.

help me