You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the Accel-Sim simulator from the accel root directory but I encountered this error.
`rwang2000@RicharddddW:~/accel-sim-framework|release⚡ ⇒ make -j -C ./gpu-simulator/
make: Entering directory '/home/rwang2000/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
make -C trace-driven depend
make -C trace-parser depend
make -C gpgpu-sim
echo "const char *g_accelsim_version=\"accelsim-commit-2260456ea5e6a1420f5734f145a4b7d8ab1d4737_modified_1.0\";" > ./build/release/accelsim_version.h
make[1]: Entering directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-driven'
make[1]: Entering directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-parser'
make[1]: Entering directory '/home/rwang2000/accel-sim-framework/gpu-simulator'
make[1]: *** gpgpu-sim: No such file or directory. Stop.
make[1]: Leaving directory '/home/rwang2000/accel-sim-framework/gpu-simulator'
make: *** [Makefile:54: gpgpu-sim] Error 2
make: *** Waiting for unfinished jobs....
touch ../build/release/trace-driven.Makefile.makedepend
touch ../build/release/trace-parser.Makefile.makedepend
makedepend -f../build/release/trace-driven.Makefile.makedepend -p../build/release/ trace_driven.cc 2> /dev/null
makedepend -f../build/release/trace-parser.Makefile.makedepend -p../build/release/ trace_parser.cc 2> /dev/null
make[1]: 'depend' is up to date.
make[1]: Leaving directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-parser'
make -C trace-parser
make[1]: 'depend' is up to date.
make[1]: Leaving directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-driven'
make -C trace-driven
make[1]: Entering directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-parser'
make[1]: Entering directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-driven'
touch ../build/release/trace-parser.Makefile.makedepend
touch ../build/release/trace-driven.Makefile.makedepend
makedepend -f../build/release/trace-parser.Makefile.makedepend -p../build/release/ trace_parser.cc 2> /dev/null
makedepend -f../build/release/trace-driven.Makefile.makedepend -p../build/release/ trace_driven.cc 2> /dev/null
make[1]: Nothing to be done for 'trace-parser'.
make[1]: Leaving directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-parser'
g++ -O3 -g3 -fPIC -std=c++11 -Wall -I/usr/local/cuda-11/include -I. -I/home/rwang2000/accel-sim-framework/libcuda -I/home/rwang2000/accel-sim-framework/src -c trace_driven.cc -o ../build/release/trace_driven.o
In file included from trace_driven.cc:40:
../ISA_Def/ampere_opcode.h:9:10: fatal error: abstract_hardware_model.h: No such file or directory
9 | #include "abstract_hardware_model.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:58: ../build/release/trace_driven.o] Error 1
make[1]: Leaving directory '/home/rwang2000/accel-sim-framework/gpu-simulator/trace-driven'
make: *** [Makefile:77: trace-driven] Error 2
make: Leaving directory '/home/rwang2000/accel-sim-framework/gpu-simulator'`
I started with a clean repo and was following the README faithfully before this, namely these commands.
I was able to find the abstract_hardware_model.h inside gpgpu-sim repo, which is cloned into accel root. It would be great if someone can take a look and let me know what could have gone wrong.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to build the Accel-Sim simulator from the accel root directory but I encountered this error.
I started with a clean repo and was following the README faithfully before this, namely these commands.
I was able to find the abstract_hardware_model.h inside gpgpu-sim repo, which is cloned into accel root. It would be great if someone can take a look and let me know what could have gone wrong.
Beta Was this translation helpful? Give feedback.
All reactions