Failing tests under OSX 10.4

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

Failing tests under OSX 10.4

Postby christian » Thu Oct 13, 2005 11:36 am

Dear ScaLapack specialists,

I recently compiled Scalapack on an Xserve cluster
(16 dual G5 nodes, 2Gb/node, OSX 10.4.2, xlf 8.1, xlc ; myrinet interface with home-compiled mpich-mx).

xcpblas1tst and xzpblas1tst tests fail on routines pcdotu, pcdotc pzdotu, pzdotc.
All tests with level 2 and 3 routines are fine.

I get crash logs, for example :

Host Name: node-tiger-01
Date/Time: 2005-10-13 15:26:58.898 +0200
OS Version: 10.4.2 (Build 8D40)
Report Version: 3

Command: xzpblas1tst
Parent: sshd [489]

Version: ??? (???)

PID: 491
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xbc4d7518

Thread 0 Crashed:
0 libBLAS.dylib 0x91ecb36c ATL_zdot_xp0yp0aXbX + 48
1 libBLAS.dylib 0x91e85c0c ZDOTU + 76
2 xzpblas1tst 0x000635d8 zvvdotu + 56 (crt.c:355)
3 xzpblas1tst 0x000375b8 pzdotu + 3096 (crt.c:355)
4 xzpblas1tst 0x000044b0 main + 6896 (crt.c:355)
5 xzpblas1tst 0x00002578 _start + 344 (crt.c:272)
6 xzpblas1tst 0x0000241c start + 60

Thread 1:
0 libSystem.B.dylib 0x900022cc ioctl + 12
1 libmyriexpress.dylib 0x003558c0 mx__ioctl + 16 (mx__fops.c:329)
2 libmyriexpress.dylib 0x00353e94 mx__progress + 420 (mx__lib.c:1512)
3 libSystem.B.dylib 0x9002c3b4 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000091ecb36c srr1: 0x100000000000f030 vrsave: 0x0000000000000000
cr: 0x44242244 xer: 0x0000000000000000 lr: 0x0000000091e85c0c ctr: 0x000000003fb7bab9
r0: 0x0000000091e85c0c r1: 0x00000000bffff2a0 r2: 0x000000009240b344 r3: 0x000000003fb7baba
r4: 0x00000001bc4d7510 r5: 0x00000000fc4d8140 r6: 0x00000000bffff410 r7: 0x0000000000000010
r8: 0x00000000bffff2e0 r9: 0x000000003fc4d814 r10: 0x0000000091ecb344 r11: 0x0000000000000001
r12: 0x0000000091e85bc0 r13: 0x0000000000000000 r14: 0x000000000000000c r15: 0x0000000020000000
r16: 0x00000000000b75c0 r17: 0x0000000000000001 r18: 0x0000000000000000 r19: 0x0000000000000002
r20: 0x00000000000b8d40 r21: 0x0000000000000002 r22: 0x0000000000000002 r23: 0x00000000000b6ac0
r24: 0x00000000bffff444 r25: 0x00000000000b69e0 r26: 0x0000000000000000 r27: 0x0000000000000002
r28: 0x0000000000000001 r29: 0x0000000000604020 r30: 0x00000000bffff3d4 r31: 0x00000000000b6ac0

Binary Images Description:
0x1000 - 0xb4fff xzpblas1tst /NFS/test/SCALAPACK/SCALAPACK/TESTING/xzpblas1tst
0x348000 - 0x35bfff libmyriexpress.dylib /opt/mx/lib/libmyriexpress.dylib
0x8fe00000 - 0x8fe51fff dyld 43.1 /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x91d3a000 - 0x91d5afff libmx.A.dylib /usr/lib/libmx.A.dylib
0x91d60000 - 0x91dc5fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x91dcf000 - 0x91e61fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x91e7b000 - 0x9240bfff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x92453000 - 0x92763fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x9361b000 - 0x93623fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x9737c000 - 0x9739bfff 3.1.1 (vecLib 3.1.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0xd4105000 - 0xd45f9fff libxlf90_r.A.dylib /opt/ibmcmp/lib/libxlf90_r.A.dylib
0xd4905000 - 0xd4906fff libxlfmath.A.dylib /opt/ibmcmp/lib/libxlfmath.A.dylib

Can somebody help me ? Any hint is welcomed !
Thank you very much in advance
Posts: 2
Joined: Thu Oct 13, 2005 9:37 am
Location: Univ. P. et M. Curie, Paris, France

Postby Julie » Mon Oct 24, 2005 10:08 am


There is a real problem with these blas1 routines: CDOTC, CDOTU, ZDOTC, and ZDOTU for Mac OS/X with the xlf compiler and Veclib.

As you are using Vectib in your
Code: Select all
BLASLIB       = -Wl,-framework -Wl,vecLib

here is an answer to your problem given by the people from Mac:

Julie Langou
Posts: 299
Joined: Wed Feb 23, 2005 12:32 am
Location: ICL, Denver. Colorado

Postby christian » Mon Oct 24, 2005 10:54 am

Thank you very much for your answer.

After my inital post, I had found that note and tried to write wrappers, but I've been unsuccessful. Since you confirmed the problem is actually there,
I'll try harder.

Thanks again.
Posts: 2
Joined: Thu Oct 13, 2005 9:37 am
Location: Univ. P. et M. Curie, Paris, France

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest