Commit d6e0eb8f authored by Matthieu Boileau's avatar Matthieu Boileau

Install nvtop

parent bb3211a5
#!/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
Subproject commit b7d626a8bc6c4e4e7c5970eae9a24a5e836b25b3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment