Hi All,

I am trying to use UMFPACK through Trilinos (V.12.18.1) Amesos solver. 
Since UMFPACK is bundled with deal.ii and was configured to work in deal.ii 
before, I was trying to point Trilinos to that installation of UMFPACK. 
Following the README file on interfacing deal.II with Trilinos, I used the 
following config file (Also attached):
mkdir build
cd build

cmake                                            \
    -DTrilinos_ENABLE_Amesos=ON                      \
    -DTrilinos_ENABLE_Epetra=ON                      \
    -DTrilinos_ENABLE_EpetraExt=ON                   \
    -DTrilinos_ENABLE_Ifpack=ON                      \
    -DTrilinos_ENABLE_AztecOO=ON                     \
    -DTrilinos_ENABLE_Sacado=ON                      \
    -DTrilinos_ENABLE_Teuchos=ON                     \
    -DTrilinos_ENABLE_MueLu=ON                       \
    -DTrilinos_ENABLE_ML=ON                          \
    -DTrilinos_ENABLE_ROL=ON                         \
    -DTrilinos_ENABLE_Tpetra=ON                      \
    -DTeuchos_ENABLE_COMPLEX:BOOL=ON                 \
    -DTeuchos_ENABLE_FLOAT:BOOL=ON                   \
    -DTpetra_INST_FLOAT=ON                           \
    -DTpetra_INST_COMPLEX_DOUBLE=ON                  \
    -DTpetra_INST_COMPLEX_FLOAT=ON                   \
    -DTrilinos_ENABLE_Zoltan=ON                      \
    -DTrilinos_VERBOSE_CONFIGURE=OFF                 \
    -DTPL_ENABLE_MPI=ON                              \
    -DTPL_ENABLE_UMFPACK:BOOL=ON \
    
-DTPL_UMFPACK_INCLUDE_DIRS='/home/hippo/dealii-9.1.1/bundled/umfpack/AMD/Include;/home/hippo/dealii-9.1.1/bundled/umfpack/UMFPACK/Include'
 
\
    -DBUILD_SHARED_LIBS=ON                           \
    -DCMAKE_VERBOSE_MAKEFILE=OFF                     \
    -DCMAKE_BUILD_TYPE=RELEASE                       \
    -DCMAKE_INSTALL_PREFIX:PATH=/home/hippo/Trilinos-12-18-1/myBuild \
    ../


where the only difference from before was I added:
    -DTPL_ENABLE_UMFPACK:BOOL=ON \
    
-DTPL_UMFPACK_INCLUDE_DIRS='/home/hippo/dealii-9.1.1/bundled/umfpack/AMD/Include;/home/hippo/dealii-9.1.1/bundled/umfpack/UMFPACK/Include'
 
\

to point to the two include folders of UMFPACK in deal.II.

However, upon running the shell script, I got the following error:
Processing enabled TPL: UMFPACK (enabled explicitly, disable with 
-DTPL_ENABLE_UMFPACK=OFF)
-- UMFPACK_LIBRARY_NAMES='umfpack;amd'
-- Searching for libs in UMFPACK_LIBRARY_DIRS=''
-- Searching for a lib in the set "umfpack":
--   Searching for lib 'umfpack' ...
-- NOTE: Did not find a lib in the lib set "umfpack" for the TPL 'UMFPACK'!
-- ERROR: Could not find the libraries for the TPL 'UMFPACK'!
-- TIP: If the TPL 'UMFPACK' is on your system then you can set:
     -DUMFPACK_LIBRARY_DIRS='<dir0>;<dir1>;...'
   to point to the directories where these libraries may be found.
   Or, just set:
     -DTPL_UMFPACK_LIBRARIES='<path-to-libs0>;<path-to-libs1>;...'
   to point to the full paths for the libraries which will
   bypass any search for libraries and these libraries will be used without
   question in the build.  (But this will result in a build-time error
   if not all of the necessary symbols are found.)
-- ERROR: Failed finding all of the parts of TPL 'UMFPACK' (see above), 
Aborting!


After reading through the error message, it appears that it needs a 
directory to find the UMFPACK libraries. So I changed the two config lines 
to be:
    -DTPL_ENABLE_UMFPACK:BOOL=ON \
    
-DUMFPACK_LIBRARY_DIRS:FILEPATH='/home/hippo/dealii-9.1.1/bundled/umfpack/AMD;/home/hippo/dealii-9.1.1/bundled/umfpack/UMFPACK'
 
\

to point to the folder that the source codes live in. However, now I get 
this (essentially the same) error message:
Processing enabled TPL: UMFPACK (enabled explicitly, disable with 
-DTPL_ENABLE_UMFPACK=OFF)
-- UMFPACK_LIBRARY_NAMES='umfpack;amd'
-- Searching for libs in 
UMFPACK_LIBRARY_DIRS='/home/hippo/dealii-9.1.1/bundled/umfpack/AMD;/home/hippo/dealii-9.1.1/bundled/umfpack/UMFPACK'
-- Searching for a lib in the set "umfpack":
--   Searching for lib 'umfpack' ...
-- NOTE: Did not find a lib in the lib set "umfpack" for the TPL 'UMFPACK'!
-- ERROR: Could not find the libraries for the TPL 'UMFPACK'!
-- TIP: If the TPL 'UMFPACK' is on your system then you can set:
     -DUMFPACK_LIBRARY_DIRS='<dir0>;<dir1>;...'
   to point to the directories where these libraries may be found.
   Or, just set:
     -DTPL_UMFPACK_LIBRARIES='<path-to-libs0>;<path-to-libs1>;...'
   to point to the full paths for the libraries which will
   bypass any search for libraries and these libraries will be used without
   question in the build.  (But this will result in a build-time error
   if not all of the necessary symbols are found.)
-- ERROR: Failed finding all of the parts of TPL 'UMFPACK' (see above), 
Aborting!

So, what should I do to properly connect UMFPACK in deal.II to Trilinos? 
Any suggestions are highly appreciated!

Best,
Jimmy


-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/035ef4ff-2059-4bbe-b1a1-de73fd4329a3o%40googlegroups.com.
mkdir build
cd build

cmake                                            \
    -DTrilinos_ENABLE_Amesos=ON                      \
    -DTrilinos_ENABLE_Epetra=ON                      \
    -DTrilinos_ENABLE_EpetraExt=ON                   \
    -DTrilinos_ENABLE_Ifpack=ON                      \
    -DTrilinos_ENABLE_AztecOO=ON                     \
    -DTrilinos_ENABLE_Sacado=ON                      \
    -DTrilinos_ENABLE_Teuchos=ON                     \
    -DTrilinos_ENABLE_MueLu=ON                       \
    -DTrilinos_ENABLE_ML=ON                          \
    -DTrilinos_ENABLE_ROL=ON                         \
    -DTrilinos_ENABLE_Tpetra=ON                      \
    -DTeuchos_ENABLE_COMPLEX:BOOL=ON                 \
    -DTeuchos_ENABLE_FLOAT:BOOL=ON                   \
    -DTpetra_INST_FLOAT=ON                           \
    -DTpetra_INST_COMPLEX_DOUBLE=ON                  \
    -DTpetra_INST_COMPLEX_FLOAT=ON                   \
    -DTrilinos_ENABLE_Zoltan=ON                      \
    -DTrilinos_VERBOSE_CONFIGURE=OFF                 \
    -DTPL_ENABLE_MPI=ON                              \
    -DTPL_ENABLE_UMFPACK:BOOL=ON \
    -DUMFPACK_LIBRARY_DIRS:FILEPATH='/home/hippo/dealii-9.1.1/bundled/umfpack/AMD;/home/hippo/dealii-9.1.1/bundled/umfpack/UMFPACK' \
    -DBUILD_SHARED_LIBS=ON                           \
    -DCMAKE_VERBOSE_MAKEFILE=OFF                     \
    -DCMAKE_BUILD_TYPE=RELEASE                       \
    -DCMAKE_INSTALL_PREFIX:PATH=/home/hippo/Trilinos-12-18-1/myBuild \
	../

Reply via email to