antmicro / alkali-csd-projects

https://antmicro.github.io/alkali-csd-projects/
5 stars 2 forks source link

Got hardware error on "make all" command #23

Open kushalc2021 opened 2 years ago

kushalc2021 commented 2 years ago

Followed below steps and got attached .PNG error.

  1. git clone https://github.com/antmicro/alkali-csd-projects.git
  2. cd alkali-csd-projects/
  3. git submodule update --init --recursive
  4. docker pull antmicro/alkali
  5. DOCKER_RUN_EXTRA_ARGS="-v /tools/Xilinx:/tools/Xilinx" make enter
  6. export BOARD=an300 (inside container)
  7. source /tools/Xilinx/Vivado/2019.2/settings64.sh
  8. make all

csd_makeall_error

tmichalak commented 2 years ago

@kushalc2021 this looks like an intermittent crash in vivado. Is this happening on every run? Have you made any changes compared to the CI runs?

kushalc2021 commented 2 years ago

@tmichalak We have not made any changes in the CI runs. Also we tried this on different machines and getting same issue.

kushalc2021 commented 2 years ago

Is this related to the RAM usage ? Can you specify the configuration of your build machines so that we can check that we have same/more required configuration

mkurc-ant commented 2 years ago

@kushalc2021 Locally I'm building it on a machine with 64GB of RAM. I can see in the logs that Vivado reported peak usage to be ~6.8GB. So in theory 8GB of RAM should be enough but I'd recommend more.

The tcmalloc error from Vivado seems a bit strange though, the number of bytes it supposedly attempted to allocate is ridiculously high.

twilfredo commented 1 year ago

I'm running into something similar https://github.com/antmicro/alkali-csd-projects/issues/36, was there a resolution to this @kushalc2021 ?

kushalc2021 commented 1 year ago

This works with the flow without docker. Please find the doc attached for that. Antmicro-csd-project without docker.docx

twilfredo commented 1 year ago

This works with the flow without docker. Please find the doc attached for that. Antmicro-csd-project without docker.docx

Thanks! But doesn't this mean we have to install all the dependencies on the host machine (to build without docker)? Or are you still using docker somehow?

kushalc2021 commented 1 year ago

We have separate vivado installation and other required dependecies

twilfredo commented 1 year ago

We have separate vivado installation and other required dependecies

okay thanks, so you do all the development on the host machine right, no dockers?

hardikvala commented 1 year ago

@twilfredo
To generate the bit stream, we are using the host machine and the rest of the components built by docker.