Closed Baungarten-CINVESTAV closed 2 months ago
@Baungarten-CINVESTAV can you try the following https://github.com/The-OpenROAD-Project/OpenLane/issues/1772#issuecomment-1523113799?
I have tried, nevertheless, after reading carefully the make file, in the previous version I can add the command DOCKER_OPTIONS += --privileged
at the beginning or at the end of the file.
I don't know in which version the following command DOCKER_OPTIONS = $(shell $(PYTHON_BIN) ./env.py docker-config)
does not have the +=
so adding the DOCKER_OPTIONS += --privileged after it the GUI works.
For future interested parties, the make file looks as follows:
PYTHON_BIN ?= python3
OPENLANE_DIR ?= $(shell pwd)
DOCKER_OPTIONS = $(shell $(PYTHON_BIN) ./env.py docker-config)
DOCKER_OPTIONS += --privileged
DOCKER_ARCH ?= $(shell $(PYTHON_BIN) ./docker/current_platform.py)
# Allow Configuring Memory Limits
ifneq (,$(DOCKER_SWAP)) # Set to -1 for unlimited
DOCKER_OPTIONS += --memory-swap=$(DOCKER_SWAP)
endif
ifneq (,$(DOCKER_MEMORY))
DOCKER_OPTIONS += --memory=$(DOCKER_MEMORY)
# To verify: cat /sys/fs/cgroup/memory/memory.limit_in_bytes inside the container
endif
.
.
.
Pinning this as a workaround for others.
Description
When I use the command
python3 gui.py --viewer openroad ./designs/spm/runs/openlane_test
, the openROAD gui does not open and gives an error, this happens even with the openLANE exampleExpected Behavior
I would expect the openROAD GUI to be executed.
Environment report
Reproduction material
Relevant log output