Installation
Requirements
Slurm must be configured so that all jobs run inside their own
cgroup. This is used by sps internally to determine which processes are part of the job.Compiling the code requires, cmake, a C compiler, a C++ compiler with c++-17 and libboost support.
If you want to profile GPU code you need to have CUDA with the NVIDIA Management Library and/or the AMD ROCm SMI library installed.
If you want to use the SPANK plugin you need to have the SLURM development libraries installed.
Plotting the results requres python3 with pandas and matplotlib.
The documentation is generated using sphinx.
Building
The build system uses cmake:
mkdir build
cd build
cmake ..
make
make install
rpm Package
RPM packages can be built using git buidpackage.
Ensure that you have
rpm-build,rpmdevtoolsandgbp-rpminstalledCheck out the
rpmbranchcreate the srpm:
gbp buildpackage-rpm -bsbuild rpm using:
mock rebuild sps-4.0-1.src.rpm
deb Package
deb packages are also built using git buidpackage.
Check out the
debianbranchbuild paclage:
gbp buildpackage