Created
October 14, 2020 20:40
-
-
Save h8rt3rmin8r/899c66261568ec0a8ddbe0a1558f6478 to your computer and use it in GitHub Desktop.
Launch Nvidia Visual Profiler via Open JDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
# | |
# [ nvidia-visual-profiler ] | |
# | |
# Launch Nvidia Visual Profiler via Open JDK | |
# Created on 20201014 by h8rt3rmin8r ([email protected]) | |
# | |
# Reference: | |
# | |
# # Install CUDA on Ubuntu 20 (linuxconfig.org) | |
# https://linuxconfig.org/how-to-install-cuda-on-ubuntu-20-04-focal-fossa-linux | |
# | |
# # CUDA install unmet dependencies | |
# https://bit.ly/2SWO18e | |
# | |
# # Failed to load "canberra-gtk-module" (askubuntu.com) | |
# https://askubuntu.com/a/1253413 | |
# | |
software_check=$(which nvvp &>/dev/null; echo $?) | |
if [[ "${software_check}" -ne 0 ]]; then | |
echo "ERROR: Missing required software: nvvp" | |
exit 1 | |
fi | |
nvvp -vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment