hello! i'm trying to install OpenROAD using OpenRO...
# openroad
m
hello! i'm trying to install OpenROAD using OpenROAD-flow-scripts but there is an error
Copy code
-- GPU is not enabled
CMake Error at src/mpl2/CMakeLists.txt:42 (find_package):
  By not providing "Findortools.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ortools", but
  CMake did not find one.
By not providing "Findortools.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "ortools", but
  CMake did not find one.

  Could not find a package configuration file provided by "ortools" with any
  of the following names:

    ortoolsConfig.cmake
    ortools-config.cmake

  Add the installation prefix of "ortools" to CMAKE_PREFIX_PATH or set
  "ortools_DIR" to a directory containing one of the above files.  If
  "ortools" provides a separate development package or SDK, be sure it has
  been installed.
i can not find such package "ortools-config.cmake" to install. i would appreciate it if anyone could help
v
run following inside
OpenROAD-flow-scripts/tools/OpenROAD
sudo ./etc/DependencyInstaller.sh
is that local installation or docker based?
m
local i used
./build_openroad.sh --local
what i get when i run
sudo ./etc/DependencyInstaller.sh
Copy code
Saving to: 'boost_1_80_0.tar.gz.8'

boost_1_80_0.tar.gz.8         100%[================================================>] 130.34M   916KB/s    in 2m 16s  

2023-02-20 04:08:30 (981 KB/s) - 'boost_1_80_0.tar.gz.8' saved [136670223/136670223]

boost_1_80_0.tar.gz: FAILED
md5sum: WARNING: 1 computed checksum did NOT match
@Vijayan Krishnan
v
which OS?
m
ubuntu 22.04
v
@Vitor Viana Bandeira any idea why getting this error
md5sum: WARNING: 1 computed checksum did NOT match
?
v
@milad looks like you have run multiple times the installer and the first download of boost was not completed successfully. Can you try to run
rm -rf /tmp/installers
and run the installer again?
m
yes it worked. @Vitor Viana Bandeira but it stucks at this stage for about 30 minutes.
Copy code
99%] Building share/ecp5/bram_conn_18.vh
[ 99%] Building share/ecp5/bram_conn_36.vh
[ 99%] Building share/gowin/bram_init_16.vh
[ 99%] Building share/ice40/brams_init1.vh
[ 99%] Building share/ice40/brams_init2.vh
[ 99%] Building share/ice40/brams_init3.vh
[ 99%] Building share/xilinx/brams_init_36.vh
[ 99%] Building share/xilinx/brams_init_32.vh
[ 99%] Building share/xilinx/brams_init_18.vh
[ 99%] Building share/xilinx/brams_init_16.vh
[ 99%] Building share/xilinx/brams_init_9.vh
[ 99%] Building share/xilinx/brams_init_8.vh
[ 99%] Building frontends/verilog/verilog_lexer.o
[100%] Building yosys
is it normal?
v
no, it is not. how many cpus and gigs of ram do you have?
could you try to ctrl-c and use the build script again?
m
cpu: 3 ram: 4 G
v
could you try
./build_openroad.sh --threads 1
.
m
what i get
Copy code
./build_openroad.sh --threads 1

[INFO FLW-0027] Saving logs to build_openroad.log
[INFO FLW-0028] ./build_openroad.sh --threads 1
[INFO FLW-0002] Updating git submodules.
[INFO FLW-0000] Using docker build method. This will create a docker image tagged 'openroad/flow-scripts'.
[INFO FLW-0020] Building docker image for Yosys.
Using default tag: latest
Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: <https://www.docker.com/increase-rate-limit>
v
sorry, I missed that you were using
--local
, please add that as well
m
i do not know what the problem was. the process stuck at every stage. finally i removed all files and reinstalled from scratch. thank you for your help @Vijayan Krishnan @Vitor Viana Bandeira
👍 1
201 Views