Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16939 Discussions

Could Intel fix this crash with Docker?

OHarb1
Novice
1,239 Views

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

 

 

0 Kudos
8 Replies
MEIYAN_L_Intel
Employee
1,067 Views

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

0 Kudos
OHarb1
Novice
1,067 Views

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,

 

0 Kudos
MEIYAN_L_Intel
Employee
1,067 Views

Hi,

May I know the OS version you are using?

Thanks

0 Kudos
OHarb1
Novice
1,067 Views

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,

0 Kudos
MEIYAN_L_Intel
Employee
1,067 Views

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

0 Kudos
MEIYAN_L_Intel
Employee
1,067 Views

Hi,

 

I had received replied from developer.

Please check the email.

 

Thanks

0 Kudos
OHarb1
Novice
1,067 Views
0 Kudos
MEIYAN_L_Intel
Employee
1,067 Views

Hi,

The email has sent. Please recheck the email.

Thanks

0 Kudos
Reply