[Trilinos-Users] Installing Trilinos

Bartlett, Roscoe A. bartlettra at ornl.gov
Wed Jan 21 16:37:07 MST 2015


Use:

    -D UMFPACK_LIBRARY_DIRS=/opt/python-2.5/lib/python2.5/site-packages/cvxopt

not “NAMES”.  The “NAME” are what is passed into FIND_LIBRARY() and CMake will match lib<name>.so or lib<name>.a (or on Windows <name>.lib or <name>.dll).


-Ross


From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-users-bounces at software.sandia.gov] On Behalf Of Nigel Horne
Sent: Wednesday, January 21, 2015 4:39 PM
To: trilinos-users at software.sandia.gov
Subject: Re: [Trilinos-Users] Installing Trilinos

On 1/21/15 4:22 PM, Bartlett, Roscoe A. wrote:
Nigel,

This Trilinos document is not being kept up to date but the TriBITS template tells you how to figure this out.  See:

Where is the up to date documentation?


    https://tribits.org/doc/TribitsBuildQuickRef.html#determine-the-list-of-packages-that-can-be-enabled

Thanks - I will look there.

I have moved on a bit.  My do-configure now says this:

EXTRA_ARGS="-DTrilinos_ENABLE_MPI=ON -DTPL_ENABLE_UMFPACK:BOOL=ON -DTPL_ENABLE_SUPERLU:BOOL=ON -DTPL_ENABLE_MPI:BOOL=ON -DUMFPACK_LIBRARY_NAMES:PATH=/opt/python-2.5/lib/python2.5/site-packages/cvxopt/umfpack.so"

cmake \
  -D CMAKE_BUILD_TYPE:STRING=DEBUG \
  -D Trilinos_ENABLE_TESTS:BOOL=ON \
  -D CMAKE_INSTALL_PREFIX:PATH=usr/local/trilinos/11.12.1 \
  -D BUILD_SHARED_LIBS=ON \
  $EXTRA_ARGS \
  ../trilinos-11.12.1-Source


The build fails at:
-- Processing enabled TPL: MPI
-- Processing enabled TPL: UMFPACK
--   Searching for library '/opt/python-2.5/lib/python2.5/site-packages/cvxopt/umfpack.so' ...
--   Warning: Could not find a library in the set "/opt/python-2.5/lib/python2.5/site-packages/cvxopt/umfpack.so" for the TPL UMFPACK!  Please manually set UMFPACK_LIBRARY_DIRS and/or UMFPACK_LIBRARY_NAMES or just TPL_UMFPACK_LIBRARIES to point to the UMFPACK libraries!
CMake Error at cmake/tribits/package_arch/TribitsTplDeclareLibraries.cmake:367 (MESSAGE):
  Could not find the UMFPACK Library! Please manually set
  UMFPACK_LIBRARY_DIRS and/or UMFPACK_LIBRARY_NAMES or just
  TPL_UMFPACK_LIBRARIES to point to the UMFPACK libraries!

The file does exist:

[hornenj at c6build64 build]$ ls -l /opt/python-2.5/lib/python2.5/site-packages/cvxopt/umfpack.so
-rwxr-xr-x. 1 root root 516480 Apr  6  2012 /opt/python-2.5/lib/python2.5/site-packages/cvxopt/umfpack.so
[hornenj at c6build64 build]$

KR,

-Nigel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://software.sandia.gov/pipermail/trilinos-users/attachments/20150121/5cdb23be/attachment.html>


More information about the Trilinos-Users mailing list