octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling development sources


From: Carlo de Falco
Subject: Re: compiling development sources
Date: Thu, 11 Feb 2010 09:16:25 +0100


On 11 Feb 2010, at 03:39, Ben Abbott wrote:

It may be that your qr trouble has to do with lacking a qrupdate package?

I began constructing a qrupdate package for Fink, but gave up before completing it. However, the result is sufficient for Octave's purposes.

        
http://sourceforge.net/tracker/index.php?func=detail&aid=2861045&group_id=17203&atid=414256

If you place the info, patch, and tar.gz files in the locations below, Fink will see them and allow you to install qrupdate (you may need to scanpackages and index).

        /sw/fink/src/qrupdate-1.0.1.tar.gz
        /sw/fink/10.6/local/main/finkinfo/sci/qrupdate.info
        /sw/fink/10.6/local/main/finkinfo/sci/qrupdate.patch

You can find the qrupdate-1.0.1.tar.gz file at the link below.

        http://sourceforge.net/projects/qrupdate/files/

I haven't tried to produce a Fink package for the more recent qrupdate-1.1.x. If you are interested in trying, at a minimum, you'll need to modify qrupdate.info to reference the proper tar.gz file and change the associated MD5 as well.

Ben

Hi,

I have compiled qrupdate-1.1 with g95 and I am linkng against it.
If, eventually, I get my Octave install working I will consider creating a fink package and/or an application bundle
but at the moment I am still stuck with the crashes during 'make check'

running the tests in qr.cc manually I can proceed without error until the following:


Ac = [0.620405 + 0.956953i 0.480013 + 0.048806i 0.402627 + 0.338171i;
      0.589077 + 0.658457i  0.013205 + 0.279323i  0.229284 + 0.721929i;
      0.092758 + 0.345687i  0.928679 + 0.241052i  0.764536 + 0.832406i;
      0.912098 + 0.721024i  0.049018 + 0.269452i  0.730029 + 0.796517i;
0.112849 + 0.603871i 0.486352 + 0.142337i 0.355646 + 0.151496i ];

 uc = [0.20351 + 0.05401i;
      0.13141 + 0.43708i;
      0.29808 + 0.08789i;
      0.69821 + 0.38844i;
      0.74871 + 0.25821i ];

 vc = [0.85839 + 0.29468i;
      0.20820 + 0.93090i;
      0.86184 + 0.34689i ];


 [Q,R] = qr(Ac);
 [Q,R] = qrupdate(Q,R,uc,vc);

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x00000000
0x8fe18c02 in __dyld_misaligned_stack_error ()
(gdb)

so it seems qrupdate works for real matrices/vectors but fails for complex? any clue what can be wrong? is there any more information I should provide?

c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]