- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I've configured a Quartus Prime Pro 19.1 project using the GUI, and now I want to build it using the command line. Here is the command I've been using:
quartus_sh --flow compile my_project 2>&1 | tee quartus.log
The command line above compiles all of the project flows, and dumps both stdout and stderr to quartus.log. However, when I watch the command outputs during that command, the text seems to "hang" due to stdout/stderr buffering. Is there a way to disable the buffering, or reduce the buffer limit? Or just dump the flow outputs to a log file?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The compilation report automatically generated by Quartus should contain all the output of the compilation (output_files folder usually). Is there a reason why you want to output to a separate log file?
#iwork4intel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you find the report file mentioned by sstrell?
Thanks.
Best regards,
KhaiY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi sstrell,
My organization uses Jenkins for regression testing and our default Jenkins configuration checks the output log every 15 minutes or so, and if there is no activity (i.e. no stdout/stderr) then it marks the job as a timeout failure. It's easy to disable this config feature but generally I would prefer to not have special exceptions for our FPGA regression.
I am well aware that the logs contain all of the information, and where the logs are located.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried to run the same command and I can see that the quartus.log is written with the flow information using Pro edition software v19.1.
Have you tried the same command using other project file?
Thanks.
Best regards,
KhaiY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem isn't with the log or the project file. The problem is that when Quartus writes to stdout and stderr, it does so in a buffered fashion. I want the buffer to be flushed more often. We have seen similar problems with other tools before (notably Cadence Xcelium) and sometimes there is a flag to enable unbuffered writes to stdout/stderr.
It's not really a huge issue, just annoying from a regression flow perspective.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ted,
I recevied the reply from our developer today. I have sent an email to you. Please let me know if you do not receive.
Thanks.
Best regards,
KhaiY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any updates?
Thanks.
Best regards,
KhaiY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can the proposed solution be offered to the community? I run into similar issues when compiling from the command line.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page