• Guest, The rules for the P & N subforum have been updated to prohibit "ad hominem" or personal attacks against other posters. See the full details in the post "Politics and News Rules & Guidelines."

Question I have some problems during the installation of GPGPU-SIM

mayshin10

Junior Member
Sep 14, 2020
2
0
6
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.
 

piokos

Senior member
Nov 2, 2018
492
175
76
I am trying to install GPGPU-sim .
You know... this is super weird that you decided to join this forum just to ask about a dev issue.
www.superuser.com

Looking at the errors you've posted, it's pretty obvious that you're using CUDA libraries that don't match what the software expected. So you've either changed something or the versions aren't compatible.

I'd start from updating everything. Or even better: testing this on a fresh OS instance.
 
  • Like
Reactions: mayshin10

mayshin10

Junior Member
Sep 14, 2020
2
0
6
You know... this is super weird that you decided to join this forum just to ask about a dev issue.
www.superuser.com

Looking at the errors you've posted, it's pretty obvious that you're using CUDA libraries that don't match what the software expected. So you've either changed something or the versions aren't compatible.

I'd start from updating everything. Or even better: testing this on a fresh OS instance.
yes!! you are right. the question is not fit for this forum. I know.. but your answer was so helpful! thank you!!
 

ASK THE COMMUNITY