Open jhlee508 opened 2 weeks ago
@jhlee508 can you try a couple more things?
TT_BACKEND_PERF_ANALYZER=1
LD_LIBRARY_PATH
to the location of .../budabackend/build/lib
I already have set TT_BACKEND_PERF_ANALYZER=1
and LD_LIBRARY_PATH to the path .../tt-buda/third_party/budabackend/build/lib/
.
I think the problem of this error below is likely caused by an incorrect build (dpnra
executable not found). May be something to modify the build script env_for_wormhole_b0.sh
?
2024-09-15 15:48:29.176 | ERROR | Always - Error log: sh: 1: /home/n4/jaehwan/research/tenstorrent/tt-buda/third_party/budabackend//build/bin/dpnra: not found
When you clone the tt-buda
repo, did you run git submodule update --init --recursive
? I'm wondering it the submodules did not all update.
For example,
git clone https://github.com/tenstorrent/tt-buda.git
cd tt-buda
git submodule update --init --recursive
./env_for_wormhole_b0.sh
Alternatively, you can use a prebuilt release: https://github.com/tenstorrent/tt-buda/releases. I've check the latest and that one does include the dpnra
directory in build.
@jhlee508 any follow up on the above?
I am still in the process of testing which version works well and which one doesn't. Thank you.
Buda version tags/0.18.2 builds successfully. However, still does not have ./tt-buda/third_party/budabackend/build/bin/dpnra
so it is unable to run Netlist Analyzer (dpnra).
git clone https://github.com/tenstorrent/tt-buda.git
cd tt-buda
git submodule update --init --recursive
git checkout tags/v0.18.2
./env_for_wormhole_b0.sh
Additionally I have tested different version and found out that building tt-buda
version tags/v0.19.3 occurs a build error which is a different problem. This error also occurs in the main (last commit: 1e949f5) branch.
Downloading llvm
tar: /home/n4/jaehwan/buda-build1/tt-buda/third_party/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Release
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Hide private symbols...
-- Forbidding undefined symbols in shared library, using -Wl,--no-undefined on platform Linux
-- Build with RPC support...
-- Build with Graph Executor support...
-- Build with profiler...
-- Build with AOT Executor support...
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Build Alloc alignment set to 64
-- Didn't find the path to CCACHE, disabling ccache
-- Performing Test SUPPORT_CXX17
-- Performing Test SUPPORT_CXX17 - Success
-- VTA build with VTA_HW_PATH=/home/n4/jaehwan/buda-build1/tt-buda/third_party/tvm/3rdparty/vta-hw
-- Build VTA runtime with target: sim
-- Use llvm-config=/home/n4/jaehwan/buda-build1/tt-buda/third_party/llvm/bin/llvm-config --link-static
CMake Error at cmake/utils/FindLLVM.cmake:76 (message):
Fatal error executing:
/home/n4/jaehwan/buda-build1/tt-buda/third_party/llvm/bin/llvm-config;--link-static
--libfiles
Call Stack (most recent call first):
cmake/modules/LLVM.cmake:31 (find_llvm)
CMakeLists.txt:528 (include)
-- Configuring incomplete, errors occurred!
make: *** [Makefile:128: build/submodules/third_party/tvm.build] Error 1
Pybuda build failed!
./env_for_wormhole_b0.sh: line 22: return: can only `return' from a function or sourced script
Maybe open a different issue?
Thanks @jhlee508 one thing I can recommend is ensuring that you have all of the correct system dependencies installed when trying to build.
I am trying to run the Route UI tool and I figured out the file
/netlist_analyzer/
is needed.I found the
TT_BACKEND_NETLIST_ANALYZER
environment variable and set it to 1. However, I got an error that there is nodpnra
in the path.../third_party/budabackend/build/bin/
which I think it should be there when correctly installing tt-buda. I have installed tt-buda using the official bash file here. (The release version has thedpnra
in.../budabackend/build/bin/
and it works fine.)Could you help me find the solution?
Error Log