-
Notifications
You must be signed in to change notification settings - Fork 8
01. Getting Started
To get started with ChronoLog, the first step involves cloning the repository to your system. To do so:
git clone https://github.com/grc-iit/ChronoLog.git
ChronoLog requires various packages managed by Spack. To ensure compatibility and stability, we recommend using Spack
version v0.21.2 (2024-03-01). Follow the steps below to install
and configure Spack:
git clone --branch v0.21.2 https://github.com/spack/spack.git
source /path-to-where-spack-was-cloned/spack/share/spack/setup-env.sh
Currently, most of the dependencies are listed in spack.yaml and can be installed via Spack. gcc and g++ will be
needed to build ChronoLog.
A Spack environment needs to be created and activated using the following commands.
cd ChronoLog
git switch develop
spack env activate -p .
To check if the environment is activated the following can be executed:
spack env status
If the environment is properly activated, it can be installed
spack install -v
ℹ️ Installation can take > 30 minutes.
❗ Ensure (by using spack env status) all building steps are performed within the activated Spack environment to allow CMake to locate
necessary dependencies.
For building ChronoLog the following commands must be executed.
# Build the environment
cd ChronoLog
git switch develop
mkdir build && cd build
# Build the project
cmake ..
make all
Building ChronoLog generates the following executables:
-
Servers:
chronovisor_serverfor ChronoVisor,chrono_keeperfor ChronoKeeper andchrono_grapherfor ChronoGrapher -
Client Test Cases: Located in
test/integration/Client/. -
Admin Tool:
client_admininClient/ChronoAdminserves as a workload generator.