I am trying to install GPGPU-sim .
my specs are here.
OS: Ubuntu 18.04.5 LTS( 64bits )
Memory : 16GB
Processor : Intel® Core™ i7-8565U CPU @ 1.80GHz × 8
Graphic Card: Intel® UHD Graphics 620 (WHL GT2)
gcc/g++ version : 4.4.7
bison version : 3.0.4
flex version : 2.6.4
CUDA toolkit & SDK: 4.0.17 for ubuntu 10.10
Then I was following steps from step 1 in README, I got some problems in the manual.
1.
A libglut-3-dev package cannot be downloaded. I commend sudo apt-get install libxi-dev libxmu-dev libglut3-dev, though, the error says E: Unable to locate package libglut3-dev .
In fact, I alternate this package to freeglut3-dev. I wonder it causes a problem.
2.
I had kept going the install steps. And I commend 'make' in gpgpu-sim_distribution directory..., then, it shows ' make: command not found'. So, I fixed this situation using
PATH="$PATH:/usr/local/bin:/usr/bin:/bin"
export PATHsome
Then 'make' command works.
3.
However, I failed installation. The whole logs are so long so that I should show the last few lines.
cuda_runtime_api.cc:2632: error: ‘cudaIpcMemHandle_t’ was not declared in this scope cuda_runtime_api.cc:2632: error: ‘handle’ was not declared in this scope cuda_runtime_api.cc:2633: error: expected primary-expression before ‘void’ cuda_runtime_api.cc:2633: error: initializer expression list treated as compound expression cuda_runtime_api.cc:2633: error: expected ‘,’ or ‘;’ before ‘{’ token cuda_runtime_api.cc:7012: error: expected ‘}’ at end of input Makefile:111: recipe for target '/home/mys/gpgpu-sim_distribution/build/gcc-4.4.7/cuda-4000/release/libcuda/cuda_runtime_api.o' failed make[1]: *** [/home/mys/gpgpu-sim_distribution/build/gcc-4.4.7/cuda-4000/release/libcuda/cuda_runtime_api.o] Error 1 make[1]: Leaving directory '/home/mys/gpgpu-sim_distribution/libcuda' Makefile:197: recipe for target 'cudalib' failed make: *** [cudalib] Error 2
4.
I've spent a week on this job! Please tell me how to fix it. If this question does not fit for this forum, then tell me where I have to go and ask this question. Love you guys.
my specs are here.
OS: Ubuntu 18.04.5 LTS( 64bits )
Memory : 16GB
Processor : Intel® Core™ i7-8565U CPU @ 1.80GHz × 8
Graphic Card: Intel® UHD Graphics 620 (WHL GT2)
gcc/g++ version : 4.4.7
bison version : 3.0.4
flex version : 2.6.4
CUDA toolkit & SDK: 4.0.17 for ubuntu 10.10
Then I was following steps from step 1 in README, I got some problems in the manual.
1.
A libglut-3-dev package cannot be downloaded. I commend sudo apt-get install libxi-dev libxmu-dev libglut3-dev, though, the error says E: Unable to locate package libglut3-dev .
In fact, I alternate this package to freeglut3-dev. I wonder it causes a problem.
2.
I had kept going the install steps. And I commend 'make' in gpgpu-sim_distribution directory..., then, it shows ' make: command not found'. So, I fixed this situation using
PATH="$PATH:/usr/local/bin:/usr/bin:/bin"
export PATHsome
Then 'make' command works.
3.
However, I failed installation. The whole logs are so long so that I should show the last few lines.
cuda_runtime_api.cc:2632: error: ‘cudaIpcMemHandle_t’ was not declared in this scope cuda_runtime_api.cc:2632: error: ‘handle’ was not declared in this scope cuda_runtime_api.cc:2633: error: expected primary-expression before ‘void’ cuda_runtime_api.cc:2633: error: initializer expression list treated as compound expression cuda_runtime_api.cc:2633: error: expected ‘,’ or ‘;’ before ‘{’ token cuda_runtime_api.cc:7012: error: expected ‘}’ at end of input Makefile:111: recipe for target '/home/mys/gpgpu-sim_distribution/build/gcc-4.4.7/cuda-4000/release/libcuda/cuda_runtime_api.o' failed make[1]: *** [/home/mys/gpgpu-sim_distribution/build/gcc-4.4.7/cuda-4000/release/libcuda/cuda_runtime_api.o] Error 1 make[1]: Leaving directory '/home/mys/gpgpu-sim_distribution/libcuda' Makefile:197: recipe for target 'cudalib' failed make: *** [cudalib] Error 2
4.
I've spent a week on this job! Please tell me how to fix it. If this question does not fit for this forum, then tell me where I have to go and ask this question. Love you guys.