Opened 8 years ago

Closed 8 years ago

#51090 closed defect (fixed)

slepc @3.6.2_0 +arpack +mpich configure failure

Reported by: aeronova Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: seanfarley (Sean Farley)
Port: slepc

Description

Dear all,

I've got the following configuration error when I tried to build slepc 3.6.2 w/ +arpack +mpich:

--->  Configuring slepc
Error: org.macports.configure for port slepc returned: configure failure: command execution failed
Please see the log file for port slepc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_slepc/slepc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

In the main.log file, the error has something to do with petsc:

:info:configure ERROR: Unable to link with PETSc
:info:configure ERROR: See "installed-arch-macports/lib/slepc/conf/configure.log" file for details
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_slepc/slepc/work/v3.6.2" && ./configure --prefix=/opt/local --prefix=/opt/local/lib/slepc --with-arpack-dir=/opt/local --with-arpack-flags=-lparpack,-larpack
:info:configure Exit code: 1

In the configure.log file, I found that there are undefined symbols:

Undefined symbols for architecture x86_64:
  "_get_rn_dbl_simple_mpi", referenced from:
      import-atom in libpetsc.dylib
  "_init_rng_simple_mpi", referenced from:
      import-atom in libpetsc.dylib
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
makefile:2: recipe for target 'checklink' failed
gmake: *** [checklink] Error 1

ERROR: Unable to link with PETSc

I'd appreciate it if someone can help me fix this link error. FYI, the active port of petsc is the following:

petsc @3.6.3_2+accelerate+debug+hdf5+hwloc+hypre+ml+mpich+mumps+netcdf+parmetis+sprng+suitesparse+sundials+yaml (active)

Attachments (3)

main_and_configure.zip (7.2 KB) - added by aeronova 8 years ago.
main.log and configure.log
main.log (79.0 KB) - added by aeronova 8 years ago.
configure.log (3.6 KB) - added by aeronova 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by aeronova

Attachment: main_and_configure.zip added

main.log and configure.log

Changed 8 years ago by aeronova

Attachment: main.log added

Changed 8 years ago by aeronova

Attachment: configure.log added

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

Owner: changed from macports-tickets@… to sean@…
Status: newassigned

Thanks for the report. I'll look into this.

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

Resolution: fixed
Status: assignedclosed

I think this has been fixed in a newer release of slepc.

Note: See TracTickets for help on using tickets.