The-OpenROAD-Project / OpenLane

OpenLane is an automated RTL to GDSII flow based on several components including OpenROAD, Yosys, Magic, Netgen and custom methodology scripts for design exploration and optimization.
https://openlane.readthedocs.io/
Apache License 2.0
1.36k stars 376 forks source link

zsh: permission denied: ./flow.tcl #2155

Closed vijayank88 closed 2 months ago

vijayank88 commented 2 months ago

Description

I have mounted additional HDD mounted with /vlsiDatas and cloned OpenLane and caravel_user_project. If I use make mount and followed by ./flow.tcl -design spm fails with permission denied. Help me to fix the issue and resolve permission issue.

Expected Behavior

flow.tcl should run and complete spm design

Environment report

Kernel: Linux v6.8.0-45-generic
Distribution: ubuntu 22.04
Python: v3.10.12 (OK)
Container Engine: docker v27.3.1 (OK)
OpenLane Git Version: 70581ea9d301db157c40c7476f6c50b255cec56f
python-venv: INSTALLED
---
PDK Version Verification Status: MISMATCH
The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: 78b7bc32ddb4b6f14f76883c2e2dc5b5de9d1cbc, tested: bdc9412b3e468c102d01b7cf6337be06ec6e9c9a)
This may introduce some issues. You may want to re-install the PDK by invoking `make pdk`.
---
Git Log (Last 3 Commits)

70581ea 2024-09-22T13:27:10+03:00 Change Versioning Strategy (master) (#2154) - Mohamed Gaber -  (grafted, HEAD -> master, tag: 1.1.0, origin/master, origin/HEAD)
---
Git Remotes

origin  https://github.com/The-OpenROAD-Project/OpenLane.git (fetch)
origin  https://github.com/The-OpenROAD-Project/OpenLane.git (push)

Reproduction material

NIL

Relevant log output

make mount
cd /vlsiDatas/OSTools/OpenLane && \
    docker run --rm -v /home/vlsiadmin:/home/vlsiadmin -v /vlsiDatas/OSTools/OpenLane:/openlane -v /vlsiDatas/OSTools/OpenLane/empty:/openlane/install -v /home/vlsiadmin/.volare:/home/vlsiadmin/.volare -e PDK_ROOT=/home/vlsiadmin/.volare -e PDK=sky130A  --user 1000:1000 -e DISPLAY=:1 -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/vlsiadmin/.Xauthority:/.Xauthority --network host --security-opt seccomp=unconfined -ti efabless/openlane:70581ea9d301db157c40c7476f6c50b255cec56f-amd64
OpenLane Container:/openlane% ./flow.tcl -design spm
zsh: permission denied: ./flow.tcl
vijayank88 commented 2 months ago

Sorry its my mistake by following instruction added during mount defaults, users not allowing to execute. In /etc/mtab shown noexec,nouid added, it causes permission denied. After removing users in for HDD mount point /etc/fstab able to run the flow and completes successfully.