Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#39072 closed defect (fixed)

SuiteSparse @4.1.0_0+atlas: destroot fails with undefined symbol "_dgemm_" for x86_64

Reported by: olivier@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: joseph.e.riedel@…, gabriel.ben.jamin@…, aarakes@…, michaelld (Michael Dickens)
Port: SuiteSparse

Description (last modified by mf2k (Frank Schima))

I'm trying to install octave (sudo port install octave-devel +atlas+docs), but i keep getting a failure when processing SuiteParse. I'm new to this so i did a quick search in the tickets, but could not find anything that look close.

:debug:destroot Executing proc-post-org.macports.destroot-destroot-0
:info:destroot Undefined symbols for architecture x86_64:
:info:destroot   "_dgemm_"  

and a lot more in the logs

Attachments (2)

main.log (401.1 KB) - added by olivier@… 12 years ago.
main.log
main.2.log (407.2 KB) - added by gabriel.ben.jamin@… 11 years ago.

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by olivier@…

Attachment: main.log added

main.log

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: SuiteSparse added; SuiteParse removed
Summary: installing octave fails on suiteparse with undefined symbol for architectureSuiteSparse build fails with undefined symbol for architecture

In the future, please use WikiFormatting.

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: joseph.e.riedel@… added
Summary: SuiteSparse build fails with undefined symbol for architectureSuiteSparse @4.1.0_0+atlas: destroot fails with undefined symbol "_dgemm_" for x86_64

Has duplicate #40197.

Changed 11 years ago by gabriel.ben.jamin@…

Attachment: main.2.log added

comment:3 Changed 11 years ago by gabriel.ben.jamin@…

Had the same error. Log attached. Looks marginally different, remove if otherwise.

comment:4 Changed 11 years ago by gabriel.ben.jamin@…

Cc: gabriel.ben.jamin@… added

Cc Me!

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: aarakes@… added

Has duplicate #45728.

comment:6 Changed 10 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:7 Changed 10 years ago by michaelld (Michael Dickens)

I don't see this issue on SuiteSparse 4.2.1, Xcode 6.1.0, OSX 10.9:

For anyone still having issues; please do:

sudo port clean SuiteSparse
sudo port selfupdate
sudo port install SuiteSparse +atlas

If this issue still happens, then just post back that it's still an issue & also include the output from the following commands:

port installed atlas
nm -a /opt/local/lib/libtatlas.dylib | grep ztrsm

comment:8 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Just tested this as well and it works for me so I'm closing this as fixed.

comment:9 Changed 10 years ago by macports.org@…

Just tried on OSX 10.9.5, Xcode 6.1.1, and getting the same error.

I tried the steps above (clean/selfupdate/install)

--->  Staging SuiteSparse into destroot
Error: org.macports.destroot for port SuiteSparse returned: command execution failed

In the log file:

:info:destroot Undefined symbols for architecture x86_64:
:info:destroot   "_dgemm_", referenced from:

Here's the info requested...

$ port installed atlas
The following ports are currently installed:
  atlas @3.10.2_1+clang+nofortran (active)

$ nm -a /opt/local/lib/libtatlas.dylib | grep ztrsm
000000000038f920 T _ATL_ztrsm
0000000000300a30 T _ATL_ztrsmKL_rk2
00000000003042d0 T _ATL_ztrsmKR_rk2
000000000040bb90 s _ATL_ztrsmKR_rk2.one
000000000038fcf0 T _ATL_ztrsmLLCN
000000000038fda0 T _ATL_ztrsmLLCU
000000000038fe50 T _ATL_ztrsmLLNN
000000000038ff00 T _ATL_ztrsmLLNU
000000000038ffb0 T _ATL_ztrsmLLTN
0000000000390060 T _ATL_ztrsmLLTU
0000000000390110 T _ATL_ztrsmLUCN
00000000003901c0 T _ATL_ztrsmLUCU
0000000000390270 T _ATL_ztrsmLUNN
0000000000390320 T _ATL_ztrsmLUNU
00000000003903d0 T _ATL_ztrsmLUTN
0000000000390480 T _ATL_ztrsmLUTU
0000000000390530 T _ATL_ztrsmRLCN
00000000003905e0 T _ATL_ztrsmRLCU
0000000000390690 T _ATL_ztrsmRLNN
0000000000390740 T _ATL_ztrsmRLNU
00000000003907f0 T _ATL_ztrsmRLTN
00000000003908a0 T _ATL_ztrsmRLTU
0000000000390950 T _ATL_ztrsmRUCN
0000000000390a00 T _ATL_ztrsmRUCU
0000000000390ab0 T _ATL_ztrsmRUNN
0000000000390b60 T _ATL_ztrsmRUNU
0000000000390c10 T _ATL_ztrsmRUTN
0000000000390cc0 T _ATL_ztrsmRUTU
0000000000404310 T _cblas_ztrsm

Any help appreciated!

comment:10 Changed 10 years ago by seanfarley (Sean Farley)

Try installing atlas without the +nofortran version.

comment:11 Changed 10 years ago by michaelld (Michael Dickens)

I added in a check to SuiteSparse to look for the +nofortran variant and error out if it is found. Hence, this ticket's issue has actually been fixed. For those having it, please do:

sudo port clean suitesparse atlas
sudo port selfupdate
sudo port install atlas
sudo port install suitesparse +atlas

and hopefully the above will now work.

Note: See TracTickets for help on using tickets.