[Trilinos-Users] Linking programs to Trilinos

Mehmet Salih YILDIRIM linux at isadamlari.org
Tue Apr 27 13:42:09 MDT 2010


Hello there,

I have a problem with linking my programs to Trilinos library.

I have downloaded Trilinos source and built it with some packages selected
(details are below), however I cannot link my program to Trilinos library,
because I don't know with which link and/or include parameters i should run
my compiler.

I am using g++ as a compipler, and the way I built Trilinos is as follows:

    First, I ran the custom script do-configure:

    EXTRA_ARGS=$@

    cmake \
      -D TPL_ENABLE_MPI:BOOL=ON \
      -D Trilinos_ENABLE_Didasko:BOOL=ON \
      -D Trilinos_ENABLE_Epetra:BOOL=ON \
      -D Trilinos_ENABLE_Teuchos:BOOL=ON \
      -D Trilinos_ENABLE_Triutils:BOOL=ON \
      -D Trilinos_ENABLE_Anasazi:BOOL=ON \
      -D Trilinos_ENABLE_TESTS:BOOL=ON \
      -D DART_TESTING_TIMEOUT:STRING=600 \
      $EXTRA_ARGS \
      /home/proje/trilinos-10.2.0-Source

    Then, I prompted "make -j12"
    After I prompted "ctest" and all tests were successful,
    At the end, I prompted "sudo make install" and install operation was
also successfully completed.

I read from the documentation that a file called "trilinos_make_macros.mak"
file should help, but I can't find it
anywhere in my file system, even thought I performed many searches including
"find / -name trilinos_make_macros.mak"

Any help would be appreciated,

Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20100427/2fd105b3/attachment-0001.html 


More information about the Trilinos-Users mailing list