Quick Start Guide
The simplest way to install Variorum is using the default CMake settings.
Building Variorum requires the hwloc
and jansson
libraries. The default
build targets the Intel platform and assumes msr-safe
kernel module access.
# install hwloc and jansson dependencies
sudo apt-get install libhwloc15 libhwloc-dev libjansson4 libjansson-dev
git clone https://github.com/LLNL/variorum.git
cd variorum
mkdir build install
cd build
cmake -DCMAKE_INSTALL_PREFIX=../install ../src
make -j8
make install
Note that HWLOC_DIR
and JANSSON_DIR
may need to be set correctly if
installing from scratch. Variorum also supports host-config
files, which
make the build process easier by setting all necessary paths in one place.
Details on using host configuration files can be found here.
Please ensure that the dependencies for each platform are met before building
Variorum. These include the kernel module msr-safe
for Intel systems,
msr
, amd_energy_driver
and HSMP driver for AMD sytems, OPAL firmware and
sensors for IBM, and NVML for NVIDIA. Details of each of these can be found in
the respective vendor pages, see Supported Platform Documentation.
For more details about building and installing Variorum, see
Building Variorum, which provides detailed information about building
Variorum for specific hosts, Variorum’s other CMake options and installing with
spack
.
Function-level descriptions of Variorum’s APIs as well as the architectures that have implementations in Variorum are provided in the following sections:
For beginners, the ECP Variorum Lecture Series is beneficial.