Opened 11 years ago
Closed 11 years ago
#42514 closed defect (fixed)
arpack 3.1.4 build failed on Snow Leopard
Reported by: | enrico.piccinini@… | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | arpack |
Description
Hi! I'm in trouble with the upgrade to arpack version 3.1.4 on Snow Leopard (x86_64). It looks like as if some entries in the lapack library are missing (see attached log file). Thank you for supporting.
Attachments (1)
Change History (9)
Changed 11 years ago by enrico.piccinini@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Owner: | changed from macports-tickets@… to mmoll@… |
comment:2 follow-up: 3 Changed 11 years ago by mamoll (Mark Moll)
I don't see anything about missing lapack symbols. I do notice that you have octave with the atlas variant installed and arpack with the accelerate variant. So they are using different version of Lapack. That seems like a likely source of problems. Can you deactivate octave (sudo port -f deactivate octave) and then upgrade arpack? If that works, perhaps it's best to install octave with the same variants.
comment:3 Changed 11 years ago by enrico.piccinini@…
I'm sorry, it still doesn't work after deactivating octave. Same error as before (quoting from logfile):
:info:build libtool: link: /opt/local/bin/gfortran-mp-4.8 -dynamiclib -o .libs/libarpack.2.dylib .libs/libarpack.lax/libarpacksrc.a/cgetv0.o .libs/libarpack.lax/libarpacksrc.a/cnaitr.o .libs/libarpack.lax/libarpacksrc.a/cnapps.o .libs/libarpack.lax/libarpacksrc.a/cnaup2.o .libs/libarpack.lax/libarpacksrc.a/cnaupd.o .libs/libarpack.lax/libarpacksrc.a/cneigh.o .libs/libarpack.lax/libarpacksrc.a/cneupd.o .libs/libarpack.lax/libarpacksrc.a/cngets.o .libs/libarpack.lax/libarpacksrc.a/csortc.o .libs/libarpack.lax/libarpacksrc.a/cstatn.o .libs/libarpack.lax/libarpacksrc.a/dgetv0.o .libs/libarpack.lax/libarpacksrc.a/dlaqrb.o .libs/libarpack.lax/libarpacksrc.a/dnaitr.o .libs/libarpack.lax/libarpacksrc.a/dnapps.o .libs/libarpack.lax/libarpacksrc.a/dnaup2.o .libs/libarpack.lax/libarpacksrc.a/dnaupd.o .libs/libarpack.lax/libarpacksrc.a/dnconv.o .libs/libarpack.lax/libarpacksrc.a/dneigh.o .libs/libarpack.lax/libarpacksrc.a/dneupd.o .libs/libarpack.lax/libarpacksrc.a/dngets.o .libs/libarpack.lax/libarpacksrc.a/dsaitr.o .libs/libarpack.lax/libarpacksrc.a/dsapps.o .libs/libarpack.lax/libarpacksrc.a/dsaup2.o .libs/libarpack.lax/libarpacksrc.a/dsaupd.o .libs/libarpack.lax/libarpacksrc.a/dsconv.o .libs/libarpack.lax/libarpacksrc.a/dseigt.o .libs/libarpack.lax/libarpacksrc.a/dsesrt.o .libs/libarpack.lax/libarpacksrc.a/dseupd.o .libs/libarpack.lax/libarpacksrc.a/dsgets.o .libs/libarpack.lax/libarpacksrc.a/dsortc.o .libs/libarpack.lax/libarpacksrc.a/dsortr.o .libs/libarpack.lax/libarpacksrc.a/dstatn.o .libs/libarpack.lax/libarpacksrc.a/dstats.o .libs/libarpack.lax/libarpacksrc.a/dstqrb.o .libs/libarpack.lax/libarpacksrc.a/sgetv0.o .libs/libarpack.lax/libarpacksrc.a/slaqrb.o .libs/libarpack.lax/libarpacksrc.a/snaitr.o .libs/libarpack.lax/libarpacksrc.a/snapps.o .libs/libarpack.lax/libarpacksrc.a/snaup2.o .libs/libarpack.lax/libarpacksrc.a/snaupd.o .libs/libarpack.lax/libarpacksrc.a/snconv.o .libs/libarpack.lax/libarpacksrc.a/sneigh.o .libs/libarpack.lax/libarpacksrc.a/sneupd.o .libs/libarpack.lax/libarpacksrc.a/sngets.o .libs/libarpack.lax/libarpacksrc.a/ssaitr.o .libs/libarpack.lax/libarpacksrc.a/ssapps.o .libs/libarpack.lax/libarpacksrc.a/ssaup2.o .libs/libarpack.lax/libarpacksrc.a/ssaupd.o .libs/libarpack.lax/libarpacksrc.a/ssconv.o .libs/libarpack.lax/libarpacksrc.a/sseigt.o .libs/libarpack.lax/libarpacksrc.a/ssesrt.o .libs/libarpack.lax/libarpacksrc.a/sseupd.o .libs/libarpack.lax/libarpacksrc.a/ssgets.o .libs/libarpack.lax/libarpacksrc.a/ssortc.o .libs/libarpack.lax/libarpacksrc.a/ssortr.o .libs/libarpack.lax/libarpacksrc.a/sstatn.o .libs/libarpack.lax/libarpacksrc.a/sstats.o .libs/libarpack.lax/libarpacksrc.a/sstqrb.o .libs/libarpack.lax/libarpacksrc.a/zgetv0.o .libs/libarpack.lax/libarpacksrc.a/znaitr.o .libs/libarpack.lax/libarpacksrc.a/znapps.o .libs/libarpack.lax/libarpacksrc.a/znaup2.o .libs/libarpack.lax/libarpacksrc.a/znaupd.o .libs/libarpack.lax/libarpacksrc.a/zneigh.o .libs/libarpack.lax/libarpacksrc.a/zneupd.o .libs/libarpack.lax/libarpacksrc.a/zngets.o .libs/libarpack.lax/libarpacksrc.a/zsortc.o .libs/libarpack.lax/libarpacksrc.a/zstatn.o .libs/libarpack.lax/libarpackutil.a/cmout.o .libs/libarpack.lax/libarpackutil.a/cvout.o .libs/libarpack.lax/libarpackutil.a/dmout.o .libs/libarpack.lax/libarpackutil.a/dvout.o .libs/libarpack.lax/libarpackutil.a/icnteq.o .libs/libarpack.lax/libarpackutil.a/icopy.o .libs/libarpack.lax/libarpackutil.a/iset.o .libs/libarpack.lax/libarpackutil.a/iswap.o .libs/libarpack.lax/libarpackutil.a/ivout.o .libs/libarpack.lax/libarpackutil.a/second_NONE.o .libs/libarpack.lax/libarpackutil.a/smout.o .libs/libarpack.lax/libarpackutil.a/svout.o .libs/libarpack.lax/libarpackutil.a/zmout.o .libs/libarpack.lax/libarpackutil.a/zvout.o -lblas -llapack -O2 -m64 -install_name /opt/local/lib/libarpack.2.dylib -compatibility_version 3 -current_version 3.0 -Wl,-single_module :info:build Undefined symbols for architecture x86_64: :info:build "_lsame_", referenced from: :info:build _clascl_ in liblapack.a(clascl.o) :info:build _clanhs_ in liblapack.a(clanhs.o) :info:build _claset_ in liblapack.a(claset.o) :info:build _clacpy_ in liblapack.a(clacpy.o) :info:build _ctrevc_ in liblapack.a(ctrevc.o) :info:build _ctrsen_ in liblapack.a(ctrsen.o) :info:build _cunm2r_ in liblapack.a(cunm2r.o) :info:build ... :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: error: ld returned 1 exit status :info:build make[1]: * [libarpack.la] Error 1
comment:4 follow-up: 5 Changed 11 years ago by mamoll (Mark Moll)
Can you try the following:
sudo port -f deactivate atlas sudo port clean arpack sudo port upgrade arpack
I suspect that somehow still links against the atlas version of lapack instead of the Accelerate version. Of course, you could also try to install arpack+atlas instead of atlas+accelerate.
comment:7 Changed 11 years ago by enrico.piccinini@…
Just followed your instructions: deactivate atlas and upgrade arpack with default settings.
comment:8 Changed 11 years ago by mamoll (Mark Moll)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Logfile