Hi, how does the INPUT_DIRECTORY work when specifi...
# shuttle
c
Hi, how does the INPUT_DIRECTORY work when specified through the export command? I specify it as "home/connie/caravel_user_project_analog/gds" but it creates a folder called "INPUT_DIRECTORY" in my mpw_precheck folder for my output directory instead of using what I have specified? when I use the "cd" command in the docker i also cannot see my local directories I am following this resource https://github.com/efabless/mpw_precheck
p
You want to install mpw_precheck right? Have you installed openlane, pdk etc?
m
yes, tell us all the commands you ran and the env vars you exported
c
It's been a while, so I can't find the tutorial where it helps install mpw_precheck, but I have the mpw_precheck folder. I installed the pdk with openpdks and again using
Copy code
export PDK_ROOT
make pdk
I also ran
Copy code
I have run "docker pull efabless/mpw_precheck:latest"
in the home directory and accidentally again in the 'caravel_user_project_analog' folder, and it seems to have installed it twice? Is there a way i can find where it has installed (is this the command to install the mpw_precheck?)
Sorry if it's very confusing or a simple question. I think I am confusing the full chip simulation vs the precheck. I was under the impression i didn't need openlane for the analog wrapper, so I have not installed that
Any help would be greatly appreciated! Thanks in advance @User @User
p
You can delete the mpw_precheck folder and you can install mpw_precheck by running make precheck
c
Do I need to be in the caravel_user_project folder? Sometimes when I run the make commands like make precheck or make simenv, it says "no target for make" or something similar
p
Yes you should be in caravel_user_project. Whenever you run make command make sure you have make file in the given folder. If the make file is absent it throws an as no target for make
c
ohhh. that makes sense; i thought it was something like apt-get lol. After running make mpw_precheck, should I still run the docker pull efabless command?
p
I guess there is no need to again run docker pull it will install the updated version by default
c
oh okay, that makes sense. I will give it a try. thanks!
πŸ‘ 1
@User after some issues, I was able to do what you suggested and re-install mpw_precheck while in the caravel project. It installed the mpw_precheck folder in the home directory again? Also, should I then run sh docker-mount.sh and python mpw_precheck.py?
When I run sh docker-mount.sh it pulls the efabless docker image again. Is that normal?
p
Yes the mpw_precheck will install in home directory. There is no issue in that. Why do want to run python mpw_precheck.py
If your flow is complete and if you want to check your design through mpw_precheck you can just run make run-precheck
c
I thought python mpw_precheck.py was the way to run the precheck? According to the bottom of the page of this link: https://github.com/efabless/mpw_precheck
If I run make run-precheck, do i need to have docker installed? I get the following error:
Copy code
Cannot update snap namespace: cannot create symlink in "/etc/docker": existing file in the way
even though I uninstalled docker to try and get rid of the file
I am trying to run it on the analog example_por project, so in theory there should be no problems?
p
c
Thanks! I will give it a try.
@User Sorry for all the questions, but is the RTL and GL full chip simulation something to be run before the precheck?
p
Not necessary. You can run precheck without it..
πŸ‘ 1
c
@User sorry to bother you with all of these questions, but now when I am running "make precheck" in the caravel user project folder, I get the following error:
Copy code
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "<http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=efabless%2Fmpw_precheck&tag=latest>": dial unix /var/run/docker.sock: connect: permission denied
make: *** [Makefile:136: precheck] Error 1
even after re-installing docker. I tried using "sudo make precheck" but that installs the folder in the root directory instead of the home. Do you have any advice on what is wrong?
p
@User No Problem!!☺️ Follow the commands given in below image
IMG_20220125_115408.jpg
πŸ‘ 1
🌍 1
This will resolve the docker issue then you can run make precheck
c
Thanks! I was able to run "make precheck" completely, but now it is saying that there is no more memory in my root. Is it possible to pull the docker image and save it in the home directory instead of root?