deal.ii can't detect trilinos

Asked by Strahinja

I've been trying to connect my deal.ii with trilinos library installed before.

After running:

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 \
> -DTrilinos_ENABLE_COMPLEX_DOUBLE=ON \
> -DTrilinos_ENABLE_COMPLEX_FLOAT=ON \
> -DTrilinos_ENABLE_Zoltan=ON \
> -DTrilinos_VERBOSE_CONFIGURE=OFF \
> -DTPL_ENABLE_MPI=ON \
> -DBUILD_SHARED_LIBS=ON \
> -DCMAKE_VERBOSE_MAKEFILE=OFF \
> -DCMAKE_BUILD_TYPE=RELEASE \
> -DCMAKE_INSTALL_PREFIX:PATH=$HOME/share/trilinos \
> ../

I did get the message:

Finished configuring Trilinos!

-- Configuring done
-- Generating done
-- Build files have been written to: /home/str/Trilinos-trilinos-release-12-14-1/build

But now, when I try to configure deal.ii with:

cmake -DTRILINOS_DIR=/HOME/share/trilinos ..

I get:

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    TRILINOS_DIR

I have also tried : cmake -DTRILINOS_DIR=/HOME/str/Trilinos-trilinos-release-12-14-1/build ..

Still the same message.

Can someone tell me what is wrong? I am completely new at this stuff. Also, deal.ii autodetect gave me
( DEAL_II_WITH_TRILINOS = OFF )

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu deal.ii Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Watch out for the exact directory names

/home/
$HOME
/HOME

are not the same!

Can you help with this problem?

Provide an answer of your own, or ask Strahinja for more information if necessary.

To post a message you must log in.