Open ZachGu opened 3 years ago
Hi, does it happen with every example you run, or is it just this one? Could you try the fir, for instance?
Hi. I have tried the fir and other examples, and met the same error.
Are you using the VM or your own setup? Could you also let me know how you are running the example? If you are not doing the following, could you maybe try and let me know if this works: from elastic-circuits/examples, just run make name=fir graph
I build and install binaries according to the README files in each folder. However, I used LLVM-6.0.1 instead of LLVM-6.0.0, since I did not the the source code of LLVM-6.0.0. And I used to run the example as the way you suggested.
Hi, from what I see it could be related to a compatibility issue between your OS and LLVM, or to the installation path. To help you I need to understand more details. Can you please tell a bit more about your installation environment?
Andrea
Hi, my os is Ubuntu 18.04.5 and my LLVM version is 6.0.1. I installed the LLVM and dynamatic under my local workspace.
Hi. I may have a possible solution for your problem.
Try to initialize your execution environment with the following commands (replacing your installation path) before running dynamatic.
export PATH=$PATH:/home/dynamatic/Dynamatic/bin/ export CLANG_DIR=/home/dynamatic/Dynamatic/etc/llvm-6.0/bin export DHLS_INSTALL_DIR=/home/dynamatic/Dynamatic export OPT_DIR=$CLANG_DIR export ELASTIC_DIR=/home/dynamatic/Dynamatic/etc/dynamatic/elastic-circuits
Also, please move or create a symbolic link to the dynamatic repository into $DHLS_INSTALL_DIR/etc. A possible command could be (adapted with your installation path)
ln -s your_repository_path $DHLS_INSTALL_DIR/etc/dynamatic
Please tell me if this solve or not the problem. Thanks
@Andrea-Guerrieri
Hi,
I have solved the problem by your method, But I have a new question about Buffers.
When I run the following command by README
bin/buffers buffers -filename=xxx -period=5
but I get a error say the file could not be opened, just like this.
****************************************
dataflow graph name: /home/actri/dynamatic/elastic-circuits/examples/_build/boolean_graph
milp solver: cbc
delay: 0, period: 5
timeout: 180
set optimization: true
first MG optimization: false
****************************************
File /home/actri/dynamatic/elastic-circuits/examples/_build/boolean_graph.dot could not be opened.
I tried to change the file path, the file does exist. Can you help me?
Hi! I was trying to run an example with elastic-circuits, however, I have met an error:
I don’t know how to solve this problem. Thank you very much for your help!