The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Compiling LAPACK on Solaris

Open discussion regarding features, bugs, issues, vendors, etc.

Compiling LAPACK on Solaris

Postby bruce.rothermal » Wed Feb 18, 2009 5:09 pm

I'm trying to compile LAPACK package version 3.2 on Solaris nevada or OpenSolaris. Compiler is SunStudio 11 and SunStudio 12. I keep running into this same error.

running gmake
gmake

.
.
.
gmake[2]: Leaving directory `/home/brucer/ports/lapack-3.2/TESTING/LIN'
Testing REAL LAPACK linear equation routines
./xlintsts < stest.in > stest.out 2>&1
Arithmetic Exception
gmake[1]: *** [stest.out] Error 136
gmake[1]: Leaving directory `/home/brucer/ports/lapack-3.2/TESTING'
gmake: *** [lapack_testing] Error 2

Can anyone give me some suggestions on how to find out more specifically what is failing. stest.out is always deleted by gmake because it is a target of the Makefile.

Thanks for you help.
bruce.rothermal
 
Posts: 1
Joined: Wed Feb 18, 2009 4:48 pm

Re: Compiling LAPACK on Solaris

Postby jurikm » Tue May 25, 2010 4:00 am

The same problem is with Sun Studio 12u1 and lapack 3.2.1, core file shows on amd64:

t@1 (l@1) program terminated by signal FPE (floating point divide by zero)
0x00000000004d80b1: slatm7_+0x02c9: divss %xmm7,%xmm1
(dbx) where
current thread: t@1
=>[1] slatm7_(0x3, 0x0, 0xfffffd7fffdfd8d0, 0xfffffd7fffdfd8cc, 0x699758, 0x2), at 0x4d80b1
[2] slatmt_(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x4d045a
[3] schkps_(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x43cef2
[4] MAIN_(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42d9f1
[5] main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x42975f

Disasm:

0x00000000004d809e: slatm7_+0x02b6: movslq 0xffffffffffffff98(%rbp),%rax
0x00000000004d80a2: slatm7_+0x02ba: movq %rax,0xffffffffffffffc0(%rbp)
0x00000000004d80a6: slatm7_+0x02be: decq %rax
0x00000000004d80a9: slatm7_+0x02c1: xorps %xmm7,%xmm7
0x00000000004d80ac: slatm7_+0x02c4: cvtsi2ss %rax,%xmm7
0x00000000004d80b1: slatm7_+0x02c9: divss %xmm7,%xmm1
0x00000000004d80b5: slatm7_+0x02cd: xorps 0x00000000001054c4 [ 0x1054c4 ](%rip),%xmm1
0x00000000004d80bc: slatm7_+0x02d4: call powf [PLT] [ 0x416720, .-0xc199c ]
0x00000000004d80c1: slatm7_+0x02d9: movss %xmm0,0xffffffffffffffac(%rbp)

(dbx) print $xmm7
$xmm7 = 0.0
(dbx) print $xmm1
$xmm1 = 5.2635442471209e-315

The same problem is also on SPARC system.
Any ideas?
jurikm
 
Posts: 1
Joined: Tue May 25, 2010 3:21 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 7 guests