try fixing config of downstream, still broken.
authorDenis Davydov <davydden@gmail.com>
Wed, 13 Jun 2018 05:50:55 +0000 (07:50 +0200)
committerDenis Davydov <davydden@gmail.com>
Wed, 13 Jun 2018 05:50:55 +0000 (07:50 +0200)
Intel-Trace-Analyzer-and-Collector.md

index ea4840d..ffdddbc 100644 (file)
@@ -49,9 +49,15 @@ make all -j20
 
 ### 1.b) Build downstream library/project
 
-Build the user project/library as usual
+Add to `CMakeList.txt`
 ```
-cmake ../ -DDEAL_II_DIR=/path/to/dealii
+IF (DEFINED USE_VT)
+  ADD_DEFINITIONS(-DUSE_VT)
+ENDIF (DEFINED USE_VT)
+```
+and then build the user project/library as usual
+```
+cmake ../ -DDEAL_II_DIR=/path/to/dealii -DUSE_VT
 make all -j20
 ```
 Similar to the above, you can manually add timers to certain parts of the project.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.