This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Help: working with large gsl_vector
- From: Toan T Nguyen <ntt at physics dot ucla dot edu>
- To: gsl-discuss at sources dot redhat dot com
- Date: Fri, 10 Dec 2004 23:51:19 -0800
- Subject: Help: working with large gsl_vector
Hi,
I'm using the multidimensional minimization procedure in GSL and have problem
with large vectors. The dimensionality of my vectors is 300000 which means my
index variable is of long integer type. gsl_vector, however, works only with
size_t type only. I couldnot even call gsl_vector_alloc(300000) . It says:
gsl: init_source.c:29: ERROR: vector length n must be positive integer
Default GSL error handler invoked.
Can somebody here give an advice? I'm quite new to GSL and I search the
mailing list archives but could not find an answer?
For clarity, my system is an Athlon64 using SuSE x86_64, gcc 3.3.3
Thanks a lot in advance,
Toan