blueoil icon indicating copy to clipboard operation
blueoil copied to clipboard

de10: the script stuck when trying to make lm_fpga with -j2 flag

Open lm-jira opened this issue 4 years ago • 1 comments

I converted a model from Blueoil to run on de10 nano. I want to measure the memory usage so I edit the code to print some value and trying tome anew FPGA library by running make clean followed by make lm_fpga -j2 command. However, the make lm_fpga -j2 script is stuck somewhere for a long time and not finish the process.

I've solved it by removing the -j2 flag and running only make lm_fpga. However, I still cannot figure out what is the reason of that problem.

lm-jira avatar May 18 '20 05:05 lm-jira

@lm-jira

The problem might come from lack of amount of memory. If you use -j2 option, two compilations are running at the same time. The problem might not occur when you use server for compilation because it has enough memory. And your model which you're trying to compile on DE10-Nano might consume much memory.

This is my expectation and I'm not sure what is the really problem. You can check consumed memory on DE10-Nano to know more details.

tk26eng avatar May 18 '20 06:05 tk26eng