LAPACK Archives

[Lapack] CLAPACK segmentation fault

Hi Mauritz,
CLAPACK has indeed some problems.
If you are using Cygwin, a better way to go would be to use LAPACKE : Standard 
C language APIs for LAPACK
More info here: 
http://www.netlib.org/lapack/#_standard_c_language_apis_for_lapack
LAPACKE depends on LAPACK that is in Fortran, but as you are under Cygwin this 
shouldn't be a problem as gfortran is available
Sincerely,
Julie Langou
On Sep 14, 2011, at 7:02 AM, Mauritz van Schalkwyk wrote:

Hi

I have compiled CLAPACK-3.2.1 and the associated standard BLAS
under Cygwin using gcc 3.4.4 with optimization turned off for all
libraries.  (Note: I have only compiled the files for double.)
When running xeigtstd I get a segmentation fault:

./xeigtstd < sep.in > dsep.out 2>&1
/bin/sh: line 1: 10860 Segmentation fault      (core dumped)
./xeigtstd < sep.in > dsep.out 2>&1
make: *** [dsep.out] Error 139

I get this error message for all the input files, and also when
just running xeigtstd by itself, so the problem seems to be
unrelated to a specific input.

The core dump file reads:

Exception: STATUS_STACK_OVERFLOW at eip=005A35BB
eax=002CFBB8 ebx=61243646 ecx=00092D08 edx=00000000 esi=61243653
edi=00000000
ebp=0028CD08 esp=0028CD00
program=C:\CLAPACK-3.2.1\TESTING\xeigtstd.exe, pid 12148, thread
main
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028CD08  005A35BB  (0059F9BA, 0059B6B8, 6120E728, 0059B715)
0028CD38  0059B7EA  (00000001, 612434EC, 010100F8, 61004BB9)
0028CD68  61007038  (00000000, 0028CDA4, 61006980, 7EFDE000)
End of stack trace


I am not too familiar with gdb but this is what I get when
running under gdb (the code was re-compiled with the -g to get
debug information)

(gdb) r
Starting program: /c/CLAPACK-3.2.1/TESTING/xeigtstd.exe
[New Thread 11092.0x2ecc]
warning: cYgFFFFFFFF 6117EC60
[New Thread 11092.0x29d8]
warning: cYgstd 28cce5 d 3

Program received signal SIGSEGV, Segmentation fault.
0x005a35bb in probe ()
(gdb) backtrace
#0  0x005a35bb in probe ()
#1  0x00000000 in ?? ()

I don't find a probe function in any of the CLAPACK files,
perhaps it comes from another library?

More info:
All the xblat* tests ran without errors, so BLAS appears to be
OK.
./xlintstd < dtest.in  runs fine.

The only related reference to xeigtstd I could find on the LAPACK
forum is

http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&t=2246&p=641
9&hilit=xeigtstd&sid=e3402491759d7e34f3976b4033e41054#p6419

and it went unanswered.


Any idea where to look for the problem?

Thanks in advance for the help.

Regards
Mauritz van Schalkwyk

ACUTRONIC Switzerland Ltd
Rosengartenstrasse 25
8608 Bubikon
Switzerland

direct +41 55 253 55 52
mvanschalkwyk@Domain.Removed

phone +41 55 253 55 55
fax +41 55 253 55 56
www.acutronic.com

The Driving Force in Motion Simulation

This message contains confidential information and is intended
only for the individual named herein. If you are not the herein
named addressee you should not disseminate, distribute copy or
otherwise make use of this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by
mistake, and delete this e-mail from your system.




_______________________________________________
Lapack mailing list
Lapack@Domain.Removed
http://lists.eecs.utk.edu/mailman/listinfo/lapack


<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or