gpgpu-sim / gpgpu-sim_distribution

GPGPU-Sim provides a detailed simulation model of contemporary NVIDIA GPUs running CUDA and/or OpenCL workloads. It includes support for features such as TensorCores and CUDA Dynamic Parallelism as well as a performance visualization tool, AerialVisoin, and an integrated energy model, GPUWattch.
Other
1.13k stars 511 forks source link

How to complie it in ubuntu 22.04? #289

Open 10-Kirito opened 11 months ago

10-Kirito commented 11 months ago

How can I use this on Ubuntu 22.04? I need to install gcc-5.5 or another lower version of gcc first, but installing a very old version will cause some problems in my system, such as being unable to download software, etc. If I want to install any other software, I need to execute sudo apt --fix-broken install to fix this problem. But the result is the gcc just installed is uninstalled again.

10-Kirito commented 11 months ago

Here is what I met on ubuntu 22.04: https://askubuntu.com/questions/1496876/how-to-install-gcc-5-5-in-ubuntu-how-can-i-switch-gcc-version-arbitrarily-in-ub?noredirect=1#comment2622153_1496876 I tried to use gpgpu-sim in docker and everything is well. Perhaps the best solution is to use docker.

masa-laboratory commented 6 months ago

Compiling gcc-7.3 from the source code maybe work well.