|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 13-Nov-2020 | - |
| build/ | H | 13-Nov-2020 | - | 21 | 5 |
| src/ | H | 03-May-2022 | - | 90 | 62 |
| test/ | H | 03-May-2022 | - | 16 | 10 |
| README | H A D | 13-Nov-2020 | 1.1 KiB | 33 | 22 |
README
1******************************************************************
2*** WARNING: THIS CODE IS NOT AUTOMATICALLY TESTED IN TRILINOS ***
3*** BECAUSE IT REQUIRES AN INSTALLED TRILINOS ***
4******************************************************************
5
6This is a small demonstration of how to build an application
7against Trilinos when both are using CMake for the build system.
8This example also demonstrates ctest.
9
10To run this example:
11
12(1) Trilinos needs to be configured using PREFIX, e.g.:
13 -DCMAKE_INSTALL_PREFIX:path=/home/turing/InstalledTrilinos10_6 \
14
15(2) "make; make install" of Trilinos
16 (This will put a file in the ${CMAKE_INSTALL_PREFIX}/include
17 directory called "TrilinosConfig.cmake")
18
19(3) For this demo, the file build/do-cmake needs to be
20 edited as specified in the comments.
21
22(4) run "do-cmake" script in the build directory
23
24(5) run "make" in the build directory
25
26(6) run "ctest" in the build directory
27
28#
29# Look into comments in CMakeLists.txt files for more info.
30
31# Questions to Andy Salinger (agsalin@sandia.gov)
32# or trilinos-framework@software.sandia.gov
33