Forum Discussion
Could Intel fix this crash with Docker?
Quartus in docker will crash without the following workaround in the Dockerfile:
RUN apt-get -y --no-install-recommends install libtcmalloc-minimal4
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
This is with Quartus 19.3.
This is the last crash-workaround in Dockerfiles for Quartus.
When Googling, I've found that this crash appears to have been around from at least 2011. Although the workaround seems to be quite robust, it would be great to have it cleaned up!
Googling, we find that this workaround is widely deployed in the wild:
http://fabionotes.blogspot.com/2019/02/quartus-181-on-ubuntu-1810.html
https://forums.intel.com/s/question/0D50P00003yyTbKSAU/quartus-prime-lite-edition-171-not-running-in-docker-linux?language=en_US
https://github.com/OPAE/opae-sdk/issues/1095
https://github.com/kazimuth/r-fpga-challenge/blob/master/docker/quartus-lite.rocker
https://www.scribd.com/presentation/235343425/OpenFlow-Controllers-Comparison
8 Replies
- MEIYAN_L_Intel
Frequent Contributor
Hi,
Based on my understanding, Quartus is not officially support Docker. May I know the OS version you are using?
Also, could you provide error message when the Quartus crash?
Thanks
- OHarb1
Occasional Contributor
To say that Quartus does not support Docker is to say that the latest Quartus doesn't support running in the cloud. We happen to use Google Cloud Build, but the same things goes for Azure and AWS.
Here's an article where I wrote instructions on how to reproduce the problem:
https://forums.intel.com/s/question/0D50P00004WepV3/how-can-i-run-quartussh-1930-or-better-in-docker
Cheers,
- MEIYAN_L_Intel
Frequent Contributor
Hi,
May I know the OS version you are using?
Thanks
- OHarb1
Occasional Contributor
Of course: Ubuntu 18.04
That information is encoded into the Dockerfile.
With Docker, one can specify pertty much any operating system(CentOS in lieu of RedHat).
Before you say RedHat/CentOS: RedHat is impractical for licensing resasons in the cloud. CentOS *could* work, but I'm not familiar with CentOS and I don't use it for anything else in my job. At that point I prefer the stopgap that I already have.
Cheers,
- MEIYAN_L_Intel
Frequent Contributor
Hi,
I am checking the information internally about "Docker is to say that the latest Quartus doesn't support running in the cloud. We happen to use Google Cloud Build, but the same things goes for Azure and AWS".
Once the developer had reply, I will reply here.
Thanks
- MEIYAN_L_Intel
Frequent Contributor
Hi,
I had received replied from developer.
Please check the email.
Thanks
- OHarb1
Occasional Contributor
Where might I find this email?
- MEIYAN_L_Intel
Frequent Contributor
Hi,
The email has sent. Please recheck the email.
Thanks