-
Notifications
You must be signed in to change notification settings - Fork 101
Timing QUDA build
Mathias Wagner edited this page Mar 5, 2019
·
6 revisions
-
ninja-build Get it either from your Linux distribution (
ninja-build
in Ubuntu) or from https://ninja-build.org - ninjatracing script: Get it from https://github.com/nico/ninjatracing
- Google Chrome for viewing the output
- build QUDA with ninja (the
-GNinja
is crucial here). To do this just get started in a fresh build directory and call
mkdir build; cd build
cmake <path-to-quda> -GNinja
...
ninja
- The previous step generated a
.ninja_log
file that needs to be converted into Chrome's tracing format:
ninjatracing .ninja_log > trace.json
- Open
trace.json
in Chrome by entering in the address field:chrome://tracing
and then loading thetrace.json
file using the Load button.
ninja -t deps | grep -v usr