You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #636 from E3SM-Project/jayeshkrishna/full_trace_and_replay3
Adding support for SCORPIO API tracing.
The replay of the API trace is a work in progress, but this
PR contains many software components required for
replaying the API trace.
This PR includes,
* Support for tracing SCORPIO APIs
* Scripts/Framework required for replaying the trace is also
included. However replaying the trace is not yet complete.
set(SCORPIO_BUILD_CMAKE_CXX_COMPILER "set(CMAKE_CXX_COMPILER \"${CMAKE_CXX_COMPILER}\" CACHE FILEPATH \"The CXX Compiler used in SCORPIO build\" FORCE)\n")
6
+
set(SCORPIO_BUILD_CMAKE_CXX_FLAGS "set(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS}\" CACHE STRING \"The CXX Compiler flags used in SCORPIO build\" FORCE)\n")
7
+
set(SCORPIO_BUILD_CMAKE_C_COMPILER "set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\" CACHE FILEPATH \"The C Compiler used in SCORPIO build\" FORCE)\n")
8
+
set(SCORPIO_BUILD_CMAKE_C_FLAGS "set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS}\" CACHE STRING \"The C Compiler flags used in SCORPIO build\" FORCE)\n")
9
+
set(SCORPIO_BUILD_CMAKE_EXE_LINKER_FLAGS "set(CMAKE_EXE_LINKER_FLAGS \"${CMAKE_EXE_LINKER_FLAGS}\" CACHE STRING \"The Linker flags used in SCORPIO build\" FORCE)\n")
10
+
set(SCORPIO_BUILD_CMAKE_LINKER "set(CMAKE_LINKER \"${CMAKE_LINKER}\" CACHE FILEPATH \"The Linker used in SCORPIO build\" FORCE)\n")
11
+
set(SCORPIO_BUILD_CMAKE_MAKE_PROGRAM "set(CMAKE_MAKE_PROGRAM \"${CMAKE_MAKE_PROGRAM}\" CACHE FILEPATH \"The Make program used in SCORPIO build\" FORCE)\n")
1) Use the spio_replay.py script to generate and build the replay tool, spio_replay.exe, from the API trace files
24
+
25
+
Assuming the SCORPIO source is in ~/scorpio, the build/run directory is ~/scorpio_build (trace logs are here), scorpio install directory is ~/scorpio_install,
Script to generate and build spio_replay.exe from SCORPIO trace logs. This script reads the SCORPIO trace logs & trace meta data logs to generate source files to replay the I/O from the trace. These
37
+
sources are built, using the same configuration used to build SCORPIO, to create spio_replay.exe . At runtime spio_replay.exe requires the I/O decomposition files, spio_trace_decomp_*.nc, to replay the
38
+
I/O data pattern. The script requires the I/O trace logs, spio_trace_log*.log, and the I/O trace meta-data logs, spio_trace_mdata*.log, to generate the executable, spio_replay.exe, that can be used to
39
+
replay the I/O data patterns in an application (e.g. E3SM) run
40
+
41
+
options:
42
+
-h, --help show this help message and exit
43
+
--scorpio-src-dir scorpio_src_dir
44
+
Source directory for the SCORPIO library (default: /home/jayesh/scorpio_build3/tmp)
45
+
--scorpio-build-dir scorpio_build_dir
46
+
Build directory for the SCORPIO library (default: /home/jayesh/scorpio_build3/tmp)
47
+
--scorpio-install-dir scorpio_install_dir
48
+
Install directory for the SCORPIO library (default: /home/jayesh/scorpio_build3/tmp)
0 commit comments