comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » LINBGC problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
LINBGC problem [message #60183] Tue, 06 May 2008 04:33
Marc.Gaset is currently offline  Marc.Gaset
Messages: 1
Registered: May 2008
Junior Member
Hello,

I have to solve a typical Ax=b problem, with an sparse A matrix, and I
want to use the LINBCG function.

I am using the sparse IDL functions, but due to the huge size of the
my A matrix (almost 65000*65000 float values) I have created my own
version of the sprsin function whitch is able to create correctly the
sparse matrix of A (A_sp) avoiding memory problems. The result vectors
A_sp.sa and A_sp.ija have a length of 313953 positions each.

SPRSAX and SPRSTP functions are able to process A_sp, but when I use

result=LINBCG(A_sp,b,x,ITER=iterations)

the function LINBCG apparently "does nothing": iterations=0, result=x,
and no error message. The code jumps to the next line as if nothing
wrong had happened.

I have used this code with a small A_sp, and works correctly, and when
using huge arrays always appear the error message "Array has too many
elements."

Why LINBCG apparently does nothing? It is possible that this function
has no error handling?


Thanks,

Marc
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Multiple draw widget events
Next Topic: how to "check" checkbox state?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:30:44 PDT 2025

Total time taken to generate the page: 0.32158 seconds