Opened 15 years ago

Closed 13 years ago

#23197 closed defect (worksforme)

slepc 3.0.0-p7 fails to build when atlas is installed

Reported by: hseybold@… Owned by: mamoll (Mark Moll)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: slepc

Description

slepc fails to build on snow leopard 10.6 due to problems when linking with petsc (see attached config.log)

petsc installation went through without problems

petsc paths and environments are set (see slpec_install.log)

cheers hansjoerg

Attachments (1)

slepc_configure.log (2.2 KB) - added by hseybold@… 15 years ago.
slepc configure.log

Download all attachments as: .zip

Change History (11)

Changed 15 years ago by hseybold@…

Attachment: slepc_configure.log added

slepc configure.log

comment:1 Changed 15 years ago by hseybold@…

Cc: hseybold@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: hseybold@… removed
Owner: changed from macports-tickets@… to mmoll@…

Please remember to cc the maintainer, and note that you do not need to be in cc when you are the reporter.

comment:3 Changed 15 years ago by mamoll (Mark Moll)

Can you install slepc without the arpack variant enabled?

comment:4 Changed 15 years ago by mamoll (Mark Moll)

During the configure stage it seems to be failing because of an undefined LAPACK symbol, when testing if it can link to PETSc. It *is* including "-llapack -lblas" in the link flags, so this is very strange. I reinstalled slepc, looked at the configure.log and this doesn't happen for me. I am stumped. You are using MacPorts 1.8.*, right? The only difference appears to be in the output of "port -dv install slepc" which you sent me by email.

comment:5 in reply to:  4 Changed 15 years ago by Alberto.Verga@…

Replying to mmoll@…:

During the configure stage it seems to be failing because of an undefined LAPACK symbol, when testing if it can link to PETSc. It *is* including "-llapack -lblas" in the link flags, so this is very strange. I reinstalled slepc, looked at the configure.log and this doesn't happen for me. I am stumped. You are using MacPorts 1.8.*, right? The only difference appears to be in the output of "port -dv install slepc" which you sent me by email.

I've got the same error (in slepc-3.0.0-p7/conf/configure.log)

Undefined symbols:
  "_dgeqrf", referenced from:
      _PCCreateTransferOp_ASA in libpetscksp.a(asa.o)
ld: symbol(s) not found

I tried without and with the variant sudo port install slepc [+arpack].

I do not know if this information is relevant, I'm using a "arch i386" computer:

DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.3.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386

Cheers,

  1. Verga

comment:6 Changed 15 years ago by david.bilge+macports@…

I've got the exact same problem as A. Varga here: Undefined Symbols" on a 10.6 with i386.

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Summary: slepc 3.0.0-p7 fails to buildslepc 3.0.0-p7 fails to build when atlas is installed

This is apparently picking up bits of atlas without declaring a dependency.

comment:8 Changed 14 years ago by mamoll (Mark Moll)

I don't have atlas installed, and slepc installs without a hitch. Does the problem go away if you deactivate atlas before installing slepc? If it turns out that this interaction between atlas and slepc is the problem, how can I either force use of the system-installed version of LAPACK or make it work correctly with atlas? SLEPC's build system is rather non-standard, so it's hard to figure out how to make it do The Right Thing.

comment:9 Changed 14 years ago by mamoll (Mark Moll)

Also, I just updated the port to the latest release (3.1-p6) in r76611, so maybe things in the build system have been fixed...

comment:10 Changed 13 years ago by mamoll (Mark Moll)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.