From 26da9b40872660b864794658d4fdeee1a95cb4d6 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Tue, 31 Oct 2023 12:55:10 -0400 Subject: [PATCH] bump PaRSEC tag to pull in https://github.com/ICLDisco/parsec/pull/584 + touch up tracing instructions in README.md resolves #266 --- README.md | 4 +--- cmake/modules/ExternalDependenciesVersions.cmake | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8d43e924a..e47092155 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,6 @@ To generate the trace results of any TTG program follow the process discussed be - For simplicity we assume here that TTG will build PaRSEC from source. Make sure PaRSEC Python tools prerequisites have been installed, namely Python3 (version 3.8 is recommended) and the following Python packages (e.g., using `pip`): - `cython` - - `2to3` - `numpy` - `pandas` - `tables` @@ -273,8 +272,7 @@ To generate the trace results of any TTG program follow the process discussed be - Build and install TTG - Build the TTG program to be traced. - Run the TTG program with tracing turned on: - - Create file `${HOME}/.parsec/mca-params.conf` and add line `mca_pins = task_profiler` to it - - Set the environment variable `PARSEC_MCA_profile_filename` to the PBT file name _prefix_, e.g. `/tmp/ttg`. + - Set the environment variables `PARSEC_MCA_mca_pins` and `PARSEC_MCA_profile_filename` to `task_profiler` and the PBT file name _prefix_ (e.g. `/tmp/ttg`), respectively. - Run the program and make sure the trace files (in PBT format) have been generated; e.g., if you set `PARSEC_MCA_profile_filename` to `/tmp/ttg` you should find file `/tmp/ttg-0.prof-...` containing the trace from MPI rank 0, `/tmp/ttg-1.prof-...` from rank 1, and so on. - Convert the traces from PaRSEC Binary Trace (PBT) format to the Chrome Trace Format (CTF): - Add `{TTG build directory}/_deps/parsec-build/tools/profiling/python/python.test` (currently it is not possible to use PaRSEC Python module from the install tree, only from its build tree) diff --git a/cmake/modules/ExternalDependenciesVersions.cmake b/cmake/modules/ExternalDependenciesVersions.cmake index ea450b816..2888fb381 100644 --- a/cmake/modules/ExternalDependenciesVersions.cmake +++ b/cmake/modules/ExternalDependenciesVersions.cmake @@ -6,5 +6,5 @@ set(TTG_TRACKED_BOOST_VERSION 1.66) set(TTG_TRACKED_CATCH2_VERSION 2.13.1) set(TTG_TRACKED_CEREAL_VERSION 1.3.0) set(TTG_TRACKED_MADNESS_TAG 4f7d30b0a738621037b96bb5b820029835753667) -set(TTG_TRACKED_PARSEC_TAG 9fc74b6f165605a133125d8a5b62cf55642c1907) +set(TTG_TRACKED_PARSEC_TAG 6fd959e4a8d2dad8b701d0b83cd85b372f1a306b) set(TTG_TRACKED_BTAS_TAG d73153ad9bc41a177e441ef04eceff7fab0c766d)