Opened 12 years ago

Closed 12 years ago

#35176 closed defect (invalid)

SuiteSparse configuration makes Trilinos fail to install

Reported by: murilo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: SuiteSparse

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When installing Trilinos, which uses umfpack, I get the following error message:

Linking CXX shared library libamesos.dylib
Undefined symbols for architecture x86_64:
  "_cholmod_start", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_start)
  "_cholmod_transpose", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_transpose, _amesos_cholmod_transpose_unsym , _amesos_cholmod_transpose_sym )
  "_cholmod_analyze", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_free_sparse", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_free_sparse)
  "_cholmod_free_factor", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_print_common", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
  "_cholmod_finish", referenced from:
      _umf_i_cholmod in libumfpack.a(umf_i_cholmod.o)
     (maybe you meant: _amesos_cholmod_finish)
  "_SuiteSparse_time", referenced from:
      _umfpack_tic in libumfpack.a(umfpack_gn_tictoc.o)
      _umfpack_toc in libumfpack.a(umfpack_gn_tictoc.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [packages/amesos/src/libamesos.dylib] Error 1
make[1]: *** [packages/amesos/src/CMakeFiles/amesos.dir/all] Error 2
make: *** [all] Error 2

Change History (4)

comment:1 Changed 12 years ago by murilo@…

Cc: murilo@… added

Cc Me!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: murilo@… removed
Description: modified (diff)
Port: SuiteSparse added; math/SuiteSparse removed

Please attach the main.log file.

comment:3 in reply to:  2 Changed 12 years ago by murilo@…

Replying to ryandesign@…:

Please attach the main.log file.

I succeeded with the installation by adding the library /opt/local/lib/libSuiteSparse.dylib

to the variable TPL_UMFPACK_LIBRARIES:FILEPATH in the file CMakeCache.txt contained in the building diretory of Trilinos. The line in this file that worked was:

TPL_UMFPACK_LIBRARIES:FILEPATH=/opt/local/lib/libumfpack.a;/opt/local/lib/libamd.a;/opt/local/lib/libSuiteSparse.dylib

Thanks for the help

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

It sounds like the problem you're reporting is in Trilinos, not SuiteSparse. We don't seem to have a port for Trilinos in MacPorts yet. You should report the problem to the developers of Trilinos.

Note: See TracTickets for help on using tickets.