diff --git a/cmake/blt b/cmake/blt index 66378271f..ca27776de 160000 --- a/cmake/blt +++ b/cmake/blt @@ -1 +1 @@ -Subproject commit 66378271f605de0b628ab93196fd41f5c7b59452 +Subproject commit ca27776de9626102725ebac14c37617a94e71a67 diff --git a/src/docs/sphinx/dev_guide/profiling.rst b/src/docs/sphinx/dev_guide/profiling.rst index 7f5ea83a1..48df8a818 100644 --- a/src/docs/sphinx/dev_guide/profiling.rst +++ b/src/docs/sphinx/dev_guide/profiling.rst @@ -27,7 +27,7 @@ Introduction to SPOT -------------------- `SPOT `_ is a framework developed at -LLNL for vizualizing performance data. SPOT is an external tool and does not need to be +LLNL for visualizing performance data. SPOT is an external tool and does not need to be linked into Serac. TPL Build Instructions @@ -121,9 +121,21 @@ with benchmarking enabled (off by default). Then, run the build target ``run_ben cd make -j make run_benchmarks - find . -name "*.cali" -print0 | xargs -0 mv -t . pwd This will run all of Serac's benchmarks multiple times with varying MPI task counts, and generate a Caliper file for -each benchmark run. The ``find`` command afterwards ensures all Caliper files are moved to the same directory. Now, you -can visualize the results with SPOT, entering the path printed from ``pwd``. +each benchmark run at ``PROJECT_BINARY_DIR``. Now, you can visualize the results with SPOT, entering the path printed +from ``pwd``. + +Visualizing Benchmarks using SPOT +--------------------------------- + +If you have access to LC, you can go to the following website and enter a directory in CZ/ RZ that contains Caliper +files: + +- `SPOT CZ `_ +- `SPOT RZ `_ + +.. note:: + There is a bug in SPOT where if you remove Caliper files from a directory, they still show up on SPOT - if you've + visualized them previously. The current workaround is by removing the ``llnl.gov`` site cache manually. diff --git a/src/serac/physics/benchmarks/CMakeLists.txt b/src/serac/physics/benchmarks/CMakeLists.txt index 7eb946021..137a89978 100644 --- a/src/serac/physics/benchmarks/CMakeLists.txt +++ b/src/serac/physics/benchmarks/CMakeLists.txt @@ -26,6 +26,7 @@ foreach(physics_benchmark ${physics_benchmark_targets}) blt_add_benchmark(NAME ${physics_benchmark}_${task_count}_task_count COMMAND ${physics_benchmark} NUM_MPI_TASKS ${task_count} + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} ) endforeach() endforeach()