Vivado error in build of cl_dram_dma HDK example

0

Hi
I am trying to build the DMA-based HDK example (cl_dram_dma) on the FPGA Developer AMI on an EC2 instance. After several hours I hit the following (as recorded in my nohup.out file):

[centos@ip-172-30-0-87 scripts]$ ./aws_build_dcp_from_cl.sh -notify
<time passes>
[centos@ip-172-30-0-87 scripts]$ cat 20_08_18-135551.nohup.out
<snip>
INFO: [Timing 38-480] Writing timing data to binary archive.
Writing XDEF routing.
Writing XDEF routing logical nets.
Writing XDEF routing special nets.
Write XDEF Complete: Time (s): cpu = 00:01:10 ; elapsed = 00:00:28 . Memory (MB): peak = 10315.801 ; gain = 0.000 ; free physical = 15062 ; free virtual = 41662
src/tcmalloc.cc:283] Attempt to free invalid pointer 0x7f32bb3a8000
Abnormal program termination (6)
Please check '/home/centos/src/project_data/aws-fpga/hdk/cl/examples/cl_dram_dma/build/scripts/hs_err_pid112936.log' for details
[centos@ip-172-30-0-87 scripts]$ cat hs_err_pid112936.log
[centos@ip-172-30-0-87 scripts]$

Is this a known issue and are there any thing(s) I should be doing in order to prevent it from happening?

Stephen

profile picture
asked 4 years ago239 views
3 Answers
0

Hi,

You may be running out of available memory on your instance.

Given the large size of the FPGA used inside the AWS FPGA instances, the implementation tools require 32GiB Memory (ex: c4.4xlarge, m4.2xlarge, r4.xlarge, t2.2xlarge). c4.4xlarge and c4.8xlarge would provide the fastest execution time with 30 and 60GiB of memory respectively.

https://github.com/aws/aws-fpga/tree/master/hdk#getting-started

Please run the builds on an instance with larger Memory. Let us know if you continue to run into issues.

Thanks!
Chakra

AWS
answered 4 years ago
0

Chakra

I am running a c4.4xlarge machine. I will try once more and if fails again I will up it to a c4.8xlarge.

Stephen

profile picture
answered 4 years ago
0

Chakra

I rerun of the design on the same c4.4xlarge machine was successful. I guess we can close this for now though it will be interesting to see if it crops up again.

Stephen

profile picture
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions