Skip to content

Instantly share code, notes, and snippets.

@rajesh-s
Last active November 20, 2021 06:39
Show Gist options
  • Save rajesh-s/c60833a2e1d011a5607398ab9c034bde to your computer and use it in GitHub Desktop.
Save rajesh-s/c60833a2e1d011a5607398ab9c034bde to your computer and use it in GitHub Desktop.
Deps
# AccelSim
sudo apt-get install -y wget build-essential xutils-dev bison zlib1g-dev flex \
libglu1-mesa-dev git g++ libssl-dev libxml2-dev libboost-all-dev git g++ \
libxml2-dev vim python-setuptools python-dev build-essential python-pip
pip install pyyaml==5.1 plotly psutil
cuda-toolkit from nvidia
===========
= Summary =
===========
Driver: Not Selected
Toolkit: Installed in /usr/local/cuda-11.5/
Samples: Installed in /home/rajesh/, but missing recommended libraries
Please make sure that
- PATH includes /usr/local/cuda-11.5/bin
- LD_LIBRARY_PATH includes /usr/local/cuda-11.5/lib64, or, add /usr/local/cuda-11.5/lib64 to /etc/ld.so.conf and run ldconfig as root
To uninstall the CUDA Toolkit, run cuda-uninstaller in /usr/local/cuda-11.5/bin
***WARNING: Incomplete installation! This installation did not install the CUDA Driver. A driver of version at least 495.00 is required for CUDA 11.5 functionality to work.
To install the driver using this installer, run the following command, replacing <CudaInstaller> with the name of this run file:
sudo <CudaInstaller>.run --silent --driver
Logfile is /var/log/cuda-installer.log
gpgpu-sim
sudo apt-get install build-essential xutils-dev bison zlib1g-dev flex libglu1-mesa-dev
@rajesh-s
Copy link
Author

For YAML error

Find out where pyyaml is currently installed. If you run pip install pyyaml, and it tells you where it's currently installed. E.g. for me it was /opt/anaconda3/lib/python3.7/site-packages, for OP it seems to be /Users/marcos/.virtualenvs/pyinstamation/lib/python3.6/site-packages

Add export PYTHONPATH='wherever pyyaml is currently installed' to your .bash_profile (I'm on mac)

@rajesh-s
Copy link
Author

export GPUAPPS_ROOT=/home/rajesh/work/accel-sim-framework/gpu-app-collection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment