[Trilinos-Users] Installing Trilinos

Nigel Horne hornenj at ncbi.nlm.nih.gov
Thu Jan 22 09:06:41 MST 2015


On 1/21/15 6:37 PM, Bartlett, Roscoe A. wrote:
>
> Use:
>
> -D UMFPACK_LIBRARY_DIRS=/opt/python-2.5/lib/python2.5/site-packages/cvxopt
>

I now have this:

EXTRA_ARGS="-DTrilinos_ENABLE_MPI=ON -DTPL_ENABLE_UMFPACK:BOOL=ON 
-DTPL_ENABLE_SUPERLU:BOOL=ON -DTPL_ENABLE_MPI:BOOL=ON 
-DUMFPACK_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).
>

It still fails in the same way:

-- UMFPACK_LIBRARY_DIRS='/opt/python-2.5/lib/python2.5/site-packages/cvxopt'
--   Searching for library 'umfpack' ...
--   Warning: Could not find a library in the set "umfpack" 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!
--   Searching for library 'amd' ...
--   Warning: Could not find a library in the set "amd" 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!

Kermit Bunde suggested adding "-DTPL_ENABLE_Python:BOOL=ON", that also 
had no effect.

-Nigel
>
> -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/20150122/3a06cde8/attachment.html>


More information about the Trilinos-Users mailing list