accel-sim / accel-sim-framework

This is the top-level repository for the Accel-Sim framework.
https://accel-sim.github.io
Other
298 stars 117 forks source link

main.makedepend: No such file or directory #6

Closed mahmoodn closed 4 years ago

mahmoodn commented 4 years ago

Hi I got the following build error right after the step to compile gpgpusim-4.

mahmood@threadripper:accel-sim-framework$ source ./gpu-simulator/setup_environment.sh
Cloning into '/home/mahmood/accel-sim-framework/gpu-simulator/gpgpu-sim'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 14490 (delta 1), reused 3 (delta 1), pack-reused 14478
Receiving objects: 100% (14490/14490), 33.42 MiB | 3.08 MiB/s, done.
Resolving deltas: 100% (10903/10903), done.
Note: checking out 'v4.0.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at fa49b4a Merge pull request #194 from gpgpu-sim/dev
GPGPU-Sim version 4.0.0 (build gpgpu-sim_git-commit-fa49b4a01aaf45fd6db7fc509c6dc774eee93ac1-modified_566.0) configured with GPUWattch.

----------------------------------------------------------------------------
INFO - If you only care about PTX execution, ignore this message. GPGPU-Sim supports PTX execution in modern CUDA.
If you want to run PTXPLUS (sm_1x SASS) with a modern card configuration - set the envronment variable
$PTXAS_CUDA_INSTALL_PATH to point a CUDA version compabible with your card configurations (i.e. 8+ for PASCAL, 9+ for VOLTA etc..)
For example: "export $PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda-9.1"

The following text describes why:
If you are using PTXPLUS, only sm_1x is supported and it requires that the app and simulator binaries are compiled in CUDA 4.2 or less.
The simulator requires it since CUDA headers desribe struct sizes in the exec which change from gen to gen.
The apps require 4.2 because new versions of CUDA tools have dropped parsing support for generating sm_1x
When running using modern config (i.e. volta) and PTXPLUS with CUDA 4.2, the $PTXAS_CUDA_INSTALL_PATH env variable is required to get proper register usage
(and hence occupancy) using a version of CUDA that knows the register usage on the real card.

----------------------------------------------------------------------------
setup_environment succeeded
mahmood@threadripper:accel-sim-framework$ make -j -C ./gpu-simulator/
make: Entering directory '/home/mahmood/accel-sim-framework/gpu-simulator'
if [ ! -d ./bin/release ]; then mkdir -p ./bin/release; fi;
if [ ! -d ./build/release ]; then mkdir -p ./build/release; fi;
touch ./build/release/main.makedepend
makedepend -f./build/release/main.makedepend -p./build/release/ main.cc 2> /dev/null
Makefile:85: build/release/main.makedepend: No such file or directory
make: *** [Makefile:73: depend] Error 127
make: Leaving directory '/home/mahmood/accel-sim-framework/gpu-simulator'

Is there any note about gcc version? I am using gcc-8.3.0. Which version do you developers have used?

Diksha-Moolchandani commented 3 months ago

Is this solved? I am getting the same error

mahmoodn commented 3 months ago

Have you tried sudo apt install xutils-dev?

Diksha-Moolchandani commented 3 months ago

It is resolved. thanks for following up