Commit d6e0eb8f authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Install nvtop

parent bb3211a5
Loading
Loading
Loading
Loading

nvtop/install.sh

0 → 100755
+27 −0
Original line number Diff line number Diff line
#!/bin/bash

source ../common.sh

LIB_NAME="nvtop"
URL="https://github.com/Syllo/nvtop.git"

install_lib()
{
module load cmake

cd $BASE_WORK_DIR
git clone $URL
cd $LIB_NAME

mkdir -p build && cd build
#cmake ..

# If it errors with "Could NOT find NVML (missing: NVML_INCLUDE_DIRS)"
# try the following command instead, otherwise skip to the build with make.
cmake .. -DNVML_RETRIEVE_HEADER_ONLINE=True

make -j
make install # You may need sufficent permission for that (root)
}

install_lib

nvtop @ b7d626a8

Original line number Diff line number Diff line
Subproject commit b7d626a8bc6c4e4e7c5970eae9a24a5e836b25b3